Home
VB.Net
2D
Application
Class
Data Structure
Data Types
Database ADO.net
Date Time
Development
Event
File Directory
Generics
GUI
Internationalization I18N
Language Basics
LINQ
Network Remote
Reflection
Security
Thread
Windows Presentation Foundation
Windows System
XML
XML LINQ
ControlTemplate « Windows Presentation Foundation « VB.Net
VB.Net
Windows Presentation Foundation
ControlTemplate
1.
Button With Template: change border
2.
Create a Control Template
3.
Create a Control Template That Can Be Customized by Properties
4.
Use ControlTemplate and event handler
5.
Finding the border that is generated by the ControlTemplate of the Button
6.
Get The actual width of the border in the ControlTemplate
7.
ControlTemplates and style xaml file
8.
Use a ContentTemplate and determine whether the control contains content.
9.
Enhance the visual appearance of a ContentControl by applying a style.