C# Class Patagames.Pdf.Net.Controls.Wpf.ToolBars.PdfToolBarZoom

Provides a container for Windows toolbar objects with predefined functionality for zooming
Inheritance: PdfToolBarZoomEx
Afficher le fichier Open project: Patagames/Pdf.Wpf

Méthodes protégées

Méthode Description
InitializeButtons ( ) : void

Create all buttons and add its into toolbar. Override this method to create custom buttons

OnComboBoxKeyDown ( ComboBox item, System e ) : void

Occurs when a key is pressed and held down while the ComboBox has focus.

OnComboBoxSelectionChanged ( ComboBox item, int selectedIndex ) : void

Occurs the the selected index changed

UpdateButtons ( ) : void

Called when the ToolBar's items need to change its states

Private Methods

Méthode Description
ComboBox_KeyDown ( object sender, System e ) : void
ComboBox_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
CreateZoomCombo ( ) : ComboBox
btn_ZoomInClick ( object sender, System e ) : void
btn_ZoomOutClick ( object sender, System e ) : void

Method Details

InitializeButtons() protected méthode

Create all buttons and add its into toolbar. Override this method to create custom buttons
protected InitializeButtons ( ) : void
Résultat void

OnComboBoxKeyDown() protected méthode

Occurs when a key is pressed and held down while the ComboBox has focus.
protected OnComboBoxKeyDown ( ComboBox item, System e ) : void
item System.Windows.Controls.ComboBox ComboBox
e System Key event args
Résultat void

OnComboBoxSelectionChanged() protected méthode

Occurs the the selected index changed
protected OnComboBoxSelectionChanged ( ComboBox item, int selectedIndex ) : void
item System.Windows.Controls.ComboBox ComboBox
selectedIndex int Selected index
Résultat void

UpdateButtons() protected méthode

Called when the ToolBar's items need to change its states
protected UpdateButtons ( ) : void
Résultat void