Back to Devexpress

TdxCustomRibbon.SupportNonClientDrawing Property

vcl-dxribbon-dot-tdxcustomribbon-d514ee67.md

latest2.0 KB
Original Source

TdxCustomRibbon.SupportNonClientDrawing Property

Specifies if the Ribbon control decorates non-client areas of the parent form.

Declaration

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

Property Value

TypeDefaultDescription
BooleanFalse

True if the Ribbon control decorates non-client areas of the parent form; otherwise, False.

|

Remarks

Set the SupportNonClientDrawing property to True to allow the Ribbon control to display UI elements in non-client areas of the parent form.

Tip

We recommend that you use the TdxRibbon control together with forms derived from the TdxRibbonForm class. To create a Ribbon form, you can use the Ribbon-Based Application Template shipped with DevExpress products. This template creates a new Ribbon form, adds a Ribbon control, and configures all required component settings[1] to display UI elements in non-client areas.

Refer to the TdxRibbonForm class description for details.

Default Value

The SupportNonClientDrawing property’s default value is False.

Footnotes

  1. The Ribbon-Based Application Template sets the SupportNonClientDrawing property to True and sets the form’s DisableAero property to True.

See Also

TdxCustomRibbon.ApplicationButton Property

TdxCustomRibbon.CaptionAreaSearchToolbar Property

TdxCustomRibbon.DocumentName Property

TdxCustomRibbon.Style Property

TdxCustomRibbon Class

TdxCustomRibbon Members

dxRibbon Unit