Intersoft ClientUI Documentation
CanUserMoveItems Property
See Also  Send Feedback
Intersoft.Client.UI.ScheduleView Namespace > UXScheduleView Class : CanUserMoveItems Property






Gets or sets a value that determines whether user can move events.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property CanUserMoveItems As Boolean
Visual Basic (Usage)Copy Code
Dim instance As UXScheduleView
Dim value As Boolean
 
instance.CanUserMoveItems = value
 
value = instance.CanUserMoveItems
C# 
[CategoryAttribute("Common Properties")]
public bool CanUserMoveItems {get; set;}
Delphi 
public read-write property CanUserMoveItems: Boolean; 
JScript 
CategoryAttribute("Common Properties")
public function get,set CanUserMoveItems : boolean
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property bool get_CanUserMoveItems();
public: __property void set_CanUserMoveItems( 
   bool value
);
C++/CLI 
[CategoryAttribute("Common Properties")]
public:
property bool CanUserMoveItems {
   bool get();
   void set (    bool value);
}

Remarks

Data editing in UXScheduleView involves three fundamental processes, Create, Update and Delete (CUD). You can enable each editing feature by setting the property CanUserAddItems, CanUserDeleteItems, CanUserEditItems, CanUserMoveItems, CanUserResizeItems.

Enable Editing Copy Code
<Intersoft:UXScheduleView DisplayDate="1/2/2012"
            EventsSource="{Binding Events}" CategoriesSource="{Binding Categories}" ResourcesSource="{Binding Resources}"
            CanUserAddItems="True" CanUserDeleteItems="True" CanUserEditItems="True" CanUserMoveItems="True" CanUserResizeItems="True">
    <Intersoft:UXScheduleDayView/>
    <Intersoft:UXScheduleWorkWeekView/>
    <Intersoft:UXScheduleWeekView IsActive="True"/>
    <Intersoft:UXScheduleMonthView/>
</Intersoft:UXScheduleView>

Moving an Event

When the CanUserMoveItes property is set to true, you can move the current selected event to another time allocation by simply dragging the desired event and dropping it in the desired destination. Note that you can not drag an event from one group to another group when the grouping feature is enabled.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.