#1,022 – Render Tick Marks in a Different Color

By default, tick marks on a Slider are rendered in a light grey color that is a bit tough to see.

1022-001

You can change the color used to display the tick marks by setting the Foreground property of the Slider.

        <Slider Name="mySlider" Margin="10"
                Minimum="1" Maximum="10"
                IsSnapToTickEnabled="True"
                TickPlacement="BottomRight"
                TickFrequency="2"
                Foreground="Blue"/>

1022-002

Advertisement

About Sean
Software developer in the Twin Cities area, passionate about software development and sailing.

One Response to #1,022 – Render Tick Marks in a Different Color

  1. Pingback: Dew Drop – March 5, 2014 (#1736) | Morning Dew

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: