BaseControl Class
Implements the functionality common for all controls in the library.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v18.1.dll
Declaration
[SmartTagAction(typeof(ControlActions), "DockInParentContainer", "Dock in parent container", SmartTagActionType.CloseAfterExecute)]
[SmartTagAction(typeof(ControlActions), "UndockFromParentContainer", "Undock from parent container", SmartTagActionType.CloseAfterExecute)]
[SmartTagSupport(typeof(BaseControlBoundsProvider), SmartTagSupportAttribute.SmartTagCreationMode.Auto)]
[SmartTagFilter(typeof(ControlFilter))]
public abstract class BaseControl :
ControlBase,
IDXFocusController,
IToolTipControlClient,
ISupportLookAndFeel,
ISupportStyleController,
IXtraResizableControl,
ISupportXtraAnimation,
ISupportToolTipsForm
Remarks
When developing applications using DevExpress controls, you can customize the appearance and hint options for controls using a common mechanism. A more important thing is that you can provide centralized control over these settings. You change a single property to affect the appearance or hint settings of all controls at once. The DefaultLookAndFeel, ToolTipController and StyleController components are provided for this purpose. These components allow you to specify paint style settings, hint settings and appearance settings of controls respectively. The BaseControl class implements functionality allowing you to specify such settings for individual controls and to bind controls to components so they are centrally controlled. Refer to the BaseControl.LookAndFeel, BaseControl.ToolTipController and BaseControl.StyleController properties description for details.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BaseControl class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.