コード例 #1
0
        /// <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();
        }
コード例 #2
0
 public SpriteDrawGroup()
 {
     _zIndexComparer = new ZIndexComparer(_buffer);
 }
コード例 #3
0
ファイル: DesginCanvas.cs プロジェクト: Jitlee/LPS.Printing
 public DesginCanvas()
 {
     Background      = Brushes.Transparent;
     _zIndexComparer = new ZIndexComparer(this);
 }