Skip to main content
Tab

AppearanceStyleBase.Border Property

Gets the border settings defined by the current style.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public virtual BorderWrapper Border { get; }

Property Value

Type Description
BorderWrapper

A BorderWrapper object which specifies the border settings.

Remarks

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" ...>  
    <Styles>  
        <Cell>  
            <Border BorderColor="Black" BorderStyle="Solid" BorderWidth="2px" />  
        </Cell>  
    </Styles>  
    <Columns>  
        ...  
    </Columns>  
</dx:ASPxGridView>  
See Also