![]() ![]() Gravitybox Schedule.NET
1998-2005 Gravitybox Software LLC
Page 27 of 90
Chapter 2
Schedule Display
Overview
The schedule has many different ways in which it can be
displayed. All visible elements have a presentation
definition object named Appearance. This allows you to
set a common set of properties to change the settings of
any object in the package. You may control the look-
and-feel of headers, bars, and appointments.
The property grid displayed shows the Appearance
object of the schedule. It contains the settings for the
back color and gradients. If this object were attached to
a schedule area, the font properties would control the
text drawn. This object gives you full control over the
alignment of text its color and the background on which
it is displayed.
Display Objects
Overview
There are two headers displayed at all times on a schedule, the column header and row
header. These display different types of information based on the Viewmode property,
such as date, time, room, or provider. Defined by the header is the actual grid. It houses
all appointments inside of a scrollable region. Various colored bars and user-drawn
components may be added to enhance the presentation of the schedule.
ColumnHeader and RowHeader
These two objects are of the class type Gravitybox.Objects.Header. They define how
the column and row header are displayed. The viewmode determines information
displayed in the top and left margins. However these two header objects determine the
look of the headers. Headers can hold information about the date, time, room, or
provider. This information determines the actual text of each header cell.
AllowResize
Determines if the user may use the mouse to resize the
header.
Appearance
Determines if the look-and-feel of the header.
AutoFit
Determines if the header is resized automatically to fit the
schedule size. If this is true the AllowResize property is
|