Showing results 1 to 6 of 6

Thread: WPF element properties about showing decimal size

  1. #1
    Join Date
    07.05.2018
    Posts
    6

    Default WPF element properties about showing decimal size

    Hi there, I want to use a wpf element on my SCADA but I have some problems for configuring wpf element. After .(dot) I want to show just 2 decimal points but I can't find where I will configure.




    Many thanks.
    Attached Thumbnails Attached Thumbnails wpf_problem.png  

  2. #2
    Join Date
    28.02.2013
    Posts
    193

    Default Re: WPF element properties about showing decimal size

    Dear Konsistek,

    do you have the sources of that WPF-Control? I think you should be able to format the number representation either in the WPF-properties or in the sources directly.

    You could also create a similar graphic using our pointer instrument.

    Regards,
    Felix

  3. #3
    Join Date
    07.05.2018
    Posts
    6

    Default Re: WPF element properties about showing decimal size

    Dear Felixst thanks for your reply, I tried pointer instrument but I could'nt do it them same. At wpf links there are too much parameters, but I could'nt find the solution. I am sharing xaml file to here.

  4. #4
    Join Date
    28.02.2013
    Posts
    193

    Default Re: WPF element properties about showing decimal size

    Dear Konsistek,

    no file attached. Please check!

    Regards,
    Felix

  5. #5
    Join Date
    07.05.2018
    Posts
    6

    Default Re: WPF element properties about showing decimal size

    Dear Felixst, sorry for attachment. It doesn't support xaml, I put it in archive.
    Attached Files Attached Files

  6. #6
    Join Date
    28.02.2013
    Posts
    193

    Default Re: WPF element properties about showing decimal size

    Dear konsistek.

    the .xaml file you sent refers to ABB.Controls:

    <UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                 xmlns:abbControls="clr-namespace:ABBControls;assembly=ABB_UI_Controls"
                 xmlns:views="clr-namespace:ABBControls.Views;assembly=ABB_UI_Contro ls">
        <views:Gauge x:Name="Gauge" />
    </UserControl>

    Can you please also include those assemblies?

    Regards,
    Felix

Similar Threads

  1. Replies: 7
    Last Post: 30th May 2018, 09:36
  2. Variables not showing in runtime
    By AJAY KUMAR CHEKKA in forum zenon Supervisor
    Replies: 6
    Last Post: 9th January 2018, 06:37
  3. Comma as separator for decimal value
    By altera in forum zenon Supervisor
    Replies: 4
    Last Post: 23rd August 2016, 10:17
  4. Replies: 8
    Last Post: 18th March 2015, 11:30
  5. Showing BMP file
    By dhiraj in forum zenon Supervisor
    Replies: 1
    Last Post: 18th July 2011, 12:50

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •