Class
ResizingBehavior

Represents a class responsible for the resizing behavior in RadPivotGrid.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.PivotGrid.dll

Syntax:

cs-api-definition
public class ResizingBehavior

Inheritance: objectResizingBehavior

Constructors

ResizingBehavior(RadItem)

Initializes a new instance of the ResizingBehavior class.

Declaration

cs-api-definition
public ResizingBehavior(RadItem owner)

Parameters

owner

RadItem

The owner.

Fields

IsInResizeLocationPredicate

Declaration

cs-api-definition
public ResizingBehavior.ResizeLocationPredicate IsInResizeLocationPredicate

Field Value

ResizingBehavior.ResizeLocationPredicate

Properties

AllowHorizontalResize

Gets or sets whether to allow horizontal resize.

Declaration

cs-api-definition
public bool AllowHorizontalResize { get; set; }

Property Value

bool

The allow horizontal resize.

AllowVerticalResize

Gets or sets whether to allow vertical resize.

Declaration

cs-api-definition
public bool AllowVerticalResize { get; set; }

Property Value

bool

The allow vertical resize.

DeferredResize

Gets or sets the deferred resize.

Declaration

cs-api-definition
public bool DeferredResize { get; set; }

Property Value

bool

The deferred resize.

IsResizing

Gets whether the resizing operation is ongoing.

Declaration

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

Property Value

bool

The boolean value whether the resizing operation is ongoing.

Orientation

Gets or sets the orientation.

Declaration

cs-api-definition
public Orientation Orientation { get; set; }

Property Value

Orientation

The orientation.

Owner

Gets the owner.

Declaration

cs-api-definition
public RadItem Owner { get; }

Property Value

RadItem

The owner.

ResizedObject

Gets the resized object.

Declaration

cs-api-definition
public IResizable ResizedObject { get; }

Property Value

IResizable

The resized object.

Methods

AdjustCursor(Point)

Adjusts the cursor.

Declaration

cs-api-definition
protected virtual void AdjustCursor(Point p)

Parameters

p

Point

The p.

BeginResize(IResizable, Point)

Begins the resize operation.

Declaration

cs-api-definition
public bool BeginResize(IResizable resizedObject, Point mousePosition)

Parameters

resizedObject

IResizable

The resized object.

mousePosition

Point

The mouse position.

Returns

bool

BeginResize(IResizable, Point, Orientation)

Begins the resize operation.

Declaration

cs-api-definition
public virtual bool BeginResize(IResizable resizedObject, Point mousePosition, Orientation orientation)

Parameters

resizedObject

IResizable

The resized object.

mousePosition

Point

The mouse position.

orientation

Orientation

The orientation.

Returns

bool

EndResize(Point)

Ends the resize operation.

Declaration

cs-api-definition
public virtual void EndResize(Point mousePosition)

Parameters

mousePosition

Point

The mouse position.

HandleMouseMove(Point)

Handles the mouse move.

Declaration

cs-api-definition
public virtual void HandleMouseMove(Point mousePosition)

Parameters

mousePosition

Point

The mouse position.

Resize(int)

Resizes the specified offset.

Declaration

cs-api-definition
public virtual bool Resize(int offset)

Parameters

offset

int

The offset.

Returns

bool