[]
Represents a control showing the associated document with additional tools.
public class FlexViewer : Control, ICanvasResourceCreatorWithDpi, ICanvasResourceCreator
Name | Description |
---|---|
FlexViewer() | Initializes a new instance of a FlexViewer. |
Name | Description |
---|---|
ActiveTool | Gets the value identifying the tool panel that is currently visible. |
ActualSizeCommand | The ICommand that sets zoom to 100%. |
CollectSearchHistory | Indicates whether the search history should be collected and shown when the user types in the search box. |
Continuous | Gets or sets a value indicating whether to show document pages continuously. |
CopyTextCommand | The ICommand that copies the selected text to Clipboard. |
DeselectAllCommand | The ICommand that deselects all text in the document. |
Device | |
DocumentSource | Gets or sets the document source which is used to generate a report. |
Dpi | |
EightPagesViewCommand | The ICommand that sets layout to eight page columns view. |
ExpandedSplitViewMode | Gets or sets a value specifying how the SplitView is shown in the expanded mode. |
FacingPages | Gets or sets a value indicating whether to show facing pages side by side, the first page on the right. |
FacingPagesCommand | The ICommand that shows facing pages side by side. |
FirstPageCommand | The ICommand that goes to the first page. |
FourPagesViewCommand | The ICommand that sets layout to four page columns view. |
IsExpandedContent | Gets a value indicating if the tool and preview panels are displayed side by side. |
LastPageCommand | The ICommand that goes to the last page. |
LimitSearchToCurrentPage | Gets or sets a value indicating whether the text search should be limited to current page. |
LinkOverpan | Gets or sets the margin when scrolling to a link or bookmark. |
LoadingPageSize | Gets or sets the size of a page which is not loaded yet. |
MatchCase | Gets or sets a value indicating if search should match case. |
MatchWholeWord | Gets or sets a value indicating if search should match the whole word. |
MinExpandedContentWidth | Gets or sets the minimal width of the content panel when the tool and preview panels are displayed side by side. |
MinExpandedSplitViewWidth | Gets or sets the minimal width of the control when the SplitView uses the expanded mode. |
MinPreviewPanelWidth | Gets or sets the minimal width of the preview panel in the expanded display mode. |
MinToolPanelWidth | Gets or sets the minimal width of the tools panel in the expanded display mode. |
MinTopSearchBarWidth | Gets or sets the minimal width of the top search bar. Search bar will be moved to the bottom if there is not enough space. |
NavigateBackwardCommand | The ICommand that navigates to the previous position. |
NavigateForwardCommand | The ICommand that navigates to the next position. |
NextPageCommand | The ICommand that goes to the next page. |
NonPaginatedContentAlignment | Gets or sets the alignment of the non-paginated content. |
OnePageViewCommand | The ICommand that sets layout to one page column view. |
OneRowViewCommand | The ICommand that sets the non-continuous layout to one row view. |
PageAreaBackground | Gets or sets a Microsoft.Graphics.Canvas.Brushes.CanvasSolidColorBrush which provides background for the page area. |
PageAreaPadding | Gets or sets the amount of padding between pages and the preview window edges. |
PageBackground | Gets or sets a Microsoft.UI.Xaml.Media.SolidColorBrush used for filling the page content. |
PageBorderBrush | Gets or sets a Microsoft.UI.Xaml.Media.SolidColorBrush used for drawing page borders. |
PageColumns | Gets or sets the number of page columns shown. |
PageOverpan | Gets or sets the portion of the previous page that remains visible when the user navigates to the next page. |
PageRows | Gets or sets the number of page rows shown in non-continuous mode. |
PageSpacing | Gets or sets the amount of padding between pages in the preview. |
PageWidthCommand | The ICommand that sets zoom to page width. |
Pane | Gets the hosted FlexViewerPane control. |
PreviousPageCommand | The ICommand that goes to the previous page. |
PrintCommand | The ICommand that opens the Print dialog. |
RotateClockwiseCommand | The ICommand that rotates pages by 90 degrees clockwise relative to the current orientation. |
RotateCounterClockwiseCommand | The ICommand that rotates pages by 90 degrees counter-clockwise relative to the current orientation. |
RotateView | Gets or sets a value indicating if the viewed pages are rotated by the specified angle. |
SearchHistory | Gets the list of the collected search strings. |
SelectAllCommand | The ICommand that selects all text in the document. |
StatusBackground | Gets or sets a Microsoft.UI.Xaml.Media.Brush which provides background for the status panel. |
StatusBorderBrush | Gets or sets a Microsoft.UI.Xaml.Media.Brush which is used for drawing border of the status panel. |
StatusForeground | Gets or sets a Microsoft.UI.Xaml.Media.Brush which is used for drawing text of the status panel. |
ThreeRowsViewCommand | The ICommand that sets the non-continuous layout to three rows view. |
ThumbnailOverBackground | Gets or sets a Microsoft.UI.Xaml.Media.Brush used for filling background for a hovered thumbnail. |
ThumbnailPageNumBackground | Gets or sets a Microsoft.UI.Xaml.Media.Brush used for filling page number label on a thumbnail. |
ThumbnailPageNumForeground | Gets or sets a Microsoft.UI.Xaml.Media.Brush used for drawing page number label on a thumbnail. |
ThumbnailScale | Gets or sets the scale of the page thumbnails. |
ThumbnailSelectedBackground | Gets or sets a Microsoft.UI.Xaml.Media.Brush used for filling background for a selected thumbnail. |
ThumbnailSelectedOverBackground | Gets or sets a Microsoft.UI.Xaml.Media.Brush used for filling background for a selected hovered thumbnail. |
ToolMenuItems | Gets the collection of items displayed in the Tools menu. |
ToolMenuWidth | Gets or sets a value specifying the width of the control's tool menu. |
TwoPagesViewCommand | The ICommand that sets layout to two page columns view. |
TwoRowsViewCommand | The ICommand that sets the non-continuous layout to two rows view. |
UseIncrementalSearch | Indicates if "search as you type" method of search should be used. |
WholePageCommand | The ICommand that sets zoom to whole page. |
WideLayout | Gets or sets a value indicating whether a multi-column layout is applied to wide reports by default. |
ZoomFactor | Gets or sets the zoom factor (1.0 is actual size). |
ZoomMode | Gets or sets the preview zoom mode. |
Name | Description |
---|---|
ConvertDipsToPixels(float, CanvasDpiRounding) | |
ConvertPixelsToDips(int) | |
HandleResuming(bool) | Call this method from a handler of the Application.Resuming event. |
HandleSuspending(bool) | Call this method from a handler of the Application.Suspending event. |
HideToolPanel() | Hides the tool panel that is currently visible. |
OnApplyTemplate() | |
OnNavigateToCustomTool(CustomToolEventArgs) | Raises the NavigateToCustomTool event. |
OnPrepareToolMenu() | Raises the PrepareToolMenu event. |
ShowToolPanel(FlexViewerTool, bool) | Shows the specified tool panel or hides the panel if it is currently visible. |
Name | Description |
---|---|
NavigateToCustomTool | Occurs when the user clicks the custom tool menu item. |
PrepareToolMenu | Occurs after adding the default items to the Tools menu. |