Back to Devexpress

RepositoryItemCheckEdit.NullStyle Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemcheckedit-f21a747d.md

latest3.0 KB
Original Source

RepositoryItemCheckEdit.NullStyle Property

Gets or sets the check box paint style applied when the editor’s check state is Indeterminate.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(StyleIndeterminate.InactiveChecked)]
[DXCategory("Appearance")]
public StyleIndeterminate NullStyle { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(StyleIndeterminate.InactiveChecked)>
Public Property NullStyle As StyleIndeterminate

Property Value

TypeDefaultDescription
StyleIndeterminateInactiveChecked

The check box paint style in the Indeterminate check state.

|

Available values:

NameDescription
Unchecked

A check box is drawn unchecked.

| | Inactive |

A check box is drawn grayed. In skin paint themes, the Inactive option is equivalent to InactiveChecked.

| | InactiveChecked |

A check box is drawn grayed. An additional gray tick mark is displayed in the Flat, UltraFlat and Style3D paint themes.

|

Remarks

Use the NullStyle property to specify the check box paint style in the indeterminate state (CheckEdit.CheckState).

Tip

The CheckEdit control supports the indeterminate state if the RepositoryItemCheckEdit.AllowGrayed setting is true.

The following paint styles are available:

  • InactiveChecked - A check box is drawn grayed. An additional gray tick mark is displayed in the Flat, UltraFlat and Style3D paint themes.

  • Inactive - A check box is drawn grayed. In skin paint themes, the Inactive option is equivalent to InactiveChecked.

  • Unchecked

See Also

CheckState

AllowGrayed

RepositoryItemCheckEdit Class

RepositoryItemCheckEdit Members

DevExpress.XtraEditors.Repository Namespace