C# Класс ScreenToGif.Controls.ResizingAdorner

The Resizing Adorner controls. https://social.msdn.microsoft.com/Forums/vstudio/en-US/274bc547-dadf-42b5-b3f1-6d29407f9e79/resize-adorner-scale-problem?forum=wpf
Наследование: System.Windows.Documents.Adorner
Показать файл Открыть проект

Открытые методы

Метод Описание
GetDesiredTransform ( System.Windows.Media.GeneralTransform transform ) : System.Windows.Media.GeneralTransform
ResizingAdorner ( UIElement adornedElement ) : System

Initialize the ResizingAdorner.

Защищенные методы

Метод Описание
ArrangeOverride ( Size finalSize ) : Size

Arrange the Adorners.

GetVisualChild ( int index ) : Visual

Gets the VisualChildren at given position.

Приватные методы

Метод Описание
BuildAdornerBorder ( ) : void

Creates the dashed border around the adorned element.

BuildAdornerCorner ( System.Windows.Controls.Primitives.Thumb &cornerThumb, System.Windows.Input.Cursor customizedCursor ) : void

Instantiates the corner Thumbs, setting the Cursor property, some appearance properties, and add the elements to the visual tree.

EnforceSize ( FrameworkElement adornedElement ) : void
GetCanvasZoom ( Visual referenceVisual ) : double
HandleBottomLeft ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs args ) : void

Handler for resizing from the bottom-left.

HandleBottomMiddle ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs args ) : void

Handler for resizing from the bottom-middle.

HandleBottomRight ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs args ) : void

Handler for resizing from the bottom-right.

HandleLeftMiddle ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs args ) : void

Handler for resizing from the left-middle.

HandleRightMiddle ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs args ) : void

Handler for resizing from the right-middle.

HandleTopLeft ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs args ) : void

Handler for resizing from the top-left.

HandleTopMiddle ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs args ) : void

Handler for resizing from the top-middle.

HandleTopRight ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs args ) : void

Handler for resizing from the top-right.

Описание методов

ArrangeOverride() защищенный Метод

Arrange the Adorners.
protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size The final Size
Результат System.Windows.Size

GetDesiredTransform() публичный Метод

public GetDesiredTransform ( System.Windows.Media.GeneralTransform transform ) : System.Windows.Media.GeneralTransform
transform System.Windows.Media.GeneralTransform
Результат System.Windows.Media.GeneralTransform

GetVisualChild() защищенный Метод

Gets the VisualChildren at given position.
protected GetVisualChild ( int index ) : Visual
index int The Index to look for.
Результат Visual

ResizingAdorner() публичный Метод

Initialize the ResizingAdorner.
public ResizingAdorner ( UIElement adornedElement ) : System
adornedElement UIElement The element to be adorned.
Результат System