Class ButtonComponent
Namespace: Casewhere.Models.FormBuilder.Components
Assembly: Casewhere.Models.dll
Represents a button component in a form.
public class ButtonComponent : FormComponent
Inheritance
object ← FormComponent ← ButtonComponent
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
ClientEnabled
Gets or sets the client-side enabled rule of the button.
public string ClientEnabled { get; set; }
Property Value
ClientVisible
Gets or sets the client-side visibility rule of the button.
public string ClientVisible { get; set; }
Property Value
CssClass
Gets or sets the CSS class of the button.
public string CssClass { get; set; }
Property Value
Enabled
Gets or sets the enabled rule of the button.
public EnabledRule Enabled { get; set; }
Property Value
Events
Gets or sets the list of events associated with the button.
public IList<ComponentEvent> Events { get; set; }
Property Value
Position
Gets or sets the position of the button in the form.
public ComponentPosition Position { get; set; }
Property Value
Text
Gets or sets the text displayed on the button.
public string Text { get; set; }
Property Value
Visible
Gets or sets the visibility rule of the button.
public VisibleRule Visible { get; set; }
Property Value
Width
Gets or sets the width of the button in pixels.
public int Width { get; set; }