コード例 #1
0
ファイル: StaggeredLayout.cs プロジェクト: zach14c/UI-For-UWP
 public StaggeredLayout(IHierarchyAdapter adapter, double defaultItemLength, int stackCount)
     : base(adapter, defaultItemLength)
 {
     this.StackCount = stackCount;
     this.LayoutStrategies.Clear();
     this.LayoutStrategies.Add(new StaggeredItemsLayoutStrategy()
     {
         StackCount = this.StackCount
     });
     this.ColumnRenderInfo = new StaggeredRenderInfo(this.StackCount);
 }
コード例 #2
0
ファイル: StaggeredLayout.cs プロジェクト: zach14c/UI-For-UWP
 internal override void RefreshRenderInfo(bool force)
 {
     base.RefreshRenderInfo(force);
     this.ColumnRenderInfo = new StaggeredRenderInfo(this.stackCount);
 }