コード例 #1
0
        public void UnplaceWidgetFromView(IRegion target)
        {
            if (target == null)
            {
                return;
            }

            Guid wdgGID = target.Guid;

            if (_activeView != null)
            {
                IsDirty = true;
                if (target is IWidget)
                {
                    _activeView.UnplaceWidget(wdgGID);
                }
                else if (target is IMaster)
                {
                    _activeView.UnplaceMaster(wdgGID);
                }
            }
        }