logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface IUiInteractableParameters

    Interface for UI interactable component parameters.

    Namespace: Serenity.Ui.Application.Interfaces.Components
    Assembly: Serenity.Ui.Application.dll
    Syntax
    public interface IUiInteractableParameters : IComponentParameters, IFoundationSettings

    Properties

    AdaptMenuWidth

    Whether to adapt highlight width to text content.

    Declaration
    bool AdaptMenuWidth { get; set; }
    Property Value
    Type Description
    bool

    AdaptMenuWidthPadding

    Padding to apply when adapting highlight width to text content.

    Declaration
    float AdaptMenuWidthPadding { get; set; }
    Property Value
    Type Description
    float

    Alignment

    Gets or sets the alignment of the interactable component.

    Declaration
    UiComponentAlignmentType Alignment { get; set; }
    Property Value
    Type Description
    UiComponentAlignmentType

    The alignment of the interactable component.

    DeselectAnimationTrigger

    Optional animator trigger name to play when the component is deselected.

    Declaration
    string DeselectAnimationTrigger { get; set; }
    Property Value
    Type Description
    string

    The deselect animation trigger name, or null/empty if no animation should play.

    Index

    Gets or sets the index of the interactable component.

    Declaration
    int Index { get; set; }
    Property Value
    Type Description
    int

    The index of the interactable component.

    IsTranslatingLabel

    Gets or sets whether the label is being translated.

    Declaration
    bool IsTranslatingLabel { get; set; }
    Property Value
    Type Description
    bool

    True if the label is being translated; otherwise, false.

    Label

    Gets or sets the label of the interactable component.

    Declaration
    string Label { get; set; }
    Property Value
    Type Description
    string

    The label of the interactable component.

    SelectAnimationTrigger

    Optional animator trigger name to play when the component is selected.

    Declaration
    string SelectAnimationTrigger { get; set; }
    Property Value
    Type Description
    string

    The select animation trigger name, or null/empty if no animation should play.

    In this article
    © 2026 Serenity. All Rights Reserved