コード例 #1
0
        public override void OnApplyTemplate()
        {
            if (this.InternalItemsHost != null && !base.IsAncestorOf(this.InternalItemsHost))
            {
                this.InternalItemsHost = null;
            }

            base.OnApplyTemplate();

            this.UpdateItemsSource();

            var row = this.Row;

            if (row != null)
            {
                row.CellsPresenter = this;
            }

            //this.SyncProperties(false);
        }
コード例 #2
0
        public override void OnApplyTemplate()
        {
            if (this.InternalItemsHost != null && !base.IsAncestorOf(this.InternalItemsHost))
            {
                this.InternalItemsHost = null;
            }

            base.OnApplyTemplate();

            this.UpdateItemsSource();

            var row = this.Row;
            if (row != null) { row.CellsPresenter = this; }

            //this.SyncProperties(false);
        }