![]() Gravitybox Schedule.NET
1998-2005 Gravitybox Software LLC
Page 44 of 90
Each header has properties to define behavior and appearance: AllowResize, AutoFit,
Size, Appearance, and FrameIncrement. The AllowResize property determines if the
user can move the mouse over a header break, grab the edge, and resize it. When a
user performs this action, the Size property changes. When the AutoFit property is true,
all columns or rows are stretched to fit the grid area. Keep in mind that the Size property
becomes read-only when AutoFit is true as the size of the columns or rows is calculated
by the schedule. Setting the Size property while in this state throws an exception. The
Appearance object defines the colors, borders, etc of the column or row area being
drawn. The FrameIncrement property determines the number of columns or rows that
are scrolled at one time. The default is one but this allows you to make the user scroll
only N rows or columns at a time.
AfterColumnResize
This event is raised after a column header is resized. The schedule has already been
redrawn and the action cannot be canceled at this point.
AfterRowResize
This event is raised after a row header is resized. The schedule has already been
redrawn and the action cannot be canceled at this point.
BeforeColumnResize
This event is raised before a column header is resized. You may choose to cancel this
action and no redraw will be performed. If you do not wish to allow column resizing, set
the AllowResize of the ColumnHeader object to false.
BeforeDateHeaderDraw
This event gives you a chance to override the string to be displayed in each of the date
header cells.
BeforeProviderHeaderDraw
This event gives you a chance to override the string to be displayed in each of the
provider header cells.
BeforeRoomHeaderDraw
This event gives you a chance to override the string to be displayed in each of the room
header cells.
BeforeRowResize
This event is raised before a row header is resized. You may choose to cancel this
action and no redraw will be performed. If you do not wish to allow row resizing, set the
AllowResize of the RowHeader object to false.
Schedule Notifications
Overview
|