Method SetPropertyMaxLength
SetPropertyMaxLength(IPropertyGridItem, int)
Sets maximum length of text in property text editor.
public virtual bool SetPropertyMaxLength(IPropertyGridItem prop, int maxLen)Parameters
- propIPropertyGridItem
- Property item. 
- maxLenint
- Maximum number of characters of the text the user can enter in the text editor. If it is 0, the length is not limited and the text can be as long as it is supported by the underlying native text control widget. 
Returns
- bool
- trueif maximum length was set,- falseotherwise.