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
NuGet Package: DevExpress.Win.Navigation
Declaration
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Appearance")]
public DefaultBoolean UseDirectXPaint { get; set; }
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+. |
Available values:
Name | Description |
---|---|
True | Corresponds to a Boolean value of true. |
False | Corresponds to a Boolean value of false. |
Default | The value is determined by the current object’s parent object setting (e.g., a control setting). |
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+.