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.
Syncfusion Feedback

Border questions

Thread ID:

Created:

Updated:

Platform:

Replies:

26932 Apr 4,2005 02:29 PM UTC Apr 4,2005 04:14 PM UTC Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On April 4, 2005 02:29 PM UTC

2 questions: Is is possible to have an absolute position for a border : ColStyles[4].Borders.Right=.... This means that this border style is attached to the 4 column so if it changes position the style will go with it. I would like this style to stay always at the 4th column even if this changes position Also Is it possible to have a double line instead of the extrathik as the border line? Thanks

Administrator [Syncfusion]
Replied On April 4, 2005 04:14 PM UTC

If you do not want the borders to move, then do not set them in grid.ColStyles. Instead, try handling QueryCellInfo, then if e.RowIndex == -1 and e.ColIndex points to your special column, set e.Style.Borders..... to the value you want. There is no property setting that will draw two doble lines, but you can handle DrawCellFrameAppearance and daw custom borders if you like, Take a look at the \Syncfusion\Essential Studio\3.0.1.0\Windows\Grid.Windows\Samples\In Depth\CustomBorders sample.

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.

Warning Icon 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.Close Icon

;