Back to Devexpress

TdxCustomRibbonForm.DisableAero Property

vcl-dxribbonform-dot-tdxcustomribbonform-68e7cf3b.md

latest1.9 KB
Original Source

TdxCustomRibbonForm.DisableAero Property

Specifies if the built-in form draw routines override operating system-specific effects for the non-client form area.

Declaration

delphi
property DisableAero: Boolean read; write; default False;

Property Value

TypeDefaultDescription
BooleanFalse

False if the operating system draws the form’s non-client area. True if the built-in DevExpress routines draw the non-client area.

|

Remarks

The Ribbon form can apply skin effects to its non-client area only if the operating system does not apply Aero Glass and similar effects to the non-client area. Set the DisableAero property to True in the form’s OnCreate event handler to apply the skin to the non-client area:

delphi
procedure TMyForm.FormCreate(Sender: TObject);
begin
  DisableAero := True;
end;
cpp
void __fastcall TMyForm::FormCreate(TObject *Sender)
{
  DisableAero = true;
}

Note

The DisableAero property is supported under Microsoft Windows Vista® and newer operating systems.

Aero Glass and similar effects are disabled if an application is in GDI Scaled mode.

The DevExpress VCL 25.2 Ribbon Based Application template automatically creates the OnCreate event handler that sets the DisableAero property to True.

The DisableAero property’s default value is False.

See Also

TdxCustomRibbonForm Class

TdxCustomRibbonForm Members

dxRibbonForm Unit