XtraForm.EnableAcrylicAccent Property
Gets or sets whether the Acrylic accent is enabled for the Accordion Control, Layout Control and Calendar Control when they reside within the current form. The property also enables the Reveal Highlight effect for the Accordion Control and Calendar Control.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.Utils.v19.1.dll
Declaration
[DefaultValue(false)]
[XtraSerializableProperty(XtraSerializationVisibility.Visible)]
[DXCategory("Options")]
public virtual bool EnableAcrylicAccent { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | **false** | true, to enable the Acrylic effect; otherwise, false. |
Remarks
Set the EnableAcrylicAccent property to true to enable the Acrylic accent (a semi-transparent texture) for the controls that support this rendering mode. These controls include:
CalendarControl (when its CalendarControlBase.CalendarView property value equals Fluent)
The AccordionControl and CalendarControl also activate the Reveal Highlight effect (a lighting effect that highlights items when a user moves the mouse pointer over them).
The EnableAcrylicAccent property’s default value is true for the Fluent Design Form. For the XtraForm and its other descendants, the property’s default value is false.
If the Acrylic effect is disabled by default, you can enable this feature for all controls within the form with the XtraForm.EnableAcrylicAccent property. Set this property to true when a form’s handle is created (for instance, in the form’s constructor).
You can enable and clear the Acrylic effect for individual controls with the XtraForm.ApplyAcrylicAccent and XtraForm.ClearAcrylicAccent methods.
If the Acrylic effect has not been applied so far (to all or individual controls), the first call of the ApplyAcrylicAccent method must be performed when the form’s handle is created (for instance, in the form’s constructor).
When you enable the Acrylic effect, the DirectX rendering is enabled for the controls as well (except for the Layout Control).
Note
The Acrylic and Reveal Highlight effects are only available if the application runs under Windows 10 Version 1803 (OS build 17134) or newer.