Exemplo n.º 1
0
 protected VirtualizableItemBase(double width, Thickness margin, Thickness viewMargin)
 {
     this._width      = width;
     this.Margin      = margin;
     this.ViewMargin  = viewMargin;
     this._view.Width = this.Width;
     VirtualizableItemBase.UpdateInstanceCount(true);
     this.VirtualizableChildren.CollectionChanged += new NotifyCollectionChangedEventHandler(this.VirtualizableChildren_OnCollectionChanged);
 }
Exemplo n.º 2
0
 protected VirtualizableItemBase(double width)
 {
     this._width = width;
     VirtualizableItemBase.UpdateInstanceCount(true);
 }