All docs
V21.2
21.2
21.1
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.

TextEditAdvancedModeOptions.UseDirectXPaint Property

Gets or sets whether an editor uses the DirectX Hardware Acceleration. DirectX is required to support some of the unique editor features available when this editor is in Advanced Mode. See this property for more information about this mode: RepositoryItemTextEdit.UseAdvancedMode.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v21.2.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean UseDirectXPaint { get; set; }

Property Value

Type Default Description
DefaultBoolean

Default

Specifies whether the editor uses the DirectX or traditional GDI renderer.

Available values:

Name Description
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The default behavior determined by the control’s logic.

Property Paths

You can access this nested property as listed below:

Show 33 property paths
Object Type Path to UseDirectXPaint
RepositoryItemBaseSpinEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemBlobBaseEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemButtonEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemCalcEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemCheckedComboBoxEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemColorEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemColorPickEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemComboBox
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemDateEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemDateTimeOffsetEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemFontEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemGridLookUpEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemGridLookUpEditBase
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemHyperLinkEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemHypertextLabel
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemImageComboBox
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemImageEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemLookUpEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemLookUpEditBase
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemMemoEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemMRUEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemPageNumberEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemPopupBase
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemPopupBaseAutoSearchEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemPopupContainerEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemPopupGalleryEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemSearchControl
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemSearchLookUpEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemSpinEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemTextEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemTimeEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemTimeSpanEdit
.AdvancedModeOptions.UseDirectXPaint
RepositoryItemTreeListLookUpEdit
.AdvancedModeOptions.UseDirectXPaint

Remarks

TextEdit-based editors use the standard GDI renderer even when you turn on the DirectX Hardware Acceleration in the Project Settings Page or call the global WindowsFormsSettings.ForceDirectXPaint() method. You need to enable this TextEditAdvancedModeOptions.UseDirectXPaint property for every editor that should operate in this mode.

See Also