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
CAG
Chrome
Composite Application Guidance
Controls
Data Binding
Data Visualization
DataGrid
Design
Dispatcher
documentation filter
Documents
drop shadow
DWM
FAQ
Features
General
Glass
News
Performance
Ribbon
Sample
Silverlight
Styles and Templates
Tips & Tricks
WebBrowser
Windows Presentation Foundation
Wizard
WPF
WPF Designer
XAML
XAML Clip Art
News
Download
VS 2008
Download
.NET Framework 3.5
View
WPF SDK docs
Archives
November 2008 (1)
October 2008 (5)
September 2008 (2)
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
Silverlight SDK
Browse by Tags
All Tags
»
Styles and Temp...
»
Controls
»
WPF
(RSS)
Sorry, but there are no more tags available to filter with.
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