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

Event about style reference changing

Thread ID:





32466 Aug 1,2005 03:58 PM UTC Aug 1,2005 04:38 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On August 1, 2005 03:58 PM UTC

Hi, Clay! I keep my grid synchronized with other controls on my form. That is, the controls and the grid must have the same ReadOnly property. My problem is that there''s no event about style reference changing: GridModel.set_TableStyle or RowStyles/ColStyles simply set the new style reference but I don''t get an event about it. Therefore listening to StyleInfoBase.Changed is only a half solution. Please, expand the style model with events about reference change, as you did with GridControlBase.ModelChanged.

Administrator [Syncfusion]
Replied On August 1, 2005 04:38 PM UTC

Try listening to SaveCellInfo. Check e.RowIndex and e.ColIndex. If both are -1, then the TableStyle is being set. If the row is -1 but the col > 0, then the column style is being set. And vice versa for therow style.


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