Пример #1
0
        void Surface_FocusedViewChanged(object sender, IView e)
        {
            var model = session.GetModel(e);

            if (outlinePad != null)
            {
                outlinePad.Focus(model);
            }
            PropertyPad.Instance.Control.CurrentObject = GetWrapper(model);
        }
Пример #2
0
        void Surface_FocusedViewChanged(object sender, IView e)
        {
            var model = session.GetModel(e);

            if (model == null)
            {
                return;
            }

            if (outlinePad != null)
            {
                outlinePad.Focus(model);
            }
            //var currentWrapper = GetWrapper (model);

            DesignerSupport.DesignerSupport.Service.PropertyPad?.SetCurrentObject(model, new object[] { model });
            //PropertyPad.Instance.Control.CurrentObject = GetWrapper(model);
        }