[]
        
(Showing Draft Content)

C1.Win.RibbonPreview.C1RibbonPreview

C1RibbonPreview Class

Represents a preview control with ribbon, navigation panels, and status bar.

Namespace: C1.Win.RibbonPreview
Assembly: C1.Win.RibbonPreview.8.dll
Syntax
[ToolboxBitmap(typeof(C1RibbonPreview), "C1RibbonPreview.png")]
[Docking(DockingBehavior.Ask)]
public class C1RibbonPreview : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, ISupportInitialize, IC1RibbonHolder, IC1StatusBarHolder

Constructors

Name Description
C1RibbonPreview()

Initializes a new instance of a C1RibbonPreview.

Properties

Name Description
ContextMenuElements

Gets the elements displayed in the context menu.

Document

Gets or sets the document shown by the preview.

ExportOptions

Gets options controlling the behavior of export modules.

OutlineButtonImage

Gets or sets the Outline button image displayed in SideBar.

OutlineViewSplitterPanel

Gets the outline view splitter panel.

PreviewOutlineView

Gets the preview outline view.

PreviewPane

Gets the preview pane.

PreviewTextSearchPanel

Gets the preview text search panel.

PreviewThumbnailView

Gets the preview thumbnails view.

Ribbon

Gets the ribbon control.

RibbonElements

Gets the customizable elements for Ribbon items.

RibbonGroups

Gets the customizable elements for Ribbon groups.

SearchBarElements

Gets the elements displayed in the SearchBar.

SideBarStrings

Gets the UI strings for the SideBar.

SideBarVisible

Gets or sets whether the SideBar panel is visible.

SplitContainer

Gets the split container control.

StatusBar

Gets the status bar control.

StatusBarElements

Gets the elements displayed in the StatusBar.

TextSearchButtonImage

Gets or sets the Text Search button image displayed in SideBar.

TextSearchPanelStrings

Gets the UI strings for C1PreviewTextSearchPanel.

TextSearchSplitterPanel

Gets the text search splitter panel.

TextSearchStyle

Gets or sets the type of UI used for text search.

ThumbnailButtonImage

Gets or sets the Thumbnail button image displayed in SideBar.

ThumbnailViewSplitterPanel

Gets the thumbnails view splitter panel.

ToolBarElements

Gets the customizable elements for items of Ribbon toolbar.

ViewMode

Gets or sets the view mode of preview.

ZoomDialogStrings

Gets the UI strings for the Zoom dialog.

Methods

Name Description
ActionIsEnabled(RibbonPreviewAction)

Returns True if the specified action can be executed.

ActionIsToggled(RibbonPreviewAction)

Returns True if the button for the specified action should appear in Pressed state.

Dispose(bool)

Clean up any resources being used.

ExecuteAction(RibbonPreviewAction)

Executes the specified preview action, if possible.

OnRightToLeftChanged(EventArgs)

Raises the RightToLeftChanged event.

ResetOutlineButtonImage()

Resets the OutlineButtonImage property to its default value.

ResetTextSearchButtonImage()

Resets the TextSearchButtonImage property to its default value.

ResetThumbnailButtonImage()

Resets the ThumbnailButtonImage property to its default value.

ShouldSerializeContextMenuElements()

Indicates whether the ContextMenuElements property should be serialized.

ShouldSerializeExportOptions()

Indicates whether the ExportOptions property should be serialized.

ShouldSerializeOutlineButtonImage()

Indicates whether the OutlineButtonImage property should be serialized.

ShouldSerializeRibbonElements()

Indicates whether the RibbonElements property should be serialized.

ShouldSerializeRibbonGroups()

Indicates whether the RibbonGroups property should be serialized.

ShouldSerializeSearchBarElements()

Indicates whether the SearchBarElements property should be serialized.

ShouldSerializeSideBarStrings()

Indicates whether the SideBarStrings property should be serialized.

ShouldSerializeStatusBarElements()

Indicates whether the StatusBarElements property should be serialized.

ShouldSerializeTextSearchButtonImage()

Indicates whether the TextSearchButtonImage property should be serialized.

ShouldSerializeTextSearchPanelStrings()

Indicates whether the TextSearchPanelStrings property should be serialized.

ShouldSerializeThumbnailButtonImage()

Indicates whether the ThumbnailButtonImage property should be serialized.

ShouldSerializeToolBarElements()

Indicates whether the ToolBarElements property should be serialized.

ShouldSerializeZoomDialogStrings()

Indicates whether the ZoomDialogStrings property should be serialized.

Events

Name Description
UserAction

Allows to provide non-standard action handling, or cancel the action.