Automate your world
Computers, SW crafting and automation.
Friday, December 9, 2011
WPF XAML example: Binding FontSize to a Slider
Code snippet
Code Snippet
<
TextBlock
Text
="Hi there."
FontSize
="{
Binding
ElementName
=mySlider,
Path
=Value}
" />
<
Slider
Minimum
="8"
Maximum
="32"
x
:
Name
="
mySlider
"
Value
="12" />
Result
1 comment:
Anonymous
April 16, 2015 at 6:41:00 PM GMT+3
Perfect ... thanks!
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Perfect ... thanks!
ReplyDelete