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

Provides a container for Windows toolbar objects with predefined functionality for pages rotation
Inheritance: PdfToolBar
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

OnPdfViewerChanging ( PdfViewer oldValue, PdfViewer newValue ) : void

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

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

Occurs when the Rotate Left button is clicked

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

Occurs when the Rotate Right button is clicked

UpdateButtons ( ) : void

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

Private Methods

Méthode Description
PdfViewer_SomethingChanged ( object sender, EventArgs e ) : void
SubscribePdfViewEvents ( PdfViewer newValue ) : void
UnsubscribePdfViewEvents ( PdfViewer oldValue ) : void
btn_RotateLeftClick ( object sender, System e ) : void
btn_RotateRightClick ( 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

OnPdfViewerChanging() protected méthode

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.
Résultat void

OnRotateLeftClick() protected méthode

Occurs when the Rotate Left button is clicked
protected OnRotateLeftClick ( System.Windows.Controls.Button item ) : void
item System.Windows.Controls.Button The item that has been clicked
Résultat void

OnRotateRightClick() protected méthode

Occurs when the Rotate Right button is clicked
protected OnRotateRightClick ( System.Windows.Controls.Button item ) : void
item System.Windows.Controls.Button The item that has been clicked
Résultat void

UpdateButtons() protected méthode

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