Hello,
I'm having a problem while trying to set another text for NullText
for example in constructor:
this.XamDateTimeInputFrom.NullText = "ss";
and then again while click event from another control
this.XamDateTimeInputFrom.NullText = "ss2";
does't work.
I've tried many ways (Binging, SetValue, UpdateLayout etc.)
Maybe there is some solution for resetting text via Infragistics.Windows.Utilities.GetDescendantFromType() ???
Help me :)
Thanks in advance
You are welcome. I am glad that this approach helped you.
Thanks ! :)
Hello Nikolay,
The NullText value is updated when the control is loaded or when it loses focus since it is expected that the user might have change the content of the input. You may try to set the focus to XamDateTimeInput (this.XamDateTimeInputFrom.Focus) when the text is changed and move it back to another control just after that. This will trigger the update of the NullText property and the “ss2” value will be displayed.