Skip to main content

XtraForm.ApplyAcrylicAccent(ISupportDirectComposition) Method

Applies the Acrylic accent (a semi-partial transparent background) to a control that resides within the current form. The Acrylic accent is only supported for certain controls.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.2.dll

Declaration

[CLSCompliant(false)]
public void ApplyAcrylicAccent(
    ISupportDirectComposition control
)

Parameters

Name Type Description
control DevExpress.Utils.DirectXPaint.DirectComposition.ISupportDirectComposition

The target control that supports the Acrylic accent.

Remarks

You can use the XtraForm.EnableAcrylicAccent property to activate the Acrylic accent for all controls that support this rendering mode (see the XtraForm.EnableAcrylicAccent topic for a list of these controls).

The ApplyAcrylicAccent method allows you to activate the Acrylic accent for individual controls. To remove the applied Acrylic effect for a control, use the XtraForm.ClearAcrylicAccent method.

See the XtraForm.EnableAcrylicAccent topic for information on how to use the XtraForm.EnableAcrylicAccent, ApplyAcrylicAccent and XtraForm.ClearAcrylicAccent members.

See Also