DiagramControl.UseDirectXPaint Property
Gets or sets whether to use the DirectX rendering.
Namespace: DevExpress.XtraDiagram
Assembly: DevExpress.XtraDiagram.v24.2.dll
NuGet Package: DevExpress.Win.Diagram
#Declaration
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Appearance")]
public DefaultBoolean UseDirectXPaint { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Default |
Default | A Default |
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
DirectX hardware acceleration is enabled for the DiagramControl automatically if you call the WindowsFormsSettings.ForceDirectXPaint method at the application’s startup or have DirectX enabled in the DevExpress Project Settings window. Use the UseDirectXPaint property to override this behavior.
Note
Only modify the Use