Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 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.v25.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