2.0.2
(2/15/11)
|
• New printing feature. New SchedulerPrintPager class gives ability to
create multi-pages document that every page contains different interval and
range of resources.
• New feature InputAction events prepared to control mouse, keyboard and
others events of children controls. The new TimeLabelInputAction,
ResourceCaptionInputAction, ResourceCellInputAction,
SchedulerItemPanelInputAction, SchedulerRegionPanelInputAction events handle
the input event appropriately for TimeLabel, ResourceCaption, ResourceCell,
SchedulerItemPanel visual controls.
• Two new AttachChildControl and DetachChildControl events to the
Scheduler and ResourceTree controls were added. These events occur
when the scheduler/resource tree either creates or releases the child controls:
SchedulerItemPanel, SchedulerRegionPanel, SchedulerRow, ResourceTreeButton,
ResourceCaption, ResourceCell, TimeLabel. The events code is a good place to
make some custom initialization of child control.
• Support for assigning the UIElement to the SchedulerItem.Content
property was added. Using any UIElement as SchedulerItem.Content
allows displaying custom content in the scheduler items. The programmer decides
about UI element displaying inside every item individually.
• New SchedulerItem.ToolTip and ResourceCell.ToolTip properties
were added. They help and make easier of managing of tooltip windows in
scheduler.
• The Scheduler.CanUserOverlapping property was replaced by the
Scheduler.OverlappingMode. New property is an enum value that defines what
happen when two items are overlapped. Apart from allowing/denying items
overlapping, gives ability to glue both items into one item.
• New Scheduler.ResourceTreeVisibility property added, which allows to
hide the resource tree from scheduler. Just time-grid with scheduler items is
visible.
• Set of the properties that get children visual controls embedded in scheduler
was added to Scheduler control. Tree, TimeRulersPresenter,
ItemsPresenter, ZoomInButton, ZoomOutButton, TreeHeadersPresenter,
TreeCellsPresenter, VerticalScrollBar, HorizontalScrollBar,
TreeHorizontalScrollBar. These properties get control objects the scheduler
template has applied, see new TemplateApplied event.
• A new Scheduler.TemplateApplied event was added that occurs just
afterwards scheduler has created all children controls. See: ApplyTemplate
method.
• The events for handling default action was added. The default actions occur
when user presses the ENTER key or double click on either resource cell or
scheduler item panel controls. Appropriately the ItemDefaultAction or
ResourceCellDefaultAction event occurs.
• New UseAlternativeColors property that controls different colors of odd
rows was added.
• The order of attributes in XAML files and initialization of scheduler
properties in code, purpose for data binding (ItemsSource, ItemStartPath,
ItemEndPath, etc.), is unimportant now. Beforehand, the attributes in
element have to be arranged in specific order. Additionally, new DataBind
method forces binding and fills collections with appropriate source data.
• The content (rows, items) of the scheduler was not cleared properly, when all
resources had been removed from Rows collection.
• The problem with resource rows overflowed outside of the panel rectangle was
corrected.
• The children controls management was corrected. Changing increases speed of
scheduler operation and minimalizes memory usage.
• The working of the ResourceColumn.HorizontalAlignment property was
corrected.
• The right alignment for number values like int, decimal, double, etc.
was added. Additionally, the value editor automatically tries to convert the
string value that has been typed into the same (original) type. So, if you (your
code) fill either resource cell or scheduler item with integer value, the user
tries to edit this number to new value, the scheduler checks the user enters
same integer type. Otherwise, the error is going to occur.
• New two methods: ResourceCell.RecreateContentControl and
SchedulerItem.RecreateContentControl were added, which update style of
content presenter (the presenter that displays item/cell value). When font
style, size, alignment, etc. are changed, call the RecreateContentControl
method, that causes appearance immediately changes.
• The ResourceTree.RowHeight property was duplicated to the Scheduler
control. Now, you can state the row height directly from designer of the
scheduler control.
• The z-order of items and regions is the same as the order of elements in
collection. Previously, scheduler could display items panels in different order
then the items in collection, and when the Scheduler.OverlapItemsSideBySide
property equaled false, it looked like items panel covered each other randomly.
• Problem with removing of dependency object from Scheduler.Dependencies
collection caused the line between items disappear, but the dragging of relative
item still made changes in either successors or predecessors items. Programmer
had to reset SchedulerDependency.From/To properties to null value. Now,
dependency removing resets these properties by itself.
• Hour formatting in 24h mode was corrected. Despite 24 mode the hours was
incorrectly formatted with 1..12 values.
• New set of properties of SchedulerItem object for binding support was
added:
Scheduler.ItemStartGripShapePath/ItemEndGripShapePath/ItemFillPath/ItemStartGripFillPath/ItemEndGripFillPath/ItemContentPath.
ItemContentPath properties give ability for controlling of item’s content
different from text (string) directly by the source object. E.g. the source
object can implement the property that gets the UIElement object that is
going to be the embedded inside of scheduler item rectangle.
• New ResourceColumn.ToolTipMember property was added. The property gives
ability to bind property of resource source object as a tooltip content of
resource cell.
• The SchedulerItem.Content property updating was corrected. When the
property was set with value of type different then string, the Content could set
to empty string value instead.
• The support of value of System.Windows.Media.ImageSource type in the
SchedulerItem.EditValue and ResourceCell.EditValue was added. In case
of image source, the Image control is embedded that displays specified picture.
|