All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

BackstageViewControl.UseDirectXPaint Property

Gets or sets whether DirectX is used to render the Backstage View.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v20.2.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean UseDirectXPaint { get; set; }
<DXCategory("Appearance")>
<DefaultValue(DefaultBoolean.Default)>
Public Property UseDirectXPaint As DefaultBoolean

Property Value

Type Default Description
DefaultBoolean

Default

True to use DirectX; False to use GDI+; Default to use the default engine. The default engine is DirectX if the Use DirectX option is enabled in the Project settings; otherwise, the default engine is GDI+.

Remarks

You can enable the Use DirectX option in the Project Settings to use DirectX Hardware Acceleration for all compatible DevExpress controls in the application.

The UseDirectXPaint property allows you to specify the draw engine for an individual Backstage View. This property value takes a priority over the global option specified in the Project Settings. If this property is set to Default, the application uses the default engine. The default engine is DirectX if the Use DirectX option is enabled in the Project settings; otherwise, the default engine is GDI+.

backstageViewControl1.UseDirectXPaint = DevExpress.Utils.DefaultBoolean.True;
See Also