Skip to main content

TcxLookAndFeel.NativeStyle Property

Specifies if the affected control uses operating system-dependent draw routines to display its content and UI elements.

Declaration

property NativeStyle: Boolean read; write;

Property Value

Type Description
Boolean
  • If True, the operating system-dependent (native) style is enabled and all skin and base style-related settings have no effect.
  • If False, the affected control uses the active skin or a built-in deprecated style.

Remarks

You can set the NativeStyle property to True to apply the operating system-dependent style to an individual DevExpress control. Skins and deprecated look & feel styles have no effect on a control that uses the native style.

Tip

We recommend that you use a skin controller component’s NativeStyle property to enable or disable the native style at the global level to ensure consistent appearance of all DevExpress controls in an application.

Property Setter Behavior

The NativeStyle property’s setter adds the lfvNativeStyle flag to the AssignedValues property value once the change is applied to the control outside a BeginUpdate/EndUpdate block or after an EndUpdate procedure call.

Default Value

The NativeStyle property’s default value is the cxDefaultLookAndFeelNativeStyle global constant.

See Also