C# Class FirstFloor.ModernUI.Windows.DragAdorner

Inheritance: System.Windows.Documents.Adorner
ファイルを表示 Open project: gro-ove/actools

Public Methods

Method Description
DragAdorner ( UIElement adornedElement, Size size, System.Windows.Media.Brush brush ) : System.Windows
GetDesiredTransform ( System.Windows.Media.GeneralTransform transform ) : System.Windows.Media.GeneralTransform
SetOffsets ( double left, double top ) : void

Protected Methods

Method Description
ArrangeOverride ( Size finalSize ) : Size
GetVisualChild ( int index ) : Visual
MeasureOverride ( Size constraint ) : Size

Private Methods

Method Description
UpdateLocation ( ) : void

Method Details

ArrangeOverride() protected method

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

DragAdorner() public method

public DragAdorner ( UIElement adornedElement, Size size, System.Windows.Media.Brush brush ) : System.Windows
adornedElement System.Windows.UIElement
size System.Windows.Size
brush System.Windows.Media.Brush
return System.Windows

GetDesiredTransform() public method

public GetDesiredTransform ( System.Windows.Media.GeneralTransform transform ) : System.Windows.Media.GeneralTransform
transform System.Windows.Media.GeneralTransform
return System.Windows.Media.GeneralTransform

GetVisualChild() protected method

protected GetVisualChild ( int index ) : Visual
index int
return Visual

MeasureOverride() protected method

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

SetOffsets() public method

public SetOffsets ( double left, double top ) : void
left double
top double
return void