C# Class Glass.Design.Panels.RelativeCanvas.ResizerCanvas

Inheritance: System.Windows.Controls.Canvas
Show file Open project: SuperJMN/Glass

Public Properties

Property Type Description
RelativeHookProperty System.Windows.DependencyProperty
RelativeLocationProperty System.Windows.DependencyProperty
RelativeSizeProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetRelativeHook ( DependencyObject d ) : Point
GetRelativeLocation ( DependencyObject d ) : Point
GetRelativeSize ( DependencyObject d ) : Size
SetRelativeHook ( DependencyObject d, Point value ) : void
SetRelativeLocation ( DependencyObject d, Point value ) : void
SetRelativeSize ( DependencyObject d, Size value ) : void

Protected Methods

Method Description
ArrangeOverride ( Size arrangeSize ) : Size
MeasureOverride ( Size constraint ) : Size
OnVisualChildrenChanged ( DependencyObject visualAdded, DependencyObject visualRemoved ) : void

Private Methods

Method Description
ElementOnSizeChanged ( object sender, System.Windows.SizeChangedEventArgs sizeChangedEventArgs ) : void
GetArrangeSize ( Size constraint, FrameworkElement child ) : Size
GetMeasureSize ( Size constraint, FrameworkElement child ) : Size
OnRelativeHookChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnRelativeLocationChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnRelativeSizeChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Method Details

ArrangeOverride() protected method

protected ArrangeOverride ( Size arrangeSize ) : Size
arrangeSize System.Windows.Size
return System.Windows.Size

GetRelativeHook() public static method

public static GetRelativeHook ( DependencyObject d ) : Point
d System.Windows.DependencyObject
return System.Windows.Point

GetRelativeLocation() public static method

public static GetRelativeLocation ( DependencyObject d ) : Point
d System.Windows.DependencyObject
return System.Windows.Point

GetRelativeSize() public static method

public static GetRelativeSize ( DependencyObject d ) : Size
d System.Windows.DependencyObject
return System.Windows.Size

MeasureOverride() protected method

protected MeasureOverride ( Size constraint ) : Size
constraint System.Windows.Size
return System.Windows.Size

OnVisualChildrenChanged() protected method

protected OnVisualChildrenChanged ( DependencyObject visualAdded, DependencyObject visualRemoved ) : void
visualAdded System.Windows.DependencyObject
visualRemoved System.Windows.DependencyObject
return void

SetRelativeHook() public static method

public static SetRelativeHook ( DependencyObject d, Point value ) : void
d System.Windows.DependencyObject
value System.Windows.Point
return void

SetRelativeLocation() public static method

public static SetRelativeLocation ( DependencyObject d, Point value ) : void
d System.Windows.DependencyObject
value System.Windows.Point
return void

SetRelativeSize() public static method

public static SetRelativeSize ( DependencyObject d, Size value ) : void
d System.Windows.DependencyObject
value System.Windows.Size
return void

Property Details

RelativeHookProperty public static property

public static DependencyProperty,System.Windows RelativeHookProperty
return System.Windows.DependencyProperty

RelativeLocationProperty public static property

public static DependencyProperty,System.Windows RelativeLocationProperty
return System.Windows.DependencyProperty

RelativeSizeProperty public static property

public static DependencyProperty,System.Windows RelativeSizeProperty
return System.Windows.DependencyProperty