Метод | Описание | |
---|---|---|
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, |
||
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 |
protected OnActualSizeClick ( System.Windows.Controls.Primitives.ToggleButton item ) : void | ||
item | System.Windows.Controls.Primitives.ToggleButton | The item that has been clicked |
Результат | void |
protected OnFitHeightClick ( System.Windows.Controls.Primitives.ToggleButton item ) : void | ||
item | System.Windows.Controls.Primitives.ToggleButton | The item that has been clicked |
Результат | void |
protected OnFitPageClick ( System.Windows.Controls.Primitives.ToggleButton item ) : void | ||
item | System.Windows.Controls.Primitives.ToggleButton | The item that has been clicked |
Результат | void |
protected OnFitWidthClick ( System.Windows.Controls.Primitives.ToggleButton item ) : void | ||
item | System.Windows.Controls.Primitives.ToggleButton | The item that has been clicked |
Результат | void |
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 |