with the code below:
internal XamlTextValue(XamlDocument document, string textValue)
{
this.document = document;
if (textValue.StartsWith("{"))
textValue = "{}" + textValue;
this.textValue = textValue;
}
if user set {Binding xxx} to Text/Content in the properGrid,it will change to {}{Binding xxx}
my question is:how can user set property Text="{Binding xxx}" ?
with the code below: internal XamlTextValue(XamlDocument document, string textValue) { this.document = document; if (textValue.StartsWith("{")) textValue = "{}" + textValue; this.textValue = textValue; }
if user set {Binding xxx} to Text/Content in the properGrid,it will change to {}{Binding xxx} my question is:how can user set property Text="{Binding xxx}" ?