Class
LayoutControlResizingBehavior

Provides the resize functionality for RadLayoutControl.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class LayoutControlResizingBehavior

Inheritance: objectLayoutControlResizingBehavior

Constructors

LayoutControlResizingBehavior(LayoutControlContainerElement)

Declaration

cs-api-definition
public LayoutControlResizingBehavior(LayoutControlContainerElement owner)

Parameters

owner

LayoutControlContainerElement

Properties

IsResizing

Indicates whether the behavior is currently active.

Declaration

cs-api-definition
public bool IsResizing { get; }

Property Value

bool

Methods

BeginResize(LayoutControlSplitterItem)

Begins the resize operation given a LayoutControlSplitterItem.

Declaration

cs-api-definition
public bool BeginResize(LayoutControlSplitterItem splitter)

Parameters

splitter

LayoutControlSplitterItem

The splitter item.

Returns

bool

[true] if successful, [false] otherwise.

BeginResize(Point, Orientation)

Begins the resize operation given a starting point and resize orientation.

Declaration

cs-api-definition
public bool BeginResize(Point point, Orientation resizeType)

Parameters

point

Point

The starting point.

resizeType

Orientation

The resize direction.

Returns

bool

[true] if successful, [false] otherwise.

EndResize()

Ends the resize operation.

Declaration

cs-api-definition
public void EndResize()

GetCursorAtPoint(Point)

Gets the mouse cursor that should be displayed at the specified position.

Declaration

cs-api-definition
public Cursor GetCursorAtPoint(Point point)

Parameters

point

Point

The point in coordinates relative to the owning LayoutControlContainerElement.

Returns

Cursor

The cursor.

OnResizeFinished()

Declaration

cs-api-definition
protected virtual void OnResizeFinished()

OnResizeStarted()

Declaration

cs-api-definition
protected virtual void OnResizeStarted()

OnResized()

Declaration

cs-api-definition
protected virtual void OnResized()

Resize(Point)

If the behavior is active, moves the resize position to the specified point.

Declaration

cs-api-definition
public void Resize(Point point)

Parameters

point

Point

The point in coordinates relative to the owning LayoutControlContainerElement.

Events

ResizeFinished

Declaration

cs-api-definition
public event EventHandler ResizeFinished

Event Value

EventHandler

ResizeStarted

Declaration

cs-api-definition
public event EventHandler ResizeStarted

Event Value

EventHandler

Resized

Declaration

cs-api-definition
public event EventHandler Resized

Event Value

EventHandler