C# 클래스 Patagames.Pdf.Net.Controls.Wpf.ToolBars.PdfToolBarMain

Provides a container for Windows toolbar objects with predefined functionality for opening and printing
상속: PdfToolBar
파일 보기 프로젝트 열기: Patagames/Pdf.Wpf

공개 프로퍼티들

프로퍼티 타입 설명
WindowProperty System.Windows.DependencyProperty

보호된 메소드들

메소드 설명
InitializeButtons ( ) : void

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

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

Occurs when the Open button is clicked

OnPasswordRequired ( ) : string

Occurs when the Loaded document protected by password. Application should return the password

OnPdfPrinDocumentCreaded ( EventArgs e ) : void

Occurs after an instance of PdfPrintDocument class is created and before printing is started.

OnPdfViewerChanging ( PdfViewer oldValue, PdfViewer newValue ) : void

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

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

Occurs when the Print button is clicked

UpdateButtons ( ) : void

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

비공개 메소드들

메소드 설명
PdfViewer_DocumentClosed ( object sender, EventArgs e ) : void
PdfViewer_DocumentLoaded ( object sender, EventArgs e ) : void
ShowPrintDialog ( System dlg ) : void
SubscribePdfViewEvents ( PdfViewer newValue ) : void
UnsubscribePdfViewEvents ( PdfViewer oldValue ) : void
btn_OpenDocClick ( object sender, EventArgs e ) : void
btn_PrintDocClick ( object sender, EventArgs e ) : void

메소드 상세

InitializeButtons() 보호된 메소드

Create all buttons and add its into toolbar. Override this method to create custom buttons
protected InitializeButtons ( ) : void
리턴 void

OnOpenClick() 보호된 메소드

Occurs when the Open button is clicked
protected OnOpenClick ( System.Windows.Controls.Button item ) : void
item System.Windows.Controls.Button The item that has been clicked
리턴 void

OnPasswordRequired() 보호된 메소드

Occurs when the Loaded document protected by password. Application should return the password
protected OnPasswordRequired ( ) : string
리턴 string

OnPdfPrinDocumentCreaded() 보호된 메소드

Occurs after an instance of PdfPrintDocument class is created and before printing is started.
protected OnPdfPrinDocumentCreaded ( EventArgs e ) : void
e EventArgs
리턴 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

OnPrintClick() 보호된 메소드

Occurs when the Print button is clicked
protected OnPrintClick ( 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

프로퍼티 상세

WindowProperty 공개적으로 정적으로 프로퍼티

DependencyProperty as the backing store for PdfViewer
public static DependencyProperty,System.Windows WindowProperty
리턴 System.Windows.DependencyProperty