C# Class LunarEclipse.Model.StandardDescriptor

Inheritance: IDescriptor
ファイルを表示 Open project: mono/lunareclipse

Public Methods

Method Description
ChangeProperty ( DependencyObject item, DependencyProperty prop, object value ) : void
CreateDescriptor ( UIElement element ) : IDescriptor
CreateDescriptor ( UIElement element, UndoGroup group ) : IDescriptor
CreateHandleGroup ( MoonlightController controller, UIElement element ) : IHandleGroup
GetBounds ( ) : Rect
IsInside ( Rect rect ) : bool
Move ( Point offset ) : void
Move ( double dx, double dy ) : void
SetBounds ( Rect bounds ) : void
SetBounds ( double left, double top, double width, double height ) : void
StandardDescriptor ( UIElement element ) : System
StandardDescriptor ( UIElement element, UndoGroup undoGroup ) : System

Method Details

ChangeProperty() public method

public ChangeProperty ( DependencyObject item, DependencyProperty prop, object value ) : void
item System.Windows.DependencyObject
prop System.Windows.DependencyProperty
value object
return void

CreateDescriptor() public static method

public static CreateDescriptor ( UIElement element ) : IDescriptor
element UIElement
return IDescriptor

CreateDescriptor() public static method

public static CreateDescriptor ( UIElement element, UndoGroup group ) : IDescriptor
element UIElement
group UndoGroup
return IDescriptor

CreateHandleGroup() public static method

public static CreateHandleGroup ( MoonlightController controller, UIElement element ) : IHandleGroup
controller LunarEclipse.Controller.MoonlightController
element UIElement
return IHandleGroup

GetBounds() public method

public GetBounds ( ) : Rect
return System.Windows.Rect

IsInside() public method

public IsInside ( Rect rect ) : bool
rect System.Windows.Rect
return bool

Move() public method

public Move ( Point offset ) : void
offset Point
return void

Move() public method

public Move ( double dx, double dy ) : void
dx double
dy double
return void

SetBounds() public method

public SetBounds ( Rect bounds ) : void
bounds System.Windows.Rect
return void

SetBounds() public method

public SetBounds ( double left, double top, double width, double height ) : void
left double
top double
width double
height double
return void

StandardDescriptor() public method

public StandardDescriptor ( UIElement element ) : System
element UIElement
return System

StandardDescriptor() public method

public StandardDescriptor ( UIElement element, UndoGroup undoGroup ) : System
element UIElement
undoGroup UndoGroup
return System