logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Ui.Domain.Interfaces

    Interfaces

    ICompositeViewChild

    One slot inside a composite view (see ICompositeViewDefinition). A child references the view to place in the slot via its ViewDefinition — which may be a menu definition (hosted by id) or an ICompositeViewDefinition (built inline, enabling arbitrary nesting). Size declares how much space the child occupies along its parent container's main axis, and ViewAlignment declares where the hosted view sits within the slot it is given.

    ICompositeViewDefinition

    Defines a composite view: a container that arranges an ordered set of child views (Children) according to a flexbox-style Layout. Because a child can itself be a composite (via ViewDefinition), whole screens — such as a settings screen with a nav rail beside a scrollable content column — are expressed as a tree of these definitions. There are no built-in regions: any bar or panel (e.g. a footer of actions) is just another nested composite.

    IScrollableViewDefinition

    Scrolling configuration shared by every authorable view definition. When a view's content overflows its visible area and Scrollable is on, the view clips the overflow and exposes a scrollbar along ScrollAxis instead of letting content spill off-screen.

    IUiSettings

    Interface for UI settings, extending foundation settings.

    IUiThemeComponents

    Interface for UI theme components.

    IUiThemeDefinition

    Interface for defining a UI theme.

    IUiThemeSounds

    Interface defining the UI theme sounds for various UI interactions.

    IUiThemeSoundsDefinition

    Interface defining the UI theme sounds definitions for various UI interactions.

    In this article
    © 2026 Serenity. All Rights Reserved