BackstageViewControl.UseDirectXPaint Property
Gets or sets whether DirectX is used to render the Backstage View.
Namespace: DevExpress.XtraBars.Ribbon
Assembly: DevExpress.XtraBars.v24.2.dll
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 | Return Value |
---|---|---|
True | The value is true. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
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+.