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

Change top row cell color

Thread ID:

Created:

Updated:

Platform:

Replies:

43211 Apr 18,2006 03:22 PM UTC Apr 18,2006 04:34 PM UTC Windows Forms 1
loading
Tags: Grouping
Robert Lo
Asked On April 18, 2006 03:22 PM UTC

Hi, I want to design the top row''s left cell of the gridgroup control (with master-detail view) changing color when user scrolling. I already changed text color in the TableControlTopRowChanged, but the text color did not change. Dim TableDescriptor As New GridTableDescriptor Dim vv As Syncfusion.Windows.Forms.Grid.GridStyleInfo vv = e.TableControl.GetViewStyleInfo(e.TableControl.TopRowIndex, 0) vv.BeginUpdate() vv.TextColor = Color.Red vv.EndUpdate() GGC.EndUpdate(True) e.TableControl.Refresh() end sub thanks! Robert

Robert Lo
Replied On April 18, 2006 04:34 PM UTC

Hi all, change the whole design, so no problem :) thanks Robert >Hi, > >I want to design the top row''s left cell of the gridgroup control (with master-detail view) changing color when user scrolling. I already changed text color in the TableControlTopRowChanged, but the text color did not change. > >Dim TableDescriptor As New GridTableDescriptor > Dim vv As Syncfusion.Windows.Forms.Grid.GridStyleInfo > vv = e.TableControl.GetViewStyleInfo(e.TableControl.TopRowIndex, 0) > vv.BeginUpdate() > vv.TextColor = Color.Red > vv.EndUpdate() > GGC.EndUpdate(True) > e.TableControl.Refresh() >end sub > > >thanks! > >Robert

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

;