UseEditorMaskSettings Property

Specifies whether to use the editor's mask related settings rather than the column's mask settings. Default value of this property is false.
Public Property UseEditorMaskSettings As Boolean
public bool UseEditorMaskSettings {get; set;}

By default the UltraGrid maskes use of MaskDataMode, MaskDisplayMode and MaskClipMode settings of the column ignoring any settings off the editor's default owner. This is due to the fact that the associated MaskMode enum doesn't have Default as its member. You can override this default behavior by setting this property to true. When this property is set to true, UltraGrid will always use the settings off the editor's owner. This fascilitates different mask data/display/clip modes on different cells of the same column by using the cell's Editor property and specifying the mask settings on the editors assigned to cells of the column. This property will also change the resolution order for MaskInput property. It will use the editor's MaskInput settings if they are non-nulls or else use the column's MaskInput settings.


Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also