Click or drag to resize
UIPlaceHolder Class
Server control which represents container for UI element of the page.
Inheritance Hierarchy

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 8.2.23
Syntax
C#
public class UIPlaceHolder : PlaceHolder

The UIPlaceHolder type exposes the following members.

Constructors
  NameDescription
Public methodUIPlaceHolder
Top
Methods
  NameDescription
Protected methodOnInit
Raises the Init event.
(Overrides ControlOnInit(EventArgs).)
Protected methodRender
Sends server control content to a provided HtmlTextWriter object, which writes the content to be rendered on the client.
(Overrides ControlRender(HtmlTextWriter).)
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
Fields
  NameDescription
Protected fieldmIsHidden
False if user is either global administrator or is authorized to see specified UI element of the specified module, otherwise true.
Top
Properties
  NameDescription
Public propertyAlwaysVisible
If true, the control doesn't perform the permission check and is always visible
Public propertyElementName
Code name of the UIElement.
Public propertyIsHidden
Returns false if user is either global administrator or is authorized to see specified UI element of the specified module, otherwise returns true.
Public propertyModuleName
Code name of the module.
Public propertyPermissionName
Code name of the Permission.
Public propertyStopProcessing
Indicates if processing of the UI panel should be stopped.
Top
Events
  NameDescription
Public eventOnBeforeCheck
Fires before the main visibility check.
Public eventOnIsHidden
Fires to find out whether the place holder is hidden.
Top
See Also