C# Class ICSharpCode.WpfDesign.Designer.Controls.ZoomScrollViewer

Inheritance: System.Windows.Controls.ScrollViewer
Show file Open project: icsharpcode/WpfDesigner Class Usage Examples

Public Properties

Property Type Description
AlwaysShowZoomButtonsProperty System.Windows.DependencyProperty
ComputedZoomButtonCollapsedProperty System.Windows.DependencyProperty
CurrentZoomProperty System.Windows.DependencyProperty
EnableHorizontalWheelSupportProperty System.Windows.DependencyProperty
MaximumZoomProperty System.Windows.DependencyProperty
MinimumZoomProperty System.Windows.DependencyProperty
MouseWheelZoomProperty System.Windows.DependencyProperty

Protected Methods

Method Description
OnMouseWheel ( System.Windows.Input.MouseWheelEventArgs e ) : void

Private Methods

Method Description
CalculateZoomButtonCollapsed ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
CoerceZoom ( DependencyObject d, object baseValue ) : object
EnableHorizontalWheelSupportChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnMouseHorizontalWheel ( object d, RoutedEventArgs e ) : void
RoundToOneIfClose ( double val ) : double
ZoomScrollViewer ( ) : System

Method Details

OnMouseWheel() protected method

protected OnMouseWheel ( System.Windows.Input.MouseWheelEventArgs e ) : void
e System.Windows.Input.MouseWheelEventArgs
return void

Property Details

AlwaysShowZoomButtonsProperty public static property

public static DependencyProperty,System.Windows AlwaysShowZoomButtonsProperty
return System.Windows.DependencyProperty

ComputedZoomButtonCollapsedProperty public static property

public static DependencyProperty,System.Windows ComputedZoomButtonCollapsedProperty
return System.Windows.DependencyProperty

CurrentZoomProperty public static property

public static DependencyProperty,System.Windows CurrentZoomProperty
return System.Windows.DependencyProperty

EnableHorizontalWheelSupportProperty public static property

public static DependencyProperty,System.Windows EnableHorizontalWheelSupportProperty
return System.Windows.DependencyProperty

MaximumZoomProperty public static property

public static DependencyProperty,System.Windows MaximumZoomProperty
return System.Windows.DependencyProperty

MinimumZoomProperty public static property

public static DependencyProperty,System.Windows MinimumZoomProperty
return System.Windows.DependencyProperty

MouseWheelZoomProperty public static property

public static DependencyProperty,System.Windows MouseWheelZoomProperty
return System.Windows.DependencyProperty