Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thumb height of slider control #2348

Closed
KKauK opened this issue Feb 11, 2016 · 1 comment
Closed

Thumb height of slider control #2348

KKauK opened this issue Feb 11, 2016 · 1 comment
Assignees
Milestone

Comments

@KKauK
Copy link

KKauK commented Feb 11, 2016

Hello,

is there a way of changing the height of the slider thumb (Controls.Slider.xaml). This seems to be bound to the Track Height set to 18.
My current solution is to change this value to "Auto". Then I can change the height by setting HorizontalThumbHeight etc. in my code

<Track x:Name="PART_Track" Grid.Row="1" Height="Auto">

I would prefer to change this setting by templating not by changing your source code.

Thanks in advance.

@punker76 punker76 added this to the 1.3.0 milestone Feb 11, 2016
@punker76 punker76 self-assigned this Feb 11, 2016
@RejectKid
Copy link

@punker76 i see you assigned this to yourself, tho i was looking into this a bit. Figured it could be an easier one for me to get started with.

I've started stubbing out a thumb height depProp in the SliderHelper class. Having trouble getting access to the thumb though as my typical

var track = slider.Template.FindName("PART_Track", slider) as Track;

isn't finding it?

tho if youve already started with this i can move onto something else

punker76 added a commit that referenced this issue Mar 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants