Peter
Peter

Reputation: 38555

WPF Generate Xaml template

How do i get the default xaml template for a control? In expression blend you can right click a control and press style then i generates the current template as xaml.. how do i do this if i don't have expression blend?

Upvotes: 1

Views: 1811

Answers (4)

Sarfaraz Nawaz
Sarfaraz Nawaz

Reputation: 361732

.

For WPF,

Control Styles and Templates

For Silverlight,

Control Styles and Templates

.

Upvotes: 1

Kishore Kumar
Kishore Kumar

Reputation: 21873

just verify this link

Control template for existing controls in WPF

You can use Reflector tool to get resource like xaml of existing controls

Upvotes: 1

decyclone
decyclone

Reputation: 30840

You can use XAMLPad or StyleSnooper or Reflector.

Upvotes: 2

Rev
Rev

Reputation: 2275

HI
No way just Use Microsoft expression blend. use trial-ver :)

Upvotes: -1

Related Questions