logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityCompositeUiViewHostedSizeTests

    Tests for Serenity.Ui.Infrastructure.Views.UnityCompositeUiView hosted-size tracking: while a hosted child is mounted, its HostedSizeChanged re-applies the reserved auto ("fit content") size on the child's LayoutElement; after release the composite must no longer listen.

    Inheritance
    object
    UnityCompositeUiViewHostedSizeTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Ui.Tests.Infrastructure.Views
    Assembly: Tests.dll
    Syntax
    public class UnityCompositeUiViewHostedSizeTests

    Constructors

    UnityCompositeUiViewHostedSizeTests()

    Declaration
    public UnityCompositeUiViewHostedSizeTests()

    Methods

    HostedSizeChanged_AfterHide_IsIgnoredAndChildIsRestored()

    Declaration
    public void HostedSizeChanged_AfterHide_IsIgnoredAndChildIsRestored()

    HostedSizeChanged_WhileMounted_ReappliesAutoSizeOnLayoutElement()

    Declaration
    public void HostedSizeChanged_WhileMounted_ReappliesAutoSizeOnLayoutElement()

    SetUp()

    Declaration
    public void SetUp()

    ShowHideShowCycle_DoesNotAccumulateSubscriptions()

    Declaration
    public void ShowHideShowCycle_DoesNotAccumulateSubscriptions()

    Show_MountsHostedChildUnderScrollContent()

    Declaration
    public void Show_MountsHostedChildUnderScrollContent()

    TearDown()

    Declaration
    public void TearDown()
    In this article
    © 2026 Serenity. All Rights Reserved