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

Grouping Blink Color

Thread ID:

Created:

Updated:

Platform:

Replies:

63010 Jun 26,2007 06:15 PM Jul 2,2007 02:33 AM Windows Forms 3
loading
Tags: Grouping
Steve Friendly
Asked On June 26, 2007 06:15 PM

I've turned on native blinking support in the grouping control. Is there a way to change the color of the cells when the blink from the defaults?

Thanks,

Steve

Jeba S [Syncfusion]
Replied On June 27, 2007 06:32 AM

Hi Steve,

AllowBlink Property
Specifies whether the cell allows being highlighted when its value is changed. In such case the cell is being highlighted with colors specified in the BaseStyles collection and the time period specified in BlinkTime of the GridGroupingControl. Default value is false.

Color for Blink Cells
Add the BaseStylesForBlinking. This allows customization of the appearance of blinking Cells.

grid.Engine.AddBaseStylesForBlinking();


It will add BlinkIncrease, BlinkReduced, BlinkNewValue, BlinkNullValue, BlinkNewRecord under BaseStyles. Now you can set the color for blink cells using this :

BaseStyles[BlinkIncreased].StyleInfo.BackColor = Color.Red;
BaseStyles[BlinkReduced].StyleInfo.BackColor = Color.Pink;


Here is the video file:
http://www.syncfusion.com/Support/user/uploads/BlinkCells_6f293c4a.zip

Kindly let us know if you need any further assistance.

Best Regards,
Jeba.

Steve Friendly
Replied On June 27, 2007 01:33 PM

Thanks, that works great!

PS: in the video it shows changing the settings and the running application responds. How did you do that? If I try it complains that it can’t be edited while debugging, etc.


>Hi Steve,

AllowBlink Property
Specifies whether the cell allows being highlighted when its value is changed. In such case the cell is being highlighted with colors specified in the BaseStyles collection and the time period specified in BlinkTime of the GridGroupingControl. Default value is false.

Color for Blink Cells
Add the BaseStylesForBlinking. This allows customization of the appearance of blinking Cells.

grid.Engine.AddBaseStylesForBlinking();


It will add BlinkIncrease, BlinkReduced, BlinkNewValue, BlinkNullValue, BlinkNewRecord under BaseStyles. Now you can set the color for blink cells using this :

BaseStyles[BlinkIncreased].StyleInfo.BackColor = Color.Red;
BaseStyles[BlinkReduced].StyleInfo.BackColor = Color.Pink;


Here is the video file:
http://www.syncfusion.com/Support/user/uploads/BlinkCells_6f293c4a.zip

Kindly let us know if you need any further assistance.

Best Regards,
Jeba.

Jeba S [Syncfusion]
Replied On July 2, 2007 02:33 AM

Hi Steve,

Sorry for the delay in response.

You can invoke the SchemaBrowser using this code snippet and change the settings in run mode.

private void Form1_Load(object sender, System.EventArgs e)
{
GridGroupingControlSchemaBrowser frm = new GridGroupingControlSchemaBrowser(this.gridGoupingControl1);
frm.Show();
}


Kindly let us know if this helps.

Best Regards,
Jeba.

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

;