Skip to main content
All docs
V24.1

RepositoryItemColorEdit.NullColor Property

Gets or sets a null color.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DXCategory("Appearance")]
public Color NullColor { get; set; }

Property Value

Type Description
Color

The null color.

Remarks

The editor sets its Color property to Color.Empty if the AllowNullInput option is enabled and a user presses Ctrl+Del or Ctrl+0. Use the NullColor property to specify a custom null color.

Note

The EditValue property of the WinForms ColorEdit and ColorPickEdit controls is set to null (Nothing in Visual Basic) if the AllowNullInput option is enabled and a user presses Ctrl+Del or Ctrl+0.

See Also