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: 10.0.0
Syntax
C#
public class UIPlaceHolder : PlaceHolder

The UIPlaceHolder type exposes the following members.

Constructors
  NameDescription
Public methodUIPlaceHolder
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
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 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 MethodGetString
Gets the string by the specified resource key
(Defined by ControlsExtensions.)
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