'Declaration Public Class StateEditorButton Inherits EditorButton Implements Infragistics.Shared.IKeyedSubObject, Infragistics.Shared.IKeyedSubObjectEx
public class StateEditorButton : EditorButton, Infragistics.Shared.IKeyedSubObject, Infragistics.Shared.IKeyedSubObjectEx
The StateEditorButton is used to display a checkbox, state button or option set within a text or mask editor. The type of display used is based on the DisplayStyle property.
The class provides 4 events. The BeforeCheckStateChanged event is invoked before the CheckState property is changed. The event may be cancelled or the CheckState may be modified. If the event is not cancelled, the AfterCheckStateChanged event is invoked. When the button is clicked via the ui, the Click event will also be invoked. The other event is the InitializeCheckState event. This event is primarily available for when the editor is used by a control that will display multiple instances of the element - e.g. UltraGrid. The event is invoked when the CheckState of the button is required by the element to initialize the value it will display. The EditorButtonEventArgs.Context property of the InitializeCheckStateEventArgs passed to that event should be used to determine for which object the check state is being initialized.
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