PreviewDraftButton Properties Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

The PreviewDraftButton type exposes the following members.

Properties

  Name Description
Public property BackwardsComponentCompatibilityMode
Sets or gets a value that indicates whether the code runs in backwards compatibility component mode. The default value is false.
(Inherited from ActiveScriptingBase.)
Public property ButtonID
Sets or gets the id attribute of the button rendered. The default value is DefaultButtonID. This property cannot be empty or null.
Public property ComponentName
Gets the name of the component
(Overrides ActiveScriptingBaseComponentName.)
Public property Conformance
Gets a value which specifies which type of code a component can generate.
(Overrides ActiveScriptingBaseConformance.)
Protected property Code example CS_DataFields
Gets a EPTXmlParser that contains a collection of EPT field definitions and values. This property is the replacement for the obsolete EPT_GetFieldName(String) and EPT_GetFieldValue(String) methods.
(Inherited from CodeBase.)
Public property CSSClassName
Sets or gets the name of a CSS class attribute to use to format the button rendered. The default value is Empty which will omit the class attribute.
Public property DialogHeight
Sets or gets a value that specifies the height (in pixels, px) of the preview dialog. This value is effective only the first time the user calls the dialog since the dialog remembers its last setting. The default value is 800 and the smallest value that is accepted is DialogMinHeight. Smaller values are automatically set to DialogMinHeight;
Public property DialogWidth
Sets or gets a value that specifies the width (in pixels, px) of the preview dialog. This value is effective only the first time the user calls the dialog since the dialog remembers its last setting. The default value is 680 and the smallest value that is accepted is DialogMinWidth. Smaller values are automatically set to DialogMinWidth;
Public property DocumentID
Sets or gets the id of the document to preview The default value is zero which indicates that the component should use the current document of the document beeing edited. This will be the value of the CS_InsertedDocumentId property. This property must be zero or more.
Public property ElementType
Gets a value which specifies the type of outer element the component generates.
(Overrides ActiveScriptingBaseElementType.)
Public property Encoding
Sets or gets the encoding the component uses. The default encoding is the UTF8 encoding without byte order mark.
(Inherited from ActiveScriptingBase.)
Protected property Page
A reference to the current context page. This will initialize in the constructor of this class.
(Inherited from CodeBase.)
Public property PresentationTemplateID
Sets or gets the PresentationTemplateID property. The default value is zero which indicates that there is no presentation template in use.
Protected property RunningUserControl
Gets the current running user control.
(Inherited from CodeBase.)
Public property Text
Sets or gets the text of the button rendered. The default value is Empty.
Top
See Also

Reference