Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    Panel.PanelChildrenComparer Class

    Namespace: Stride.UI.Panels
    Assembly: Stride.UI.dll

    A comparer sorting the Panel children by increasing Z-Index.

    System.Object → System.Collections.Generic.Comparer<UIElement> → Panel.PanelChildrenComparer
    Derived from Panel.PanelChildrenComparer:

    protected class PanelChildrenComparer : Comparer<UIElement>, IComparer<UIElement>, IComparer
    Name Description
    Methods
    Compare(UIElement, UIElement)
    | Improve this Doc View Source

    Methods


    Compare(UIElement, UIElement)

    public override int Compare(UIElement x, UIElement y)
    Parameters
    Type Name Description
    UIElement x
    UIElement y
    Returns
    Type Description
    System.Int32
    Overrides
    System.Collections.Generic.Comparer<Stride.UI.UIElement>.Compare(Stride.UI.UIElement, Stride.UI.UIElement)

    Inherited Members

    System.Collections.Generic.Comparer<Stride.UI.UIElement>.Create(System.Comparison<Stride.UI.UIElement>)
    System.Collections.Generic.Comparer<Stride.UI.UIElement>.System.Collections.IComparer.Compare(System.Object, System.Object)
    System.Collections.Generic.Comparer<Stride.UI.UIElement>.Default

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation