need to set tooltip for radgauge in radrange

3 posts, 0 answers
  1. Kapil
    Kapil avatar
    15 posts
    Member since:
    Jul 2010

    Posted 07 Sep 2010 Link to this post

    i need to set tooltip for radialrange in radialscale ...right now i am doing it by setting property like

     rs.Ranges.Add(New RadialRange With {.Background = Brushes.Blue, .Min = 0, .Max = 200, 
    .StartWidth = 0.1, .EndWidth = 0.1, .TooltipFormat = "critical {0:F0}", .Tooltip = "critical"}})
    
    but couldnt get to show tooltip with this..please help me out

    Thanks,

    Kapil Garg
  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 09 Sep 2010 Link to this post

    Hello Kapil,

    Currently the TooltipFormat property is not supported for the ranges.
    We have created the PITS issue. You can check when this feature will be available using the following link:
    http://www.telerik.com/support/pits.aspx#/public/wpf/3377

    As workaround you can use standard Tooltip property. But you should place the scale over the RadialGauge element, because the foreground of the RadialGauge overlaps the range and the tooltip cannot be displayed.
    Please look at the following sample XAML code that shows tooltip on the range:

    <Window x:Class="MainWindow"
        Title="MainWindow" Height="350" Width="525">
        <Grid Width="300" Height="300">
            <telerik:RadGauge>
                <telerik:RadialGauge Name="radialGauge">
                </telerik:RadialGauge>
            </telerik:RadGauge>
            <telerik:RadialScale Name="rs">
                <telerik:RangeList>
                    <telerik:RadialRange
                        Min="0" Max="200"
                        Background="Blue"
                        ToolTip="critical"
                        StartWidth="0.1" EndWidth="0.1" />
                </telerik:RangeList>
            </telerik:RadialScale>
        </Grid>
    </Window>

    Kind regards,
    Andrey Murzov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Kapil
    Kapil avatar
    15 posts
    Member since:
    Jul 2010

    Posted 09 Sep 2010 Link to this post

    Thanks alot for your answere..
Back to Top