Hi there
I have a style that changes the Foreground property of my editor in case a NullText is being displayed:
<Style.Triggers> <!-- change foreground when displaying null texts --> <Trigger Property="igEditors:XamTextEditor.Text" Value=""> <Setter Property="Foreground" Value="#FFABABAB" /> </Trigger> </Style.Triggers>
Now strange enough, if the text of the editor is being set programmatically during initialization, the trigger kicks in, and the real text is displayed in grey as well. However, as soon as I select the editor, the Foreground is being adjusted to the correct value and also stays that way if the editor loses focus - looks like a bug to me.
...and as a sidenote: Use NullTexts is somewhat of a pain and pretty inconsistent:
Cheers,
Philipp
Hello Philipp,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
If the above suggestion helped you solve your issue please verify the thread as answered so other users may take better advantage of it.