Categories
How to force XAML to use a static variable for Binding?
XAML C#<TextBox Text="{Binding ClassG.TText ></TextBox>
<TextBox Text="{Binding ClassG.TText ></TextBox>
public static class ClassG { public static string TText = "Tex";
Answer the question
In order to leave comments, you need to log in
<TextBox Text="{x:Static local:ClassG.TText ></TextBox>
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question