Table of Contents

Class ResizeAdorner

Namespace
HeBianGu.Control.Adorner
Assembly
HeBianGu.Control.Adorner.dll
public class ResizeAdorner : ControlTemplateAdorner, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient
Inheritance
ResizeAdorner
Implements
Inherited Members
Extension Methods

Constructors

ResizeAdorner(UIElement)

public ResizeAdorner(UIElement adornedElement)

Parameters

adornedElement UIElement

Properties

MinValue

public double MinValue { get; set; }

Property Value

double

TemplateDefaultKey

public static ComponentResourceKey TemplateDefaultKey { get; }

Property Value

ComponentResourceKey

Methods

ArrangeOverride(Size)

When overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class.

protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize Size

The final area within the parent that this element should use to arrange itself and its children.

Returns

Size

The actual size used.

CreateDefaultTemplate()

protected virtual ControlTemplate CreateDefaultTemplate()

Returns

ControlTemplate

DragMoveHorizontal(double)

protected virtual void DragMoveHorizontal(double change)

Parameters

change double

DragMoveVertical(double)

protected virtual void DragMoveVertical(double change)

Parameters

change double

MeasureOverride(Size)

Implements any custom measuring behavior for the adorner.

protected override Size MeasureOverride(Size constraint)

Parameters

constraint Size

A size to constrain the adorner to.

Returns

Size

A Size object representing the amount of layout space needed by the adorner.

SetHeight(double)

protected virtual void SetHeight(double change)

Parameters

change double

SetLeft(double)

protected virtual void SetLeft(double change)

Parameters

change double

SetTop(double)

protected virtual void SetTop(double change)

Parameters

change double

SetWidth(double)

protected virtual void SetWidth(double change)

Parameters

change double