This project is read-only.

way to check if textbox is readOnly

Apr 21, 2009 at 12:11 PM
It could be me being a retard here, but there seems to be no way to check wether a textbox is in readOnly mode or not. Any way to check this?
Apr 23, 2009 at 7:48 AM
Noticed it's for release 0.18, sorry for redundant post
May 12, 2009 at 2:31 PM



You can add the following code in TextBox class and use that,


public virtual bool ReadOnly




                return ((ValuePattern)Pattern(ValuePattern.Pattern)).Current.IsReadOnly;





Thanks & Regards,