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

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; }
<DefaultValue(GetType(Color), "")>
Public Overrides Property BorderColor As Color

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