C# Class Yuhan.WPF.CustomWindow.WindowResizingAdorner

Inheritance: System.Windows.Documents.Adorner
Datei anzeigen Open project: hansuky/Yuhan Class Usage Examples

Public Methods

Method Description
WindowResizingAdorner ( UIElement element, Window window ) : System

Instantiates WindowResizingAdorner class

Protected Methods

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

Private Methods

Method Description
CreateThumb ( Position position, System.Windows.Input.Cursor cursor ) : WindowThumb

Auxilliary method for creating thumbs

SetWindowHeight ( double height ) : void

Auxiliary method for setting Window height

SetWindowWidth ( double width ) : void

Auxiliary method for setting Window width

Thumb_DragDelta ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs e ) : void
Thumb_DragStarted ( object sender, System.Windows.Controls.Primitives.DragStartedEventArgs e ) : void

Method Details

ArrangeOverride() protected method

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

GetVisualChild() protected method

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

WindowResizingAdorner() public method

Instantiates WindowResizingAdorner class
public WindowResizingAdorner ( UIElement element, Window window ) : System
element UIElement Control into which's adorer layer will be this adorner added
window System.Windows.Window
return System