MacroEditor Class |
Namespace: CMS.UIControls
public class MacroEditor : CMSPlaceHolder, ICallbackEventHandler
The MacroEditor type exposes the following members.
Name | Description | |
---|---|---|
MacroEditor |
Name | Description | |
---|---|---|
ASCXResolver |
Gets or sets context resolver used for getting autocomplete options in ASCX Mode.
| |
ASCXRootObject |
Gets or sets the root object the fields of which will be used as root help in ASCX mode.
| |
AutoCompletionObject |
Gets the name of java script object of the auto completion extender.
| |
Editor |
Gets the editor control.
| |
EditorFocusLostScript |
Gets or sets the code which is executed when editor lost focus.
| |
Enabled |
Gets or sets a value indicating whether the Web server control is enabled.
| |
Height |
Gets or sets the height of the editor
| |
IsLiveSite |
Indicates if control is used on live site.
(Inherited from CMSPlaceHolder.) | |
LeftOffset |
Gets or sets the left offset of the autocomplete control (to pos it correctly).
| |
MixedMode |
Indicates whether the editor is in pure currentText editing mode (whole currentText is considered as currentText) or mixed mode, where auto completion is fired only inside {%%} environment.
| |
NamespaceUsings |
Gets or sets the list of currentText namespaces for which the methods are permanently available (visible in AutoCompletion without any context).
The namespaces are used only for root hints
| |
PredefinedSnippets |
Gets the list of predefined snippets.
| |
ReadOnly |
Gets or sets whether the control is read only
| |
Resolver |
Gets or sets context resolver used for getting autocomplete options.
| |
ResolverName |
Gets or sets the name of the resolver to use. This property is used if Resolver property is not explicitly set.
| |
ShortID |
Short ID of the control.
(Inherited from CMSPlaceHolder.) | |
ShowAutoCompletionAbove |
If true, tree is shown above the editor, otherwise it is below (default pos is below).
| |
ShowOnlyInnerSources |
If true, no global objects are shown, only inner sources (named data sources, etc.) are shown as hints.
| |
SingleLineMode |
Determines whether the editor is in single line mode (i.e. only one line of text can be edited).
| |
SyntaxHighlightingEnabled |
Gets if syntax highlighting is enabled for this control.
| |
Text |
Gets or sets the editor currentText.
| |
TopOffset |
Gets or sets the top offset of the autocomplete control (to pos it correctly).
| |
UseAutoComplete |
Indicates whether the autocompletion feature is enabled or not.
| |
Width |
Gets or sets the width of the editor
|
Name | Description | |
---|---|---|
Append(String) |
Appends the given content to the placeholder
(Inherited from CMSPlaceHolder.) | |
Append(Control) |
Appends the given control to the placeholder
(Inherited from CMSPlaceHolder.) | |
Clear |
Clears the placeholder content
(Inherited from CMSPlaceHolder.) | |
CreateChildControls |
Creates inner controls
(Overrides ControlCreateChildControls.) | |
FinishCurrent |
Appends the given content to the placeholder
(Inherited from CMSPlaceHolder.) | |
GetCallbackResult |
Gets the callback result
| |
OnInit |
Init event handler.
(Inherited from CMSPlaceHolder.) | |
OnPreRender |
PreRender event handler
(Overrides CMSPlaceHolderOnPreRender(EventArgs).) | |
RaiseCallbackEvent |
Processes the callback
| |
Render |
Render event handler
(Overrides ControlRender(HtmlTextWriter).) |
Name | Description | |
---|---|---|
CallHandled |
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page.
Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) |