Skip to main content
A newer version of this page is available. .

TcxDefaultEditStyleController Class

A default style controller for editors.

Declaration

TcxDefaultEditStyleController = class(
    TcxScalableComponent
)

Remarks

A default style controller allows you to customize appearance options for all editors that have default style settings (that is, the Style, StyleDisabled, StyleFocused, and StyleHot properties are unspecified).

Use the controller’s Style, StyleDisabled, StyleFocused, and StyleHot properties to specify default style settings for editors in normal, disabled, focused, and hot-tracked states. To define individual style attributes for an editor, use its Style, StyleDisabled, StyleFocused, and StyleHot properties.

Note

A default style controller defines style settings for an unscaled UI that corresponds to 96 DPI.

Style properties of editors, style controllers, and default style controllers have the AssignedValues property that specifies the source of current style settings. This property contains flags that define if the current source determines corresponding style settings. Editor style properties have a higher priority than the style controller that overrides default style controller options. For example, if the same style property is set in the editor and the default style controller, the editor uses its style setting.

The TcxDefaultEditStyleController class members allow you to do the following:

Note

You cannot connect a default style controller to another default style controller.

See Also