![]() Gravitybox Schedule.NET
1998-2005 Gravitybox Software LLC
Page 33 of 90
AppointmentHeaderAppearance object is used to draw appointment headers. The last
two are derived from the base object and define a few more properties for drawing.
Alignment
Determines the alignment of the text drawn.
BackColor
Determines if the background color of the
object.
BackColor2
Determines the secondary color to which the
background fades when the
BackGradientStyle is not set to None.
BackGradientStyle
Determines if the background fades from one
color to another.
BorderColor
Determines the border color of the object.
BorderWidth
Determines the size of the border in pixels.
FontBold
Determines if the font used is bold.
FontItalics
Determines if the font used is italic.
FontSize
Determines the size of the font used in units
defined by FontUnit.
FontStrikeout
Determines if the font used is strikeout.
FontUnderline
Determines if the font used is underlined.
FontUnit
Determines the units to use when using the
FontSize.
ForeColor
Determines the text color.
StringFormatFlags
Determines the formatting options of text.
TextTrimming
Determines the way in which text is trimmed
if there is not enough space to display it.
TextVAlign
Determines the vertical alignment of text.
The Appearance object does create quite a robust interface for specifying drawing
attributes. The two derived versions are only slightly different. Objects that contain an
Appearance property include Schedule Control, Header, ScheduleArea, Appointment,
AppointmentHeader, and ScheduleSelector.
An example of the types of schedule displays possible using this object follows. This
screen shot was created employing numerous effects. Headers were added to some
appointments. All of the appointments had their backcolor and transparency
customized.
|