How to get XAML to use for Binding a static variable?

XAML
<textbox text="{Binding ClassG.TText ></TextBox></code><br> C#<br><pre><code class=" cs">public static class ClassG { public static string TText = "Tex";</textbox>
June 10th 19 at 16:11
1 answer
June 10th 19 at 16:13
The error Name "ClassG" does not exist in the namespace "clr-namespace:GLibrary". - Rolando_Beah commented on June 10th 19 at 16:16
You have the same namespace, class and form?
The program compiles, runs? Probably a local glitch on the stage display in visual designer. - halle commented on June 10th 19 at 16:19

Find more questions by tags XAMLWPFC#