C# Class dnSpy.Hex.Editor.ZoomControlMargin.TheZoomControl

Inheritance: Microsoft.VisualStudio.Text.Editor.ZoomControl
ファイルを表示 Open project: 0xd4d/dnSpy

Private Properties

Property Type Description
TryUpdateZoomLevel bool
VisualElement_SizeChanged void
ZoomControlMargin_IsVisibleChanged void

Public Methods

Method Description
Dispose ( ) : void
TheZoomControl ( ZoomControlMargin owner ) : System
UpdateTextWithZoomLevel ( ) : void

Protected Methods

Method Description
OnGotKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
OnLostKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
OnSelectionChanged ( System.Windows.Controls.SelectionChangedEventArgs e ) : void

Private Methods

Method Description
TryUpdateZoomLevel ( ) : bool
VisualElement_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
ZoomControlMargin_IsVisibleChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

OnGotKeyboardFocus() protected method

protected OnGotKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
e System.Windows.Input.KeyboardFocusChangedEventArgs
return void

OnKeyDown() protected method

protected OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs
return void

OnLostKeyboardFocus() protected method

protected OnLostKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
e System.Windows.Input.KeyboardFocusChangedEventArgs
return void

OnSelectionChanged() protected method

protected OnSelectionChanged ( System.Windows.Controls.SelectionChangedEventArgs e ) : void
e System.Windows.Controls.SelectionChangedEventArgs
return void

TheZoomControl() public method

public TheZoomControl ( ZoomControlMargin owner ) : System
owner ZoomControlMargin
return System

UpdateTextWithZoomLevel() public method

public UpdateTextWithZoomLevel ( ) : void
return void