C# Class Avalonia.Controls.PanAndZoom.ZoomBorder

Inheritance: Border
Afficher le fichier Open project: wieslawsoltes/MatrixPanAndZoomDemo Class Usage Examples

Méthodes publiques

Свойство Type Description
AutoFitModeProperty AvaloniaProperty
ZoomSpeedProperty AvaloniaProperty

Méthodes publiques

Méthode Description
AutoFit ( ) : void

AutoFit ( Rect panelSize, Rect elementSize ) : void

Extent ( ) : void

Extent ( Rect panelSize, Rect elementSize ) : void

Fill ( ) : void

Fill ( Rect panelSize, Rect elementSize ) : void

FixInvalidPointPosition ( System.Point point ) : System.Point

Invalidate ( ) : void

PanTo ( System.Point point ) : void

Reset ( ) : void

StartPan ( System.Point point ) : void

ToggleAutoFitMode ( ) : void

ZoomDeltaTo ( double delta, System.Point point ) : void

ZoomTo ( double zoom, System.Point point ) : void

Méthodes protégées

Méthode Description
ArrangeOverride ( Size finalSize ) : Size

Private Methods

Méthode Description
Border_PointerMoved ( object sender, Avalonia.Input.PointerEventArgs e ) : void
Border_PointerPressed ( object sender, Avalonia.Input.PointerPressedEventArgs e ) : void
Border_PointerReleased ( object sender, Avalonia.Input.PointerReleasedEventArgs e ) : void
Border_PointerWheelChanged ( object sender, Avalonia.Input.PointerWheelEventArgs e ) : void
Initialize ( IControl element ) : void
PanAndZoom_DetachedFromVisualTree ( object sender, VisualTreeAttachmentEventArgs e ) : void
Unload ( ) : void
ZoomBorder ( ) : System

Method Details

ArrangeOverride() protected méthode

protected ArrangeOverride ( Size finalSize ) : Size
finalSize Size
Résultat Size

AutoFit() public méthode

public AutoFit ( ) : void
Résultat void

AutoFit() public méthode

public AutoFit ( Rect panelSize, Rect elementSize ) : void
panelSize Rect
elementSize Rect
Résultat void

Extent() public méthode

public Extent ( ) : void
Résultat void

Extent() public méthode

public Extent ( Rect panelSize, Rect elementSize ) : void
panelSize Rect
elementSize Rect
Résultat void

Fill() public méthode

public Fill ( ) : void
Résultat void

Fill() public méthode

public Fill ( Rect panelSize, Rect elementSize ) : void
panelSize Rect
elementSize Rect
Résultat void

FixInvalidPointPosition() public méthode

public FixInvalidPointPosition ( System.Point point ) : System.Point
point System.Point
Résultat System.Point

Invalidate() public méthode

public Invalidate ( ) : void
Résultat void

PanTo() public méthode

public PanTo ( System.Point point ) : void
point System.Point
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

StartPan() public méthode

public StartPan ( System.Point point ) : void
point System.Point
Résultat void

ToggleAutoFitMode() public méthode

public ToggleAutoFitMode ( ) : void
Résultat void

ZoomDeltaTo() public méthode

public ZoomDeltaTo ( double delta, System.Point point ) : void
delta double
point System.Point
Résultat void

ZoomTo() public méthode

public ZoomTo ( double zoom, System.Point point ) : void
zoom double
point System.Point
Résultat void

Property Details

AutoFitModeProperty public_oe static_oe property

public static AvaloniaProperty AutoFitModeProperty
Résultat AvaloniaProperty

ZoomSpeedProperty public_oe static_oe property

public static AvaloniaProperty ZoomSpeedProperty
Résultat AvaloniaProperty