docs.unity3d.com
    Show / Hide Table of Contents

    Interface ISelectableElement

    Interface used on UI elements which handle a selected state.

    Namespace: Unity.AppUI.UI
    Syntax
    public interface ISelectableElement

    Properties

    selected

    True of the UI element is in selected state, False otherwise.

    Declaration
    bool selected { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    SetSelectedWithoutNotify(Boolean)

    Set the selected state of a UI element without sending an event through the visual tree.

    Declaration
    void SetSelectedWithoutNotify(bool newValue)
    Parameters
    Type Name Description
    Boolean newValue

    The new selected state value.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023