[]
        
(Showing Draft Content)

C1.Win.RibbonPreview.C1RibbonPreviewDialog

C1RibbonPreviewDialog Class

Represents a C1RibbonForm with C1Ribbon-based preview control on it.

Inheritance
C1RibbonPreviewDialog
Namespace: C1.Win.RibbonPreview
Assembly: C1.Win.RibbonPreview.8.dll
Syntax
[ToolboxBitmap(typeof(C1RibbonPreviewDialog), "C1RibbonPreviewDialog.png")]
public class C1RibbonPreviewDialog : C1RibbonForm

Constructors

Name Description
C1RibbonPreviewDialog()

Initializes a new instance of a C1RibbonPreviewDialog.

C1RibbonPreviewDialog(IContainer)

Initializes a new instance of a C1RibbonPreviewDialog.

Properties

Name Description
ContextMenuElements

Gets the elements displayed in the context menu.

DefaultMinimumSize

Gets the default minimum size of the control.

Document

Gets or sets the document shown by the preview.

ExportOptions

Gets options controlling the behavior of export modules.

Font

Gets or sets the font of the text displayed by the dialog.

FormBorderStyle

Gets or sets the border style of the form.

Location

Gets or sets the Point that represents the upper-left corner of the Form in screen coordinates.

MaximumSize

Gets the maximum size the form can be resized to.

MinimumSize

Gets or sets the minimum size the form can be resized to.

Opacity

Gets or sets the opacity level of the form.

OutlineButtonImage

Gets or sets the Outline button image displayed in SideBar.

PrinterSettings

Gets or sets printer settings.

RibbonElements

Gets the customizable elements for Ribbon items.

RibbonGroups

Gets the customizable elements for Ribbon groups.

RibbonPreview

Gets the hosted C1RibbonPreview.

RightToLeft

Gets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts.

RightToLeftLayout

Gets or sets a value indicating whether right-to-left mirror placement is turned on.

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.

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.

TextSearchStyle

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

ThumbnailButtonImage

Gets or sets the Thumbnail button image displayed in SideBar.

ToolBarElements

Gets the customizable elements for items of Ribbon toolbar.

ViewMode

Gets or sets the view mode of preview.

Visible

Gets or sets a value indicating whether the dialog is displayed.

ZoomDialogStrings

Gets the UI strings for the Zoom dialog.

Methods

Name Description
Dispose(bool)

Clean up any resources being used.

OnShown(EventArgs)

For internal use.

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
LocationChanged

Occurs when the Location property value has changed.

MaximumSizeChanged

Occurs when the value of the MaximumSize property has changed.

MinimumSizeChanged

Occurs when the value of the MinimumSize property has changed.

RightToLeftChanged

Occurs when the RightToLeft property value changes.

RightToLeftLayoutChanged

Occurs after the value of the RightToLeftLayout property changes.

SizeChanged

Occurs when the Size property value changes.

UserAction

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