Tab
A newer version of this page is available. Switch to the current version.

BorderWrapper.BorderStyle Property

Gets or sets the border style for all the four sides of a control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(BorderStyle.NotSet)]
public override BorderStyle BorderStyle { get; set; }
<DefaultValue(BorderStyle.NotSet)>
Public Overrides Property BorderStyle As BorderStyle

Property Value

Type Default Description
BorderStyle

NotSet

One of the BorderStyle enumeration values.

Remarks

Use the BorderStyle property to specify the border style for all the four sides of a control. This property is set using one of the BorderStyle enumeration values.

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