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