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

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

Méthodes publiques

Méthode Description
PdfToolBarSearch ( ) : System

Initialize the new instance of PdfToolBarSearch class

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.

UpdateButtons ( ) : void

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

Private Methods

Méthode 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 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

PdfToolBarSearch() public méthode

Initialize the new instance of PdfToolBarSearch class
public PdfToolBarSearch ( ) : System
Résultat System

UpdateButtons() protected méthode

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