/// <summary> /// Indicates that the collection should maintain a list of visuals sorted according to their z-index. /// </summary> internal void SortByZIndex() { if (storageByZIndex == null) { zIndexComparer = new ZIndexComparer(this); storageByZIndex = new List <Int32>(storage.Capacity); RebuildZIndexStorage(); } UpdateSort(); }
public SpriteDrawGroup() { _zIndexComparer = new ZIndexComparer(_buffer); }
public DesginCanvas() { Background = Brushes.Transparent; _zIndexComparer = new ZIndexComparer(this); }