Class LabelComponent
Namespace: Casewhere.Models.FormBuilder.Components
Assembly: Casewhere.Models.dll
Represents a label component in a form.
public class LabelComponent : FormComponent
Inheritance
object ← FormComponent ← LabelComponent
Inherited Members
object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()
Extension Methods
ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<LabelComponent>(LabelComponent)
Constructors
LabelComponent()
public LabelComponent()
Properties
Align
Gets or sets the alignment of the label component.
public TextAlign Align { get; set; }
Property Value
ClientDataBinding
Gets or sets the client-side data binding expression for the label component.
public string ClientDataBinding { get; set; }
Property Value
ClientVisible
Gets or sets the client-side visibility expression for the label component.
public string ClientVisible { get; set; }
Property Value
CssClass
Gets or sets the CSS class for the label component.
public string CssClass { get; set; }
Property Value
DataBinding
Gets or sets the data binding configuration for the label component.
public ComponentDataBinding DataBinding { get; set; }
Property Value
Events
Gets or sets the list of events associated with the label component.
public IList<ComponentEvent> Events { get; set; }
Property Value
Position
Gets or sets the position of the label component.
public ComponentPosition Position { get; set; }
Property Value
Text
Gets or sets the text to be displayed by the label component. If data binding is configured, the binding value will be shown. If not, then the text specified here will be shown.
public string Text { get; set; }
Property Value
Visible
Gets or sets the visibility rule for the label component.
public VisibleRule Visible { get; set; }
Property Value
Width
Gets or sets the width of the label component in percentage.
public int Width { get; set; }