DotNetShoutout - Stories tagged with UserControls
5
Shouts

Create an animated expander

published 970 days, 1 hour, 47 minutes ago posted by jmix90jmix90 972 days, 7 hours, 41 minutes ago
Thursday, September 23, 2010 6:48:59 PM GMT Tuesday, September 21, 2010 12:54:57 PM GMT
The expander control can be used in a lot of situations but the one proposed by default is quite "rigid". In this post we will discover how to animate it quite simply just via XAML ! The WPF engine lets us redefine the template of the controls and we'll just do that. (more)
category: How To | clicked: 7 | comment | | source: blog.lexique-du-net.com
tags: UserControl, UserControls, Control, How-To, WPF, findName, windows presentation foundation, Template, Expander, How, Tips, controls
3
Shouts

UserControl/Control : how to get a reference to an element of the template

posted by jmix90jmix90 978 days, 11 hours, 50 minutes ago
Wednesday, September 15, 2010 8:46:24 AM GMT
When you want to create your own custom control you have two choices : creates an UserControl or inherits from one of the "Control's classes" (ContentControl, ItemsControls or Control itself). When doing so you'll surely need to access to the visual parts of your template from the code to add it a nice behavior. *In this post we'll discover how to access the template children by using the FindName method even on UserControl. * (more)
category: How To | clicked: 2 | comment | | source: blog.lexique-du-net.com
tags: UserControl, UserControls, Control, How-To, WPF, findName, windows presentation foundation, Template, How, Tips, controls