New to Telerik UI for WinFormsStart a free 30-day trial

Represents a class responsible for the resizing behavior in RadPivotGrid.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.PivotGrid.dll

Syntax:

C#
public class ResizingBehavior

Inheritance: objectResizingBehavior

Constructors

Initializes a new instance of the ResizingBehavior class.

C#
public ResizingBehavior(RadItem owner)
Parameters:ownerRadItem

The owner.

Fields

C#
public ResizingBehavior.ResizeLocationPredicate IsInResizeLocationPredicate

Properties

Gets or sets whether to allow horizontal resize.

C#
public bool AllowHorizontalResize { get; set; }
Property Value:

The allow horizontal resize.

Gets or sets whether to allow vertical resize.

C#
public bool AllowVerticalResize { get; set; }
Property Value:

The allow vertical resize.

Gets or sets the deferred resize.

C#
public bool DeferredResize { get; set; }
Property Value:

The deferred resize.

Gets whether the resizing operation is ongoing.

C#
public bool IsResizing { get; }
Property Value:

The boolean value whether the resizing operation is ongoing.

Gets or sets the orientation.

C#
public Orientation Orientation { get; set; }
Property Value:

The orientation.

Gets the owner.

C#
public RadItem Owner { get; }
Property Value:

The owner.

Gets the resized object.

C#
public IResizable ResizedObject { get; }
Property Value:

The resized object.

Methods

Adjusts the cursor.

C#
protected virtual void AdjustCursor(Point p)
Parameters:pPoint

The p.

Begins the resize operation.

C#
public virtual bool BeginResize(IResizable resizedObject, Point mousePosition, Orientation orientation)
Parameters:resizedObjectIResizable

The resized object.

mousePositionPoint

The mouse position.

orientationOrientation

The orientation.

Returns:

bool

Begins the resize operation.

C#
public bool BeginResize(IResizable resizedObject, Point mousePosition)
Parameters:resizedObjectIResizable

The resized object.

mousePositionPoint

The mouse position.

Returns:

bool

Ends the resize operation.

C#
public virtual void EndResize(Point mousePosition)
Parameters:mousePositionPoint

The mouse position.

Handles the mouse move.

C#
public virtual void HandleMouseMove(Point mousePosition)
Parameters:mousePositionPoint

The mouse position.

Resizes the specified offset.

C#
public virtual bool Resize(int offset)
Parameters:offsetint

The offset.

Returns:

bool