Version

EditorButtonControlBase Class

Abstract base control class for a control that utilizes an EmbeddableEditorButtonBase type editor
Syntax
Remarks

The EditorButtonControlBase is the base control class for editor controls that provide editor button functionality. The editor buttons are accessible via the ButtonsLeft and ButtonsRight properties and are displayed to the left and right of the edit area respectively.

The control exposes events corresponding to the current events exposed from the various EditorButtonBase derived classes.

Note The events exposed by this control (EditorButtonClick, BeforeEditorButtonDropDown, etc.) differ from those normally exposed from an editor control in that they will also be fired when the buttons of an externally provided editor instance (e.g. when the editor control is set as the EditorControl of an UltraGrid Column object) are affected. While this deviates from the previous behavior that only the events for the editors displayed by the standalone editor control, it does allow for the events of the externally provided editor to be hooked at design time. The EditorButtonEventArgs.Context property may be used to determine the source of the event.

Requirements

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