Search Results for

    Show / Hide Table of Contents

    Class GridRow

    • C#
    • Visual Basic
    public class GridRow
    Public Class GridRow
    Inheritance
    System.Object
    GridRow
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: HomeSeer.Jui.Views
    Assembly: PluginSdk.dll


    A set of views that are displayed as a flexbox row within a GridView


    Constructors

    View Source

    GridRow()

    Create a new instance of a view group row

    Declaration
    • C#
    • Visual Basic
    [JsonConstructor]
    public GridRow()
    <JsonConstructor>
    Public Sub New

    Fields

    View Source

    _items

    The items to display within this row.

    Declaration
    • C#
    • Visual Basic
    [JsonProperty("items")]
    List<GridRowItem> _items
    <JsonProperty("items")>
    _items As List(Of GridRowItem)
    Field Value
    Type Description
    System.Collections.Generic.List<GridRowItem>

    Properties

    View Source

    HorizontalAlignment

    The horizontal alignment of the items in the row

    Declaration
    • C#
    • Visual Basic
    [JsonProperty("horizontal_alignment")]
    public EHorizontalAlignment HorizontalAlignment { get; set; }
    <JsonProperty("horizontal_alignment")>
    Public Property HorizontalAlignment As EHorizontalAlignment
    Property Value
    Type Description
    EHorizontalAlignment
    View Source

    VerticalAlignment

    The vertical alignment of the items in the row

    Declaration
    • C#
    • Visual Basic
    [JsonProperty("vertical_alignment")]
    public EVerticalAlignment VerticalAlignment { get; set; }
    <JsonProperty("vertical_alignment")>
    Public Property VerticalAlignment As EVerticalAlignment
    Property Value
    Type Description
    EVerticalAlignment
    View Source

    Views

    The views to display within this row. This is for access only.

    Declaration
    • C#
    • Visual Basic
    [JsonIgnore]
    public ReadOnlyCollection<AbstractView> Views { get; }
    <JsonIgnore>
    Public ReadOnly Property Views As ReadOnlyCollection(Of AbstractView)
    Property Value
    Type Description
    System.Collections.ObjectModel.ReadOnlyCollection<AbstractView>

    Methods

    View Source

    AddItem(AbstractView, EColSize, EColSize, EColSize, EColSize, EColSize)

    Add an item to the row

    Declaration
    • C#
    • Visual Basic
    public void AddItem(AbstractView view, EColSize extraSmallSize = EColSize.Col, EColSize smallSize = EColSize.None, EColSize mediumSize = EColSize.None, EColSize largeSize = EColSize.None, EColSize extraLargeSize = EColSize.None)
    Public Sub AddItem(view As AbstractView, extraSmallSize As EColSize = EColSize.Col, smallSize As EColSize = EColSize.None, mediumSize As EColSize = EColSize.None, largeSize As EColSize = EColSize.None, extraLargeSize As EColSize = EColSize.None)
    Parameters
    Type Name Description
    AbstractView view
    EColSize extraSmallSize
    EColSize smallSize
    EColSize mediumSize
    EColSize largeSize
    EColSize extraLargeSize
    Exceptions
    Type Condition
    System.ArgumentNullException

    Thrown when the specified view or its ID is null

    View Source

    GetHorizontalAlignmentClass()

    Declaration
    • C#
    • Visual Basic
    string GetHorizontalAlignmentClass()
    Function GetHorizontalAlignmentClass As String
    Returns
    Type Description
    System.String
    View Source

    GetVerticalAlignmentClass()

    Declaration
    • C#
    • Visual Basic
    string GetVerticalAlignmentClass()
    Function GetVerticalAlignmentClass As String
    Returns
    Type Description
    System.String
    View Source

    ToHtml(Int32)

    Get a string representation of this grid row converted into HTML

    Declaration
    • C#
    • Visual Basic
    public string ToHtml(int indent = 0)
    Public Function ToHtml(indent As Integer = 0) As String
    Parameters
    Type Name Description
    System.Int32 indent
    Returns
    Type Description
    System.String

    An HTML representation of the view as a string

    • View Source
    In This Article
    Back to top HomeSeer Technologies