This question is locked. New answers and comments are not allowed.
Not sure if I'm doing this the wrong way, or if there is a bug in the control, but I can't seem to set the enabled or readonly property to disable text entry for a time. Is there something I'm doing wrong or a workaround?
I tried
Element.Enabled = false;
Element.TextBoxItem.Enabled = false;
Element.TextBoxItem.ReadOnly = true;
Element.TextBoxItem.HostedControl.Enabled = false;
None seemed to work.
I tried
Element.Enabled = false;
Element.TextBoxItem.Enabled = false;
Element.TextBoxItem.ReadOnly = true;
Element.TextBoxItem.HostedControl.Enabled = false;
None seemed to work.