protected override void OnVisualParentChanged(DependencyObject oldParent)
        {
            base.OnVisualParentChanged(oldParent);

            this.SLC = SharedLayoutCoordinator.GetParentSharedLayoutController(this);
            if (SLC != null)
            {
                this.SLC.Panel = this;
            }
            InvalidateMeasure();
        }
 public SharedLayoutRegion(SharedLayoutCoordinator coord, int index)
 {
     this.Coordinator = coord;
     this.Index       = index;
 }