Content Studio Web Content Management System
Top
[This is preliminary documentation and is subject to change.]
The PreviewDraftButton type exposes the following members.
Properties
Name | Description | |
---|---|---|
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.) |
|
ButtonID |
Sets or gets the id attribute of the button rendered.
The default value is DefaultButtonID.
This property cannot be empty or null.
|
|
ComponentName |
Gets the name of the component (Overrides ActiveScriptingBaseComponentName.) |
|
Conformance |
Gets a value which specifies which type of code a component can generate.
(Overrides ActiveScriptingBaseConformance.) |
|
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.) |
|
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.
|
|
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;
|
|
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;
|
|
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.
|
|
ElementType |
Gets a value which specifies the type of outer element the component generates.
(Overrides ActiveScriptingBaseElementType.) |
|
Encoding |
Sets or gets the encoding the component uses. The default encoding is
the UTF8 encoding without byte order mark.
(Inherited from ActiveScriptingBase.) |
|
Page |
A reference to the current context page.
This will initialize in the constructor of this class.
(Inherited from CodeBase.) |
|
PresentationTemplateID |
Sets or gets the PresentationTemplateID property.
The default value is zero which indicates that there is no presentation template in use.
|
|
RunningUserControl |
Gets the current running user control.
(Inherited from CodeBase.) |
|
Text |
Sets or gets the text of the button rendered.
The default value is Empty.
|
See Also