Back to Devexpress

CameraControl.UseDirectXPaint Property

windowsforms-devexpress-dot-xtraeditors-dot-camera-dot-cameracontrol-0da2d6c3.md

latest2.2 KB
Original Source

CameraControl.UseDirectXPaint Property

Gets or sets whether the CameraControl uses the DirectX Hardware Acceleration.

Namespace : DevExpress.XtraEditors.Camera

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
DefaultBooleanDefault

A DefaultBoolean enum value that specifies whether this control employs the DirectX Hardware Acceleration. The DefaultBoolean.Default value is equivalent to DefaultBoolean.True if the static WindowsFormsSettings.ForceDirectXPaint method was called, or to DefaultBoolean.False otherwise.

|

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

CameraControl Class

CameraControl Members

DevExpress.XtraEditors.Camera Namespace