We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Borders.Bottom.Color property

Thread ID:

Created:

Updated:

Platform:

Replies:

19114 Sep 17,2004 10:37 AM Sep 17,2004 11:09 AM Windows Forms 2
loading
Tags: GridControl
Ted
Asked On September 17, 2004 10:37 AM

I am trying to set the color of a row to blue. However, when I try to set the color by this code: Me.GridControl.RowStyles(1).Borders.Bottom = New GridBorder(GridBorderStyle.Standard, Color.Blue) the bordercolor does not change. What am I doing wrong? It seems that it works for any BorderStyle except Standard.

Ted
Replied On September 17, 2004 10:38 AM

>I am trying to set the color of a row to blue. However, when I try to set the color by this code: > >Me.GridControl.RowStyles(1).Borders.Bottom = New GridBorder(GridBorderStyle.Standard, Color.Blue) > >the bordercolor does not change. What am I doing wrong? It seems that it works for any BorderStyle except Standard. I am trying to set the Row''s border bottom to the color blue. not the backcolor of the cell.

Administrator [Syncfusion]
Replied On September 17, 2004 11:09 AM

Color is only supported for solid border styles. Me.GridControl.RowStyles(1).Borders.Bottom = new GridBorder(GridBorderStyle.Solid, Color.Blue)

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;