Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RepositoryItemColorEdit.NullColor Property

Gets or sets a null color.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.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