C# Класс Patagames.Pdf.Net.Controls.Wpf.ToolBars.PdfToolBarSizes

Provides a container for Windows toolbar objects with predefined functionality for changing pages size mode
Наследование: PdfToolBar
Показать файл Открыть проект

Защищенные методы

Метод Описание
InitializeButtons ( ) : void

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

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

Occurs when the Actual Size button is clicked

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

Occurs when the Fit Height button is clicked

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

Occurs when the Fit Page button is clicked

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

Occurs when the Fit Width 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_ActualSizeClick ( object sender, System e ) : void
btn_FitHeightClick ( object sender, System e ) : void
btn_FitPageClick ( object sender, System e ) : void
btn_FitWidthClick ( 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

OnActualSizeClick() защищенный Метод

Occurs when the Actual Size button is clicked
protected OnActualSizeClick ( System.Windows.Controls.Primitives.ToggleButton item ) : void
item System.Windows.Controls.Primitives.ToggleButton The item that has been clicked
Результат void

OnFitHeightClick() защищенный Метод

Occurs when the Fit Height button is clicked
protected OnFitHeightClick ( System.Windows.Controls.Primitives.ToggleButton item ) : void
item System.Windows.Controls.Primitives.ToggleButton The item that has been clicked
Результат void

OnFitPageClick() защищенный Метод

Occurs when the Fit Page button is clicked
protected OnFitPageClick ( System.Windows.Controls.Primitives.ToggleButton item ) : void
item System.Windows.Controls.Primitives.ToggleButton The item that has been clicked
Результат void

OnFitWidthClick() защищенный Метод

Occurs when the Fit Width button is clicked
protected OnFitWidthClick ( 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