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

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

보호된 메소드들

메소드 설명
InitializeButtons ( ) : void

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

OnModeHorizontalClick ( System.Windows.Controls.Primitives.ToggleButton item ) : void

Occurs when the Continuous Horizontal button is clicked

OnModeSingleClick ( System.Windows.Controls.Primitives.ToggleButton item ) : void

Occurs when the Single Page button is clicked

OnModeTilesClick ( System.Windows.Controls.Primitives.ToggleButton item ) : void

Occurs when the Continuous Facing button is clicked

OnModeVerticalClick ( System.Windows.Controls.Primitives.ToggleButton item ) : void

Occurs when the Continuous Vertical button is clicked

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

비공개 메소드들

메소드 설명
PdfViewer_SomethingChanged ( object sender, EventArgs e ) : void
SubscribePdfViewEvents ( PdfViewer newValue ) : void
UnsubscribePdfViewEvents ( PdfViewer oldValue ) : void
btn_ModeHorizontalClick ( object sender, System e ) : void
btn_ModeSingleClick ( object sender, System e ) : void
btn_ModeTilesClick ( object sender, System e ) : void
btn_ModeVerticalClick ( object sender, System e ) : void

메소드 상세

InitializeButtons() 보호된 메소드

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

OnModeHorizontalClick() 보호된 메소드

Occurs when the Continuous Horizontal button is clicked
protected OnModeHorizontalClick ( System.Windows.Controls.Primitives.ToggleButton item ) : void
item System.Windows.Controls.Primitives.ToggleButton The item that has been clicked
리턴 void

OnModeSingleClick() 보호된 메소드

Occurs when the Single Page button is clicked
protected OnModeSingleClick ( System.Windows.Controls.Primitives.ToggleButton item ) : void
item System.Windows.Controls.Primitives.ToggleButton The item that has been clicked
리턴 void

OnModeTilesClick() 보호된 메소드

Occurs when the Continuous Facing button is clicked
protected OnModeTilesClick ( System.Windows.Controls.Primitives.ToggleButton item ) : void
item System.Windows.Controls.Primitives.ToggleButton The item that has been clicked
리턴 void

OnModeVerticalClick() 보호된 메소드

Occurs when the Continuous Vertical button is clicked
protected OnModeVerticalClick ( System.Windows.Controls.Primitives.ToggleButton item ) : void
item System.Windows.Controls.Primitives.ToggleButton The item that has been clicked
리턴 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

UpdateButtons() 보호된 메소드

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