Method SetPropertyMaxLength
SetPropertyMaxLength(IPropertyGridItem, int)
Sets maximum length of text in property text editor.
bool SetPropertyMaxLength(IPropertyGridItem prop, int maxLen)
Parameters
propIPropertyGridItemProperty item.
maxLenintMaximum 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.