LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-30-2016, 11:43 AM   #1
maplecurie
LQ Newbie
 
Registered: May 2016
Posts: 1

Rep: Reputation: Disabled
appearance in grid


hi!
how do you set painting in cells, grouping rows and headers. I use Dapfor .Net Grid
 
Old 05-30-2016, 12:41 PM   #2
ambrose4
LQ Newbie
 
Registered: May 2016
Posts: 2

Rep: Reputation: Disabled
re: appearance in grid

Quote:
Originally Posted by maplecurie View Post
hi!
how do you set painting in cells, grouping rows and headers. I use Dapfor .Net Grid
hi!!!!!! A nice question. Grid appearance is convenient in Dapfor .Net Grid
The code link below should help on that.

//Even colors
grid.Appearance.EvenRows.ForeColor = Color.Gold;
grid.Appearance.EvenRows.BackColor = Color.Gray;

//Odd colors
grid.Appearance.OddRows.ForeColor = Color.DarkOrange;
grid.Appearance.OddRows.BackColor = ControlPaint.Light(Color.Gainsboro);
grid.Appearance.OddRows.GradientEnabled = true;
grid.Appearance.OddRows.GradientDirection = GradientDirection.Vertical;
grid.Appearance.OddRows.GradientEndBackColor = ControlPaint.Dark(Color.Gainsboro);
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Appearance help deadlySniper Linux - Newbie 5 12-25-2008 12:12 AM
Appearance multilingus SUSE / openSUSE 3 06-18-2006 06:27 AM
a few appearance questions Latem Mandriva 0 06-23-2005 08:06 AM
kde appearance doralsoral Linux - Software 1 06-13-2005 11:52 AM
IMAP questions: file locations, directory appearance, mail appearance alake Linux - Enterprise 1 04-29-2004 04:24 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration