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

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

Protected Methods

Method 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

Method 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 method

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

OnComboBoxKeyDown() protected method

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
return void

OnComboBoxSelectionChanged() protected method

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

UpdateButtons() protected method

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