logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct DiagramColumnTruncation

    Result of truncating one diagram column to a maximum visible card count.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Serenity.Shared.Layout
    Assembly: Serenity.Shared.dll
    Syntax
    public readonly struct DiagramColumnTruncation

    Constructors

    DiagramColumnTruncation(int, int, bool, bool)

    Creates a truncation result.

    Declaration
    public DiagramColumnTruncation(int totalCount, int visibleCount, bool hasOverflowSlot, bool isExpanded)
    Parameters
    Type Name Description
    int totalCount
    int visibleCount
    bool hasOverflowSlot
    bool isExpanded

    Fields

    HasOverflowSlot

    Whether a trailing "show N more…" / "show less" pseudo-card is present.

    Declaration
    public readonly bool HasOverflowSlot
    Field Value
    Type Description
    bool

    IsExpanded

    Whether the column is currently showing every card (the pseudo-card reads "show less").

    Declaration
    public readonly bool IsExpanded
    Field Value
    Type Description
    bool

    TotalCount

    How many candidate cards the column has in total, before truncation.

    Declaration
    public readonly int TotalCount
    Field Value
    Type Description
    int

    VisibleCount

    How many of those cards are real, visible slots (excludes the overflow pseudo-card).

    Declaration
    public readonly int VisibleCount
    Field Value
    Type Description
    int

    Properties

    HiddenCount

    How many candidate cards were left out of the visible slots.

    Declaration
    public int HiddenCount { get; }
    Property Value
    Type Description
    int
    In this article
    © 2026 Serenity. All Rights Reserved