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

BorderWrapper.BorderColor Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(typeof(Color), "")]
public override Color BorderColor { get; set; }

Property Value

Type Default Description
Color String.Empty

A Color object that represents the border color.

Remarks

Use the BorderColor property to specify the border color for all the four sides of a control. This property is set using a Color object.

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