Class LayoutControlResizingBehavior
Provides the resize functionality for RadLayoutControl.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class LayoutControlResizingBehavior
Constructors
LayoutControlResizingBehavior(LayoutControlContainerElement)
Declaration
public LayoutControlResizingBehavior(LayoutControlContainerElement owner)
Parameters
|
LayoutControlContainerElement
owner
|
Properties
IsResizing
Indicates whether the behavior is currently active.
Declaration
public bool IsResizing { get; }
Property Value
|
System.Boolean
|
Methods
BeginResize(Point, Orientation)
Begins the resize operation given a starting point and resize orientation.
Declaration
public bool BeginResize(Point point, Orientation resizeType)
Parameters
|
System.Drawing.Point
point
The starting point. |
|
System.Windows.Forms.Orientation
resizeType
The resize direction. |
Returns
|
System.Boolean
[true] if successful, [false] otherwise. |
BeginResize(LayoutControlSplitterItem)
Begins the resize operation given a LayoutControlSplitterItem.
Declaration
public bool BeginResize(LayoutControlSplitterItem splitter)
Parameters
|
LayoutControlSplitterItem
splitter
The splitter item. |
Returns
|
System.Boolean
[true] if successful, [false] otherwise. |
EndResize()
Ends the resize operation.
Declaration
public void EndResize()
GetCursorAtPoint(Point)
Gets the mouse cursor that should be displayed at the specified position.
Declaration
public Cursor GetCursorAtPoint(Point point)
Parameters
|
System.Drawing.Point
point
The point in coordinates relative to the owning LayoutControlContainerElement. |
Returns
|
System.Windows.Forms.Cursor
The cursor. |
OnResized()
Declaration
protected virtual void OnResized()
OnResizeFinished()
Declaration
protected virtual void OnResizeFinished()
OnResizeStarted()
Declaration
protected virtual void OnResizeStarted()
Resize(Point)
If the behavior is active, moves the resize position to the specified point.
Declaration
public void Resize(Point point)
Parameters
|
System.Drawing.Point
point
The point in coordinates relative to the owning LayoutControlContainerElement. |
Events
Resized
Declaration
public event EventHandler Resized
Event Type
|
System.EventHandler
|
ResizeFinished
Declaration
public event EventHandler ResizeFinished
Event Type
|
System.EventHandler
|
ResizeStarted
Declaration
public event EventHandler ResizeStarted
Event Type
|
System.EventHandler
|