skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class AppointmentResizingBehavior

Inheritance
System.Object
AppointmentResizingBehavior
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll

Syntax

public class AppointmentResizingBehavior

Constructors

AppointmentResizingBehavior(RadScheduler)

Declaration
public AppointmentResizingBehavior(RadScheduler scheduler)
Parameters
RadScheduler scheduler

AppointmentResizingBehavior(SchedulerVisualElement)

Declaration
public AppointmentResizingBehavior(SchedulerVisualElement activeOwner)
Parameters
SchedulerVisualElement activeOwner

Fields

downResize

Declaration
protected bool downResize
Field Value
System.Boolean

leftResize

Declaration
protected bool leftResize
Field Value
System.Boolean

resizeStepOffset

Declaration
protected float resizeStepOffset
Field Value
System.Single

rightResize

Declaration
protected bool rightResize
Field Value
System.Boolean

upResize

Declaration
protected bool upResize
Field Value
System.Boolean

Properties

ActiveAppointment

Gets or sets the active resizing appointment.

Declaration
public IEvent ActiveAppointment { get; }
Property Value
IEvent

AutoScrollDayViewOnResize

Gets or sets a value indicating whether the appointment areas in DayView should be automatically scrolled when dragging off their bounds.

Declaration
public bool AutoScrollDayViewOnResize { get; set; }
Property Value
System.Boolean

CursorBoundsOffset

Gets or sets the bounds offset which specifies the size of the sizing rectangles.

Declaration
public int CursorBoundsOffset { get; set; }
Property Value
System.Int32

IsResizing

Gets or sets whether the user is currently resizing the active appointment.

Declaration
public virtual bool IsResizing { get; }
Property Value
System.Boolean

ResizeMinutes

Gets or sets the resize minutes.

Declaration
public int ResizeMinutes { get; set; }
Property Value
System.Int32

Methods

EndResize()

Declaration
public bool EndResize()
Returns
System.Boolean

EndResize(IEvent)

Ends the appointment resizing.

Declaration
public virtual bool EndResize(IEvent appointment)
Parameters
IEvent appointment

Returns
System.Boolean

GetResizeInformation()

Declaration
public ResizeInformation GetResizeInformation()
Returns
ResizeInformation

GetResizeOptions(SchedulerVisualElement)

Declaration
protected virtual ResizeOptions GetResizeOptions(SchedulerVisualElement owner)
Parameters
SchedulerVisualElement owner

Returns
ResizeOptions

HandleAppointmentHorizontalResize(SchedulerCellElement, IEvent)

Declaration
protected virtual bool HandleAppointmentHorizontalResize(SchedulerCellElement cell, IEvent appointment)
Parameters
SchedulerCellElement cell

IEvent appointment

Returns
System.Boolean

HandleAppointmentVerticalResize(SchedulerCellElement, IEvent)

Declaration
protected virtual bool HandleAppointmentVerticalResize(SchedulerCellElement cell, IEvent appointment)
Parameters
SchedulerCellElement cell

IEvent appointment

Returns
System.Boolean

OnAppointmentResized(AppointmentResizedEventArgs)

Declaration
protected virtual void OnAppointmentResized(AppointmentResizedEventArgs args)
Parameters
AppointmentResizedEventArgs args

OnAppointmentResizing(AppointmentResizingEventArgs)

Declaration
protected virtual void OnAppointmentResizing(AppointmentResizingEventArgs cancelArgs)
Parameters
AppointmentResizingEventArgs cancelArgs

OnFinished(IEvent)

Declaration
protected virtual void OnFinished(IEvent appointment)
Parameters
IEvent appointment

OnInitialized()

Declaration
protected virtual bool OnInitialized()
Returns
System.Boolean

RequestResize(AppointmentElement, SchedulerVisualElement)

Requests a resize start.

Declaration
public bool RequestResize(AppointmentElement appointment, SchedulerVisualElement newOwner)
Parameters
AppointmentElement appointment

SchedulerVisualElement newOwner

Returns
System.Boolean

RequestResize(AppointmentElement, SchedulerVisualElement, Boolean)

Requests a resize start.

