docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class VisualElementExtensions

    Extension methods for VisualElement.

    Inheritance
    object
    VisualElementExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.AppUI.Navigation
    Assembly: Unity.AppUI.Navigation.dll
    Syntax
    public static class VisualElementExtensions

    Methods

    FindNavController(VisualElement)

    Find the NavigationController used by the NavigationContainer that contains this visual element.

    Declaration
    public static NavController FindNavController(this VisualElement element)
    Parameters
    Type Name Description
    VisualElement element
    Returns
    Type Description
    NavController
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)