CMSEditableImage Class |
Namespace: CMS.DocumentEngine.Web.UI
public class CMSEditableImage : CMSAbstractEditableControl, INamingContainer
The CMSEditableImage type exposes the following members.
Name | Description | |
---|---|---|
CMSEditableImage |
Constructor.
| |
CMSEditableImage(IPageManager) |
Constructor, initializes the parent portal manager.
|
Name | Description | |
---|---|---|
imgImage |
Image.
| |
lblError |
Error label.
| |
lblTitle |
Region title.
| |
mAlternateText |
Alternate text.
| |
mDisplaySelectorTextBox |
Display image selector text box.
| |
mImageCssClass |
Image class.
| |
mImageStyle |
Image style.
| |
mImageTitle |
Image title.
| |
pnlEditor |
Region panel.
|
Name | Description | |
---|---|---|
AlternateText |
Alternative image text.
| |
CheckPermissions |
Gets or sets the value that indicates whether the permissions are checked.
(Inherited from CMSAbstractEditableControl.) | |
DisplaySelectorTextBox |
Display selector text box.
| |
EditDialogWidth |
Edit dialog width which will be opened for editing of the editable control. Used in On-site editing.
(Inherited from CMSAbstractEditableControl.) | |
EditPageUrl |
Edit page URL which will be used for editing of the editable control. Used in On-site editing.
(Overrides CMSAbstractEditableControlEditPageUrl.) | |
EmptyContent |
Indicates whether the control contains any editable content
(Inherited from CMSAbstractEditableControl.) | |
ImageControl |
Returns instance of image control.
| |
ImageCssClass |
Image CssClass.
| |
ImageHeight |
Image height.
| |
ImageStyle |
Image Style.
| |
ImageTitle |
Control title which is displayed in the editable mode.
| |
ImageWidth |
Image width.
| |
InheritContent |
If set, the region uses the content inheritance.
If the region content of the current document is empty then the content of the first non-empty parent is used.
Note: The editable region does not combine content of the current document with the content of the parent documents.
(Inherited from CMSAbstractEditableControl.) | |
InstanceGUID |
If set, the instance guid is used as a key for the editable control, making the content available on other documents which use the same page template with this control.
(Inherited from CMSAbstractEditableControl.) | |
IsLiveSite |
Indicates if control is used in live site mode.
| |
PageManager |
Page manager control.
(Inherited from CMSAbstractEditableControl.) | |
ResizeToHeight |
Height the image should be automatically resized to after it is uploaded.
| |
ResizeToMaxSideSize |
Max side size the image should be automatically resized to after it is uploaded.
| |
ResizeToWidth |
Width the image should be automatically resized to after it is uploaded.
| |
SelectOnlyPublished |
If set, only published content is displayed on a live site.
(Inherited from CMSAbstractEditableControl.) | |
SourcePageInfo |
Gets the source page info
(Inherited from CMSAbstractEditableControl.) | |
ViewMode |
Control view mode.
(Inherited from CMSAbstractEditableControl.) |
Name | Description | |
---|---|---|
CreateChildControls |
Creates the child control hierarchy.
(Overrides ControlCreateChildControls.) | |
GetContent |
Gets the current control content.
(Overrides CMSAbstractEditableControlGetContent.) | |
GetContentID |
Returns content identification for storage
(Inherited from CMSAbstractEditableControl.) | |
GetContentXml |
Gets the image content XML
| |
GetEditDialogParameters |
Gets the custom dialog parameters used in the On-site editing when opening the modal edit dialog.
The URL parameters are in the following format: "name=value"
(Overrides CMSAbstractEditableControlGetEditDialogParameters.) | |
GetOnSiteTagConfiguration |
Creates tag configuration for on-site editting.
(Inherited from CMSAbstractEditableControl.) | |
GetSpellCheckFields |
Returns the list of the field IDs (Client IDs of the inner controls) that should be spell checked.
(Inherited from CMSAbstractEditableControl.) | |
IsValid |
Returns true if entered data is valid. If data is invalid, it returns false and displays an error message.
(Inherited from CMSAbstractEditableControl.) | |
LoadContent(String, Boolean) |
Loads the control content.
(Overrides CMSAbstractEditableControlLoadContent(String, Boolean).) | |
LoadContent(PageInfo, Boolean) |
Load the content to the region, applies the InheritContent.
(Inherited from CMSAbstractEditableControl.) | |
OnPreRender |
PreRender event handler.
(Overrides ControlOnPreRender(EventArgs).) | |
Render |
Renders the control.
(Overrides CMSAbstractEditableControlRender(HtmlTextWriter).) | |
ResolveMacros |
Resolves the macros within current context.
(Inherited from CMSAbstractEditableControl.) | |
SaveContent |
Saves the control content.
(Inherited from CMSAbstractEditableControl.) |
Name | Description | |
---|---|---|
AddCssClass |
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
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.) | |
GetCssClasses |
Returns all CSS classes of control.
(Defined by ControlsExtensions.) | |
GetRenderedHTML |
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) | |
HasCssClass |
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
RemoveCssClass |
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
SetCssClasses |
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.) |