FormLabel Class |
Namespace: CMS.FormEngine.Web.UI
public class FormLabel : LocalizedLabel
The FormLabel type exposes the following members.
Name | Description | |
---|---|---|
AssociatedControlClientID |
Associated control client ID.
(Inherited from LocalizedLabel.) | |
CssClass |
Label's CSS class.
(Overrides WebControlCssClass.) | |
Display |
Indicates if the label should be displayed (not visible but rendered to page). Default value is 'true'.
(Inherited from LocalizedLabel.) | |
DisplayColon |
Display colon at the end of the text.
(Overrides LocalizedLabelDisplayColon.) | |
Field |
Field name for which the label applies. This property is only supported in templated form.
| |
RequiredMarkCssClass |
Gets or sets CSS class for the required mark (*)
(Inherited from LocalizedLabel.) | |
ResourceString |
Name of a resource string used for text.
(Inherited from LocalizedLabel.) | |
ShowRequiredMark |
Indicates if required mark (* by default) should be displayed at the end of the text. False by default.
(Overrides LocalizedLabelShowRequiredMark.) | |
Source |
Localized string source property - may be 'database' or 'file'.
(Inherited from LocalizedLabel.) | |
TagKey |
Tag key.
(Inherited from LocalizedLabel.) | |
Text |
Display text.
(Inherited from LocalizedLabel.) | |
ToolTipResourceString |
Name of a resource string used for tooltip.
(Inherited from LocalizedLabel.) | |
UseFFI |
Indicates if control should load properties from FormFieldInfo. True by default.
|
Name | Description | |
---|---|---|
AddCharacters |
Adds the characters to the string.
(Inherited from LocalizedLabel.) | |
CreateChildControls |
Override for CreateChildControls method.
(Overrides ControlCreateChildControls.) | |
GetText |
Gets the final text of the control.
(Inherited from LocalizedLabel.) | |
OnPreRender |
Refreshes label's text on pre-render.
(Inherited from LocalizedLabel.) | |
RefreshText |
Refreshes the control text.
(Inherited from LocalizedLabel.) | |
Render |
Render override.
(Inherited from LocalizedLabel.) |
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.) |