MindFusion.Wpf Pack Programmer's Guide
ListViewSettings.FreeDrag Property
See Also
 





Gets or sets a value indicating whether users can drag items anywhere in the view, not only in the first unoccupied row.

Namespace: MindFusion.Scheduling.Wpf
Assembly: MindFusion.Scheduling.Wpf

 Syntax

C#  Copy Code

public bool FreeDrag { get; set; }

Visual Basic  Copy Code

Public Property FreeDrag As Boolean

 Property Value

true to enable free dragging; otherwise, false.

Unsetting the Property Value

Unset the local value of this property to use the corresponding value from the current theme. To unset the property value, call ClearValue on the settings containing the property and pass a reference to the DependencyProperty representing the property.

 Remarks

Set this property to true to disable the default item layout algorithm, where colliding items are arranged relative to each other according to their start and end times and their Priority. Turning this property on will allow users to move items anywhere within the view.

The position of an item acquired through free dragging is related to the view. This means that if the schedule, containing the item is displayed in another Calendar control, the item's position within the List view might not be the same as its position in the initial view. Additionally, view-related data is not serialized by calling the serialization methods of the Schedule class.

Finally, the position of an item within the view can be obtained and set programmatically through the use of the GetItemListLane and SetItemListLane methods of the Calendar class.

 See Also

ListViewSettings Members
ListViewSettings Class
MindFusion.Scheduling.Wpf Namespace