'Declaration Public Event ValidateCheckState As ToggleEditorBase.ValidateCheckStateHandler
public event ToggleEditorBase.ValidateCheckStateHandler ValidateCheckState
The event handler receives an argument of type ValidateCheckStateEventArgs containing data related to this event. The following ValidateCheckStateEventArgs properties provide information specific to this event.
Property | Description |
---|---|
NewCheckState | Gets/sets the new value for the editor's ToggleEditorBase.CheckState property. |
The ValidateCheckState event can be used to force the cell's CheckState property to a certain value when the control is clicked, overriding the next value in the cycle.
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