Posted 11 years ago by A A
Version: 13.1.0580
Avatar

I have this problem :

.XAML file

<syntaxeditor:SyntaxEditor 

Text="{Binding Text, UpdateSourceTrigger=PropertyChanged}"

...>

______________________________

ViewModel file

public string Text
{
get
{
return _text;
}
set
{
_text = value;
RaisePropertyChanged("Text");
}
}

protected override void RaisePropertyChanged(string propertyName)
{
if (propertyName == "Text")
MessageBox.Show(_text);
base.RaisePropertyChanged(propertyName);
}

__________________________________

If i use this Property ("Text") on a TEXBOX, it's work correctly.

If i use this on SyntaxEditor don't work, why ??? What did i miss ???

Thanks.

I solve this to activate :IsTextDataBindingEnabled="True";

You can cancel this post.

[Modified 11 years ago]

The latest build of this product (v24.1.1) was released 1 month ago, which was after this thread was created.

Add Comment

Please log in to a validated account to post comments.