Finding the default style for a type in code behind

前端 未结 2 1874
花落未央
花落未央 2021-01-04 08:08

In WPF, you can create a Style that acts as the default for a control type in XAML: