Panel.PanelChildrenComparer Class
Namespace: Stride.UI.PanelsAssembly: Stride.UI.dll
A comparer sorting the Panel children by increasing Z-Index.
Derived from Panel.PanelChildrenComparer:
protected class PanelChildrenComparer : Comparer<UIElement>, IComparer<UIElement>, IComparer
Name | Description | |
---|---|---|
Methods | ||
Compare(UIElement, UIElement) |
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