Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old May 29th, 2016, 12:24 PM
Registered User
Points: 10, Level: 1
Points: 10, Level: 1 Points: 10, Level: 1 Points: 10, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2016
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default appearance in grid

how do you set painting in cells, grouping rows and headers. I use Dapfor .Net Grid
Reply With Quote
  #2 (permalink)  
Old May 29th, 2016, 12:36 PM
Registered User
Points: 6, Level: 1
Points: 6, Level: 1 Points: 6, Level: 1 Points: 6, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2016
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default re: appearance in grid

Quote:
Originally Posted by maplecutie View Post
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 With Quote
Reply


Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change appearance of image and text RachelKC BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 0 October 18th, 2014 11:15 AM
Different appearance when run on server Ron Howerton CSS Cascading Style Sheets 1 August 15th, 2014 04:54 PM
Mailto Form Appearance Ron Howerton HTML Code Clinic 5 September 29th, 2007 11:59 PM
DetailsView checkbox default appearance jpullam ASP.NET 2.0 Professional 2 November 29th, 2006 01:37 PM
The appearance of a File control cbotiza HTML Code Clinic 1 November 12th, 2004 08:51 AM



All times are GMT -4. The time now is 10:42 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.