Welcome to MSDN Blogs
Sign in
|
Join
|
Help
Windows Presentation Foundation SDK
This Blog
About
Email
Syndication
RSS 2.0
Atom 1.0
Search
Go
Tags
3.5
3D
Accessibility
add-ins
Animation
animation sample
Annotations
bitmap effects
Controls
Data Binding
Data Visualization
Design
Dispatcher
documentation filter
Documents
drop shadow
FAQ
Features
General
News
Performance
Sample
Styles and Templates
Tips & Tricks
WebBrowser
Windows Presentation Foundation
Wizard
WPF
XAML
XAML Clip Art
News
Download
VS 2008
Download
.NET Framework 3.5
View
WPF SDK docs
Archives
August 2008 (3)
May 2008 (2)
April 2008 (2)
January 2008 (1)
December 2007 (2)
November 2007 (4)
October 2007 (3)
September 2007 (2)
August 2007 (4)
July 2007 (4)
June 2007 (4)
May 2007 (3)
April 2007 (5)
March 2007 (6)
February 2007 (4)
January 2007 (11)
December 2006 (6)
November 2006 (4)
October 2006 (5)
September 2006 (2)
July 2006 (3)
June 2006 (13)
May 2006 (10)
Related Blogs
Microsoft Windows SDK Blog
Karin Meier (Windows SDK Samples PM)
Jim Galasyn's Learning Curve
WPF Blogs
WPF Bloggers
mikeDub @ Microsoft
Silverlight SDK
Browse by Tags
All Tags
»
Styles and Temp...
»
WPF
(RSS)
Controls
Data Binding
Windows Presentation Foundation
Monday, April 16, 2007 6:10 PM
How do I programmatically interact with template-generated elements? Part II
This post shows you how to find a named element within a DataTemplate. In Part I , we discussed how to find a named element within a ControlTemplate. That was fairly simple; you’d call Template.FindName on the control that the ControlTemplate has been
Posted by
wcsdkteam
|
22 Comments
Filed under:
Data Binding
,
Styles and Templates
,
WPF
,
Windows Presentation Foundation
Attachment(s):
FindElementinDataTemplate_C#_VB.zip
Friday, March 16, 2007 4:18 PM
How do I programmatically interact with template-generated elements? Part I
You may have a scenario that requires you to find an element within a ControlTemplate. To do that, you use Template.FindName. Say you have a simple ControlTemplate for a Button, like the following: < Style TargetType = " {x:Type Button} " > <
Posted by
wcsdkteam
|
12 Comments
Filed under:
Styles and Templates
,
Controls
,
WPF