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

Resetting groups of style properties

Thread ID:

Created:

Updated:

Platform:

Replies:

15226 Jun 15,2004 02:42 AM UTC Jun 15,2004 12:58 PM UTC WinForms 1
loading
Tags: GridControl
Sue Harris
Asked On June 15, 2004 02:42 AM UTC

Is it possible to reset groups of style info properties without calling each reset function separately? For example, I''d like to be able to reset all the cell styles except for the border styles in a GridStyleInfo object. Thanks, Sue

Administrator [Syncfusion]
Replied On June 15, 2004 12:58 PM UTC

Try code like this. I think this should reset eveything to the default except the 2 borders. GridStyleInfo style = new GridStyleInfo(GridStyleInfo.Default); style.Borders.ResetBottom(); style.Borders.ResetRight(); this.gridControl1.ChangeCells(GridRangeInfo.Cells(1,1,4,4), style, Syncfusion.Styles.StyleModifyType.Override);

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

;