Class ResizeAdorner
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
TemplateDefaultKey
public static ComponentResourceKey TemplateDefaultKey { get; }
Property Value
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
SizeThe 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
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
SizeA size to constrain the adorner to.
Returns
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