Skip to main content
A newer version of this page is available. .
Tab

AppearanceStyleBase.Border Property

Gets the border settings defined by the current style.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public virtual BorderWrapper Border { get; }

Property Value

Type Description
BorderWrapper

A BorderWrapper object which specifies the border settings.

Property Paths

You can access this nested property as listed below:

Object Type Path to Border
HtmlEditorPasteOptionsBarStyles
.PasteOptionsBar.Border

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