Back to Devexpress

DirectXFormBase.ForceDirectX Property

windowsforms-devexpress-dot-xtraeditors-dot-directxformbase-639abaa5.md

latest1.8 KB
Original Source

DirectXFormBase.ForceDirectX Property

Gets or sets whether the DirectX Hardware Acceleration should be enabled for this form and its child controls.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public DefaultBoolean ForceDirectX { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(DefaultBoolean.Default)>
Public Property ForceDirectX As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

Specifies whether this form should utilize the DirectX Hardware Accelleration. The DefaultBoolean.Default value is equivalent to DefaultBoolean.True.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

See Also

DirectXFormBase Class

DirectXFormBase Members

DevExpress.XtraEditors Namespace