Table of Contents

Class ButtonComponent

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

Represents a button component in a form.

public class ButtonComponent : FormComponent

Inheritance

objectFormComponentButtonComponent

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<ButtonComponent>(ButtonComponent)

Constructors

ButtonComponent()

public ButtonComponent()

Properties

Align

Gets or sets the alignment of the button text.

public TextAlign Align { get; set; }

Property Value

TextAlign

ClientEnabled

Gets or sets the client-side enabled rule of the button.

public string ClientEnabled { get; set; }

Property Value

string

ClientVisible

Gets or sets the client-side visibility rule of the button.

public string ClientVisible { get; set; }

Property Value

string

CssClass

Gets or sets the CSS class of the button.

public string CssClass { get; set; }

Property Value

string

Enabled

Gets or sets the enabled rule of the button.

public EnabledRule Enabled { get; set; }

Property Value

EnabledRule

Events

Gets or sets the list of events associated with the button.

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

Property Value

IList<ComponentEvent>

Position

Gets or sets the position of the button in the form.

public ComponentPosition Position { get; set; }

Property Value

ComponentPosition

Text

Gets or sets the text displayed on the button.

public string Text { get; set; }

Property Value

string

Visible

Gets or sets the visibility rule of the button.

public VisibleRule Visible { get; set; }

Property Value

VisibleRule

Width

Gets or sets the width of the button in pixels.

public int Width { get; set; }

Property Value

int