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

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

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

Occurs when the Copy button is clicked

OnPdfViewerChanging ( PdfViewer oldValue, PdfViewer newValue ) : void

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

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

Occurs when the Select All button is clicked

UpdateButtons ( ) : void

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

Private Methods

Method Description
PdfViewer_SomethingChanged ( object sender, EventArgs e ) : void
SubscribePdfViewEvents ( PdfViewer newValue ) : void
UnsubscribePdfViewEvents ( PdfViewer oldValue ) : void
btn_CopyClick ( object sender, System e ) : void
btn_SelectAllClick ( 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

OnCopyClick() protected method

Occurs when the Copy button is clicked
protected OnCopyClick ( System.Windows.Controls.Button item ) : void
item System.Windows.Controls.Button The item that has been clicked
return void

OnPdfViewerChanging() protected method

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

OnSelectAllClick() protected method

Occurs when the Select All button is clicked
protected OnSelectAllClick ( System.Windows.Controls.Button item ) : void
item System.Windows.Controls.Button The item that has been clicked
return void

UpdateButtons() protected method

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