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.

OverlayWindowOptions.UseDirectX Property

Gets or sets whether DirectX is used to render an Overlay Form.

Namespace: DevExpress.XtraSplashScreen

Assembly: DevExpress.XtraEditors.v20.2.dll

Declaration

public bool? UseDirectX { get; set; }
Public Property UseDirectX As Boolean?

Property Value

Type Description
Nullable<Boolean>

true, to use DirectX; false, to use GDI+; null 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+.

Property Paths

You can access this nested property as listed below:

Object Type Path to UseDirectX
DefaultOverlayFormOptions
.Options.UseDirectX
DXSplashScreen

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 UseDirectX property allows you to specify the draw engine for Overlay Forms only. This property value takes priority over the global option specified in the Project Settings. If this property is set to null, 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+.

using DevExpress.XtraSplashScreen;

// Default setting applied to all Overlay Forms.
DevExpress.XtraSplashScreen.OverlayWindowOptions.Default.UseDirectX = true;

// Setting for an individual Overlay Form.
IOverlaySplashScreenHandle handle = SplashScreenManager.ShowOverlayForm(
    owner: gridControl1,
    useDirectX: true
);

Implements

DevExpress.XtraSplashScreen.IOverlayWindowOptions.UseDirectX
See Also