Class PopupMenuItem<T> | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class PopupMenuItem<T>

    Inheritance
    System.Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatefulWidget
    PopupMenuEntry<T>
    PopupMenuItem<T>
    Inherited Members
    StatefulWidget.createElement()
    Widget.key
    Widget.toStringShort()
    Widget.debugFillProperties(DiagnosticPropertiesBuilder)
    Widget.canUpdate(Widget, Widget)
    CanonicalMixinDiagnosticableTree.pureWidget
    CanonicalMixinDiagnosticableTree.Equals(Object)
    CanonicalMixinDiagnosticableTree.GetHashCode()
    DiagnosticableTree.toStringShallow(String, DiagnosticLevel)
    DiagnosticableTree.toStringDeep(String, String, DiagnosticLevel)
    DiagnosticableTree.toDiagnosticsNode(String, DiagnosticsTreeStyle)
    DiagnosticableTree.debugDescribeChildren()
    Diagnosticable.ToString()
    Diagnosticable.toString(DiagnosticLevel)
    Namespace: Unity.UIWidgets.material
    Syntax
    public class PopupMenuItem<T> : PopupMenuEntry<T>
    Type Parameters
    Name Description
    T

    Constructors

    PopupMenuItem(Key, T, Boolean, Single, Widget)

    Declaration
    public PopupMenuItem(Key key = null, T value = null, bool enabled = true, float height = 48F, Widget child = null)
    Parameters
    Type Name Description
    Key key
    T value
    System.Boolean enabled
    System.Single height
    Widget child

    Fields

    child

    Declaration
    public readonly Widget child
    Field Value
    Type Description
    Widget

    enabled

    Declaration
    public readonly bool enabled
    Field Value
    Type Description
    System.Boolean

    value

    Declaration
    public readonly T value
    Field Value
    Type Description
    T

    Properties

    height

    Declaration
    public override float height { get; }
    Property Value
    Type Description
    System.Single
    Overrides
    Unity.UIWidgets.material.PopupMenuEntry<T>.height

    Methods

    createState()

    Declaration
    public override State createState()
    Returns
    Type Description
    State
    Overrides
    StatefulWidget.createState()

    represents(T)

    Declaration
    public override bool represents(T value)
    Parameters
    Type Name Description
    T value
    Returns
    Type Description
    System.Boolean
    Overrides
    Unity.UIWidgets.material.PopupMenuEntry<T>.represents(T)
    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