In WPF, you can create a Style that acts as the default for a control type in XAML:
Style
验证码 看不清? 提交回复