VisibilityControl Class |
Namespace: CMS.FormControls
public class VisibilityControl : CMSDropDownList
The VisibilityControl type exposes the following members.
Name | Description | |
---|---|---|
VisibilityControl |
Control to set visibility.
|
Name | Description | |
---|---|---|
OnInit |
OnInit event
(Overrides CMSDropDownListOnInit(EventArgs).) | |
OnPreRender |
PreRender event handler.
(Inherited from CMSDropDownList.) | |
Render |
Renders the control to the specified HTML writer.
(Overrides WebControlRender(HtmlTextWriter).) |
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.) | |
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
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.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetCssClasses |
Returns all CSS classes of control.
(Defined by ControlsExtensions.) | |
GetRenderedHTML |
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.) | |
GetSelectedItems |
Returns all selected items.
(Defined by ListControlExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
HasCssClass |
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
HasValue |
Returns true when at least one item is selected.
(Defined by ListControlExtensions.) | |
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.) | |
SortItems |
Sorts list items alphabetically.
(Defined by ListControlExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
Source |
Localized string source property - may be 'database' or 'file'.
(Inherited from CMSDropDownList.) | |
ToolTipResourceString |
Name of a resource string used for tooltip.
(Inherited from CMSDropDownList.) | |
UseResourceStrings |
Use resource strings instead of item texts.
(Inherited from CMSDropDownList.) | |
Value |
Gets or sets selected item.
|