Table of Contents

Class LabelComponent

Namespace: Casewhere.Models.FormBuilder.Components
Assembly: Casewhere.Models.dll

Represents a label component in a form.

public class LabelComponent : FormComponent

Inheritance

objectFormComponentLabelComponent

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

TextAlign

ClientDataBinding

Gets or sets the client-side data binding expression for the label component.

public string ClientDataBinding { get; set; }

Property Value

string

ClientVisible

Gets or sets the client-side visibility expression for the label component.

public string ClientVisible { get; set; }

Property Value

string

CssClass

Gets or sets the CSS class for the label component.

public string CssClass { get; set; }

Property Value

string

DataBinding

Gets or sets the data binding configuration for the label component.

public ComponentDataBinding DataBinding { get; set; }

Property Value

ComponentDataBinding

Events

Gets or sets the list of events associated with the label component.

public IList<ComponentEvent> Events { get; set; }

Property Value

IList<ComponentEvent>

Position

Gets or sets the position of the label component.

public ComponentPosition Position { get; set; }

Property Value

ComponentPosition

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

string

Visible

Gets or sets the visibility rule for the label component.

public VisibleRule Visible { get; set; }

Property Value

VisibleRule

Width

Gets or sets the width of the label component in percentage.

public int Width { get; set; }

Property Value

int