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

A control, allowing the end user to resize other controls, which support resizing.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class ResizeControl : ResizerBase

Inheritance: objectResizerBaseResizeControl

Derived Classes: RadGridResizerGanttPresenterSplitter

Inherited Members ResizerBase.OnMouseEnter(MouseEventArgs)ResizerBase.OnMouseLeave(MouseEventArgs)ResizerBase.OnGotFocus(RoutedEventArgs)ResizerBase.OnLostFocus(RoutedEventArgs)

Constructors

Initializes a new instance of the ResizeControl class.

C#
public ResizeControl()

Fields

PreviewStyleProperty

DependencyProperty

Identifies the PreviewStyle dependency property.

C#
public static readonly DependencyProperty PreviewStyleProperty

ShowsPreviewProperty

DependencyProperty

Identifies the ShowsPreview dependency property.

C#
public static readonly DependencyProperty ShowsPreviewProperty

Properties

Gets or sets the Style for the visual, representing resize preview. This is a dependency property.

C#
public Style PreviewStyle { get; set; }
Property Value:

The style for the visual, representing resize preview.

Gets or sets a value indicating whether the control will show a preview shadow of its position while dragged. This is a dependency property.

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

True if the preview shadow is enabled; False if the resizing happens immediately.

Methods

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call .

C#
public override void OnApplyTemplate()

Overrides: ResizerBase.OnApplyTemplate()

Called before the event occurs.

C#
protected override void OnKeyDown(KeyEventArgs e)
Parameters:eKeyEventArgs

The data for the event.