C# Класс Patagames.Pdf.Net.Controls.Wpf.ToolBars.PdfToolBarPages

Provides a container for Windows toolbar objects with predefined functionality for working with pages
Наследование: PdfToolBar
Показать файл Открыть проект

Защищенные методы

Метод Описание
InitializeButtons ( ) : void

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

OnPageNumberKeyDown ( TextBox item, System e ) : void

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

OnPdfViewerChanging ( PdfViewer oldValue, PdfViewer newValue ) : void

Called when the current PdfViewer control associated with the ToolBar is changing.

OnToBeginClick ( System.Windows.Controls.Button item ) : void

Occurs when the First Page button is clicked

OnToEndClick ( System.Windows.Controls.Button item ) : void

Occurs when the Last Page button is clicked

OnToLeftClick ( System.Windows.Controls.Button item ) : void

Occurs when the Previous Page button is clicked

OnToRightClick ( System.Windows.Controls.Button item ) : void

Occurs when the Next Page button is clicked

UpdateButtons ( ) : void

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

Приватные методы

Метод Описание
CreateTextBox ( ) : TextBox
PdfViewer_SomethingChanged ( object sender, EventArgs e ) : void
SubscribePdfViewEvents ( PdfViewer newValue ) : void
Subscribe_AfterDocumentChanged ( object sender, EventArgs e ) : void
Subscribe_BeforeDocumentChanged ( object sender, EventArguments e ) : void
UnsubscribePdfViewEvents ( PdfViewer oldValue ) : void
btnPageNumber_KeyDown ( object sender, System e ) : void
btn_FirstPageClick ( object sender, EventArgs e ) : void
btn_LastPageClick ( object sender, System e ) : void
btn_NextPageClick ( object sender, System e ) : void
btn_PreviousPageClick ( object sender, System e ) : void

Описание методов

InitializeButtons() защищенный Метод

Create all buttons and add its into toolbar. Override this method to create custom buttons
protected InitializeButtons ( ) : void
Результат void

OnPageNumberKeyDown() защищенный Метод

Occurs when a key is pressed and held down while the PageNumber textbox has focus.
protected OnPageNumberKeyDown ( TextBox item, System e ) : void
item System.Windows.Controls.TextBox PageNumber item
e System Key event args
Результат void

OnPdfViewerChanging() защищенный Метод

Called when the current PdfViewer control associated with the ToolBar is changing.
protected OnPdfViewerChanging ( PdfViewer oldValue, PdfViewer newValue ) : void
oldValue PdfViewer PdfViewer control of which was associated with the ToolBar.
newValue PdfViewer PdfViewer control of which will be associated with the ToolBar.
Результат void

OnToBeginClick() защищенный Метод

Occurs when the First Page button is clicked
protected OnToBeginClick ( System.Windows.Controls.Button item ) : void
item System.Windows.Controls.Button The item that has been clicked
Результат void

OnToEndClick() защищенный Метод

Occurs when the Last Page button is clicked
protected OnToEndClick ( System.Windows.Controls.Button item ) : void
item System.Windows.Controls.Button The item that has been clicked
Результат void

OnToLeftClick() защищенный Метод

Occurs when the Previous Page button is clicked
protected OnToLeftClick ( System.Windows.Controls.Button item ) : void
item System.Windows.Controls.Button The item that has been clicked
Результат void

OnToRightClick() защищенный Метод

Occurs when the Next Page button is clicked
protected OnToRightClick ( System.Windows.Controls.Button item ) : void
item System.Windows.Controls.Button The item that has been clicked
Результат void

UpdateButtons() защищенный Метод

Called when the ToolBar's items need to change its states
protected UpdateButtons ( ) : void
Результат void