On my XAML
i have defined a special style. Here i can access these with my defined resource like:
<TextBox Style="{StaticResource TransparentInput}" Text="Hello World!" [...] />
But how i can set the Style
of an component programatically?
I wan't to add components programatically like
TextBox test = new TextBox();
test.Text = "Hello World!";
test.Style = [???] //<--- How i set here the static resource "TransparentInput"?