![]() Gravitybox WebSchedule.NET
1998-2005 Gravitybox Software LLC
Page 23 of 65
appointment.IconCollection.Add("", Schedule1.ScheduleIcons.IconInfo)
In the WebSchedule.NET component, these are merely strings. The string is the path to
GIF or JPG file for this icon picture. This is implemented to mimic the WinForms icon, so
it must be 16x16 pixels. The predefined ScheduleIcons collection point to files that
provided with the install.
Display Properties
Overview
There are many properties involved in the display of the schedule. Listed below are
some other more important ones. They control how bars and colors are displayed as
well as local display settings for data such as time.
AppointmentBar
This object defines the bar that may be displayed in the left margin of an appointment.
The bar may describe either the provider or category of an appointment. Since
appointments may actually have more than one category or provider assigned to it, only
the first one is used to draw the bar. The setting of the bar is by default none. No bar is
displayed in the appointment margin at all.
BarType
Determines the type of bar to draw:
None, Category, Provider, or
UserDrawn.
Size
This property defines the width, in
pixels, of the bar
This property is provided so that you might convey more information to the user if
desired by using a color-code bar. There is also a matching bar in the schedules left
margin defined by the property TimeBar. It is just like this property object except that its
settings are used to draw the bars in the schedules left margin.
AppointmentSpace
This property defines the number of pixels between and appointments right edge and
the column divider. This value must be greater than or equal to zero. If the value is zero
then there is no space between the two and appointments are positioned flush with the
column divider. This property is useful to allow the user to create appointments that
conflict with each other. For example, if an appointment is schedule from 8a 10a and
fills its column, the user has no way to click on the background to create an appointment
at 9a. With a space on the right side of the appointment the user can click on the
background at the 9a row to create an appointment.
BlockoutColor
Each appointment has a Blockout property. When this property is set to true the
appointment is displayed as a solid color with no text, header, or icons. You would use
this property when you wish for the user to know that an appointment exists at a
|