Skip to main content
Tab

BorderWrapper.BorderColor Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.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