Skip to main content

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.v24.2.dll

Declaration

[DefaultValue(StyleIndeterminate.InactiveChecked)]
[DXCategory("Appearance")]
public StyleIndeterminate NullStyle { get; set; }

Property Value

Type Default Description
StyleIndeterminate InactiveChecked

The check box paint style in the Indeterminate check state.

Available values:

Name Description
Unchecked

StyleIndeterminate_Unchecked.gif A check box is drawn unchecked.

Inactive

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

InactiveChecked

StyleIndeterminate_InactiveChecked.gif 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.

    StyleIndeterminate_InactiveChecked

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

    StyleIndeterminate_Inactive

  • Unchecked

    StyleIndeterminate_Unchecked.gif

See Also