internal override void Attach(LayoutContent model) { _anchorable = model as LayoutAnchorable; _anchorable.IsVisibleChanged += new EventHandler(_anchorable_IsVisibleChanged); if (_anchorable.CanClose) { _anchorable.SetCanCloseInternal(true); } base.Attach(model); }