Disabling LinearScale tick labels

3 posts, 1 answers
  1. Sean
    Sean avatar
    13 posts
    Member since:
    Feb 2009

    Posted 15 Jan 2010 Link to this post

    Is there a way to disable the numerical tick label on the LinearScale control?
  2. Answer
    Ves
    Admin
    Ves avatar
    2879 posts

    Posted 19 Jan 2010 Link to this post

    Hi Sean,

    You can check the approach in this example -- define an empty template and use it for the labels:

    <Grid.Resources>
        <DataTemplate x:Key="TickLabelEmpty">
            <Canvas />
        </DataTemplate>
    </Grid.Resources>
    <telerik:RadGauge x:Name="radGauge">
        <telerik:LinearGauge>
            <telerik:LinearScale Min="0" Max="100" >
                <telerik:LinearScale.Label>
                    <telerik:LabelProperties ItemTemplate="{StaticResource TickLabelEmpty}" />
                </telerik:LinearScale.Label>
    ...................


    Best regards,
    Ves
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Sean
    Sean avatar
    13 posts
    Member since:
    Feb 2009

    Posted 19 Jan 2010 Link to this post

    That worked, thanks Ves.
Back to Top