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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GetCombinedStyle on whole row/col/table

Thread ID:

Created:

Updated:

Platform:

Replies:

46059 Jul 5,2006 06:15 AM UTC Jul 11,2006 04:14 PM UTC WinForms 5
loading
Tags: GridControl
Leow Kah Man
Asked On July 5, 2006 06:15 AM UTC

Hi, WCall GetCombinedStyleon when selected range is, let''s say C2, what will Syncfusion do? loop through each cell and perform a MergeStyle?

Leow Kah Man
Replied On July 5, 2006 06:23 AM UTC

Some type correction: Call GetCombinedStyle when...

Administrator [Syncfusion]
Replied On July 5, 2006 03:51 PM UTC

Hi Leow, The GetCombinedStyle method is used to analyze specified cells for attributes that are equal among the cells. It doesn''t not merge the specified cells. If you want to merge the specified cells, you can use the CoveredRanges.Add method to merge specified cells in a grid. Please refer our shipped browser sample ''''CoveredCells'''' ( \\windows\Grid.Windows\Samples\Quick Start\CoveredCells ) which demonstrates a way to merge the specified cells in the grid. let us know if this helps. Best Regards, Haneef

Leow Kah Man
Replied On July 6, 2006 12:37 AM UTC

Sorry, I was referring to IStyleInfo.MergeStyle which is different from merging of cells

Leow Kah Man
Replied On July 11, 2006 12:11 AM UTC

Hi, I was referring to "MergeStyle" not MergeCells

Administrator [Syncfusion]
Replied On July 11, 2006 04:14 PM UTC

Hi Leow, The GetCombinedStyle method is used to analyze specified cells for attributes that are equal among the cells. But It doesn''''t not resets all properties that differ among the two style objects. If you want to reset all properties that differ among the two style objects and keeps only those properties are equal , you need to call the MergeStyle method. Please refer the attached sample for more details and let us know if this helps. e.Style.MergeStyle( headeStyle ); //QueryCellInfo event Here is a sample. http://www.syncfusion.com/Support/user/uploads/MergeStyle_cf733d23.zip Best Regards, Haneef

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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

;