-
Changing Colors and Fonts using Predefined FormatStyles [Janus GridEX WinForms Control v3.5 for .NET]
In GridEX control, Predefined FormatStyles are used to specify how the different areas of the control will be drawn.
In each format style you can specify Font, colors, transparency, gradients, etc. that will be used to draw a particular area of the control. Also, the dialog lets you change the properties in the ControlStyle object that will be used to draw internal controls in the grid like scrollbars and buttons.
The PredefinedStyles used in this tutorial are:
RowFormatStyle: Holds the format settings used when drawing rows in the control. When AlternatingColors property is True, this style will be used only in odd rows while AlternatingRowFormatStyle will be used in even rows.
HeaderFormatStyle: Holds the format settings used when drawing column and row headers.
AlternatingRowFormatStyle: Holds the format settings used when drawing even rows when AlternatingColors property if True. This FormatStyle is merged with RowFormatStyle before it is applied.
SelectedFormatStyle: Holds format settings to be used when drawing selected rows. This FormatStyle is merged with the FormatStyle used to draw the row when it is not selected (the base FormatStyle can be Row, AlternatingRow, GroupRow, NewRow, etc)
GroupByBoxFormatStyle: Holds format settings to be used when drawing the group by box background.
GroupByBoxInfoFormatStyle: Holds format settings to be used when drawing the information text in the group by box when no columns are grouped.
GroupRowFormatStyle: Holds format settings to be used when drawing group rows. This FormatStyle is merged with RowFormatStyle before it is applied.
CardCaptionFormatStyle: Holds format settings to be used when drawing the caption bar in cards.
CardColumnHeaderFormatStyle: Holds format settings to be used when drawing column headers in a card. This FormatStyle is merged with RowFormatStyle before it is applied.
Source Of Information : Janus v3.5 Help Files for VS 2008
Subscribe to:
Post Comments (Atom)
0 comments: