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

Provides a container for Windows toolbar objects with predefined functionality for searching
Inheritance: PdfToolBar
Mostra file Open project: Patagames/Pdf.Wpf

Public Methods

Method Description
PdfToolBarSearch ( ) : System

Initialize the new instance of PdfToolBarSearch class

Protected Methods

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

UpdateButtons ( ) : void

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

Private Methods

Method Description
DoEvents ( ) : void
DoEventsInternal ( ) : void
OnCurrentRecordChanged ( SearchBar item, int currentRecord ) : void
OnNeedSearch ( SearchBar item, string searchText ) : void
PdfViewer_DocumentClosed ( object sender, EventArgs e ) : void
PdfViewer_DocumentClosing ( object sender, EventArguments e ) : void
PdfViewer_DocumentLoaded ( object sender, EventArgs e ) : void
ScrollToRecord ( int currentRecord ) : void
SearchBar_CurrentRecordChanged ( object sender, EventArgs e ) : void
SearchBar_NeedSearch ( object sender, EventArgs e ) : void
Search_FoundTextAdded ( object sender, EventArguments e ) : void
Search_SearchCompleted ( object sender, System e ) : void
StartSearch ( SearchBar sb, string searchText ) : void
StopSearch ( ) : void
SubscribePdfViewEvents ( PdfViewer newValue ) : void
UnsubscribePdfViewEvents ( PdfViewer oldValue ) : void
_foundTextTimer_Tick ( object sender, EventArgs 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

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

PdfToolBarSearch() public method

Initialize the new instance of PdfToolBarSearch class
public PdfToolBarSearch ( ) : System
return System

UpdateButtons() protected method

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