C# Class FloatingWindowZUI.FloatingWindowHostZUI

Inheritance: FloatingWindowHost
Show file Open project: Zoomicon/ZUI

Public Properties

Property Type Description
ContentScalableProperty System.Windows.DependencyProperty
ContentScaleProperty System.Windows.DependencyProperty
MaxContentScaleProperty System.Windows.DependencyProperty
MinContentScaleProperty System.Windows.DependencyProperty

Protected Properties

Property Type Description
_zoomHost ZoomAndPan.ZoomAndPanControl
_zoomSlider System.Windows.Controls.Slider
_zoomToFitButton System.Windows.Controls.Button

Public Methods

Method Description
ApplyStyle ( ) : void
FloatingWindowHostZUI ( ) : System.Collections.Specialized
OnApplyTemplate ( ) : void
ZoomToFit ( ) : void

Private Methods

Method Description
FloatingWindow_MouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
FloatingWindow_MouseRightButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
FloatingWindow_MouseUp ( object sender, System.Windows.Input.MouseButtonEventArgs e, MouseButton changedButton ) : void
FloatingWindow_MouseWheel ( object sender, System.Windows.Input.MouseWheelEventArgs e ) : void
SubscribeToFloatingWindowEvents ( ) : void
SubscribeToFloatingWindowEvents ( FloatingWindow w ) : void
UnsubscribeFromFloatingWindowEvents ( FloatingWindow w ) : void
ZoomIn ( Point contentZoomCenter ) : void

The 'ZoomIn' command (bound to the plus key) was executed.

ZoomOut ( Point contentZoomCenter ) : void

The 'ZoomOut' command (bound to the minus key) was executed.

ZoomToFitButton_Click ( object sender, RoutedEventArgs e ) : void

Method Details

ApplyStyle() public method

public ApplyStyle ( ) : void
return void

FloatingWindowHostZUI() public method

public FloatingWindowHostZUI ( ) : System.Collections.Specialized
return System.Collections.Specialized

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

ZoomToFit() public method

public ZoomToFit ( ) : void
return void

Property Details

ContentScalableProperty public static property

ContentScalable Dependency Property
public static DependencyProperty,System.Windows ContentScalableProperty
return System.Windows.DependencyProperty

ContentScaleProperty public static property

ContentScale Dependency Property
public static DependencyProperty,System.Windows ContentScaleProperty
return System.Windows.DependencyProperty

MaxContentScaleProperty public static property

MaxContentScale Dependency Property
public static DependencyProperty,System.Windows MaxContentScaleProperty
return System.Windows.DependencyProperty

MinContentScaleProperty public static property

MinContentScale Dependency Property
public static DependencyProperty,System.Windows MinContentScaleProperty
return System.Windows.DependencyProperty

_zoomHost protected property

protected ZoomAndPanControl,ZoomAndPan _zoomHost
return ZoomAndPan.ZoomAndPanControl

_zoomSlider protected property

protected Slider,System.Windows.Controls _zoomSlider
return System.Windows.Controls.Slider

_zoomToFitButton protected property

protected Button,System.Windows.Controls _zoomToFitButton
return System.Windows.Controls.Button