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

    TreeListAppearanceCollection.TopNewRow Property

    Provides access to appearance settings that are used to paint the New Item Row.

    Namespace: DevExpress.XtraTreeList

    Assembly: DevExpress.XtraTreeList.v25.1.dll

    NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

    #Declaration

    public AppearanceObject TopNewRow { get; }

    #Property Value

    Type Description
    AppearanceObject

    An object that specifies appearance settings that are used to paint the New Item Row.

    #Remarks

    You can use the TreeList.Appearance.TopNewRow appearance setting’s BackColor and ForeColor properties to specify the background and foreground colors for the New-Item Row.

    #Example

    The code below show how to change the New Item Row‘s background and foreground colors.

    image

    treeList1.Appearance.TopNewRow.BackColor = System.Drawing.Color.AliceBlue;
    treeList1.Appearance.TopNewRow.ForeColor = System.Drawing.Color.Fuchsia;
    
    See Also