Click or drag to resize
EditableWebPartProperty Class
Editable web part label control
Inheritance Hierarchy

Namespace: CMS.PortalControls
Assembly: CMS.PortalControls (in CMS.PortalControls.dll) Version: 8.2.23
Syntax
C#
public class EditableWebPartProperty : Literal

The EditableWebPartProperty type exposes the following members.

Constructors
  NameDescription
Public methodEditableWebPartProperty
Constructor
Top
Methods
  NameDescription
Public methodStatic memberApplyReplacements
Applies the replacements to the given text
Public methodStatic memberGenerateSpaces
Generates spaces
Public methodStatic memberGetDialogURL
Returns the URL of the editing dialog for a general property
Public methodStatic memberGetHTMLCode
Gets the HTML code of the editable property
Protected methodOnPreRender
PreRender event handler
(Overrides ControlOnPreRender(EventArgs).)
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodCallHandled
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.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Properties
  NameDescription
Public propertyCssClass
CSS class
Public propertyEncode
If true (default), the property text is encode
Public propertyFormControl
Code name of the form control used for editing of the property
Public propertyLineNumber
Line number in the web part property that the value corresponds, indexed from 1 (only this line is replaced by the new value upon editing). If 0 or less, the whole property is replaced.
Public propertyParentWebPart
Parent web part
Public propertyPropertyName
Property name
Protected propertyStatic memberReplacements
Replacements of the items. NOTE: When updating, update also the list in file layout.js
Public propertyStyle
Style
Public propertyType
If true, the property is multiline (editable with textbox)
Top
See Also