Declaration
public bool RequestResize(AppointmentElement appointment, SchedulerVisualElement newOwner, bool start)
Parameters
AppointmentElement appointment

SchedulerVisualElement newOwner

System.Boolean start

Returns
System.Boolean

RequestResize(AppointmentElement, SchedulerVisualElement, Point, ResizeOptions)

Requests a resize start.

Declaration
public bool RequestResize(AppointmentElement appointment, SchedulerVisualElement newOwner, Point cursorPosition, ResizeOptions resizeOptions)
Parameters
AppointmentElement appointment

SchedulerVisualElement newOwner

System.Drawing.Point cursorPosition

ResizeOptions resizeOptions

Returns
System.Boolean

RequestResize(AppointmentElement, SchedulerVisualElement, Point, ResizeOptions, Boolean)

Requests a resize start.

Declaration
public virtual bool RequestResize(AppointmentElement appointment, SchedulerVisualElement newOwner, Point cursorPosition, ResizeOptions resizeOptions, bool start)
Parameters
AppointmentElement appointment

SchedulerVisualElement newOwner

System.Drawing.Point cursorPosition

ResizeOptions resizeOptions

System.Boolean start

Returns
System.Boolean

Resize(Point)

Resizes an appointment to a given position.

Declaration
public virtual bool Resize(Point mousePosition)
Parameters
System.Drawing.Point mousePosition

Returns
System.Boolean

Resize(Point, IEvent)

Resizes an appointment to a given position.

Declaration
public virtual bool Resize(Point mousePosition, IEvent appointment)
Parameters
System.Drawing.Point mousePosition

IEvent appointment

Returns
System.Boolean

ResizeHorizontally(Point, IEvent)

Represents the horizontal resizing.

Declaration
protected virtual bool ResizeHorizontally(Point mousePosition, IEvent appointment)
Parameters
System.Drawing.Point mousePosition

IEvent appointment

Returns
System.Boolean

ResizeVertically(Point, IEvent)

Represents the vertical resizing.

Declaration
protected virtual bool ResizeVertically(Point mousePosition, IEvent appointment)
Parameters
System.Drawing.Point mousePosition

IEvent appointment

Returns
System.Boolean

UpdateMouseCursor()

Declaration
protected virtual void UpdateMouseCursor()

UpdateMouseCursor(Point, Rectangle, Rectangle)

Updates the current mouse cursor.

Declaration
protected virtual bool UpdateMouseCursor(Point mousePosition, Rectangle nearRect, Rectangle farRect)
Parameters
System.Drawing.Point mousePosition

The current position

System.Drawing.Rectangle nearRect

The top or left area of the appointment which can start a resize

System.Drawing.Rectangle farRect

The bottom or right area of the appointment which can start a resize

Returns
System.Boolean

True if the mouse position is in a resize location, false otherwise.

UpdateResizeOptions(ResizeOptions)

Declaration
public void UpdateResizeOptions(ResizeOptions resizeOptions)
Parameters
ResizeOptions resizeOptions

ValidateExceptionDates(IEvent, DateTime, TimeSpan)

Declaration
protected virtual bool ValidateExceptionDates(IEvent resized, DateTime startDate, TimeSpan duration)
Parameters
IEvent resized

System.DateTime startDate

System.TimeSpan duration

Returns
System.Boolean

Events

AppointmentResized

Occurs when the appointment is resized.

Declaration
public event EventHandler<AppointmentResizedEventArgs> AppointmentResized
Event Type
System.EventHandler<AppointmentResizedEventArgs>

AppointmentResizing

Occurs when the appointment is resizing.

Declaration
public event EventHandler<AppointmentResizingEventArgs> AppointmentResizing
Event Type
System.EventHandler<AppointmentResizingEventArgs>

Finished

Occurs when the resizing operation is finished.

Declaration
public event EventHandler<SchedulerAppointmentEventArgs> Finished
Event Type
System.EventHandler<SchedulerAppointmentEventArgs>

Initialized

Occurs when the rezing request is initialized.

Declaration
public event EventHandler Initialized
Event Type
System.EventHandler

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.