Skip to main content

AppearanceStyleBase.Border Property

Gets the border settings defined by the current style.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll

NuGet Package: DevExpress.Web


public virtual BorderWrapper Border { get; }

Property Value

Type Description

A BorderWrapper object which specifies the border settings.

Property Paths

You can access this nested property as listed below:

Object Type Path to Border


The Border property provides access to the border settings that define the width, style, and color values for all the four sides of the corresponding object which the current style applies to.

The border settings of particular sides (top, bottom, left or right) can be specified using the corresponding properties of the current style (AppearanceStyleBase.BorderTop, AppearanceStyleBase.BorderBottom, AppearanceStyleBase.BorderLeft or AppearanceStyleBase.BorderRight). Note that border settings of a particular border side override the same settings defined via the Border property.

<dx:ASPxGridView ID="gridView" runat="server" ...>  
            <Border BorderColor="Black" BorderStyle="Solid" BorderWidth="2px" />  
See Also