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






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

Syntax

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

Resizing an Event

When the CanUserResizeItems property is set to true, you can resize the currently selected event. You can notice the resizing indicator in the selected event. Note that some conditions might disable the resizing, for examples, when the start date or end date of the event is not visible in the current view.

When you resize a recurring event, it automatically becomes an exception event.

 

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.