| |
How to: Customize Print Appearances
The following sample code demonstrates how to apply print appearances and background color customization to even rows in the Grid Control.
C# |
gridView1.OptionsPrint.UsePrintStyles = true;
gridView1.OptionsPrint.EnableAppearanceEvenRow = true;
gridView1.AppearancePrint.EvenRow.BackColor = Color.LightYellow;
|
VB |
GridView1.OptionsPrint.UsePrintStyles = True
GridView1.OptionsPrint.EnableAppearanceEvenRow = True
GridView1.AppearancePrint.EvenRow.BackColor = Color.LightYellow
|
The result is shown in the image below.
Is this topic helpful?
Additional Feedback
Close
|