Get Visual Studio Designer's (Cider) zoom level -


i developing smart tag 1 of wpf controls. smart tag added through adornerprovider in design dlls of control. want synchronize zoom level of smart tag , visual studio designer, because if zoom in/out visual studio designer, smart tag remains unchanged. got idea?

private designerview designer { { return designerview.fromcontext(this.context); } }

    protected override void activate(modelitem item)     {         this.adornedcontrolmodel = item;         designer.zoomlevelchanged += new eventhandler(designer_zoomlevelchanged);         //         // code         //         base.activate(item);     }      void designer_zoomlevelchanged(object sender, eventargs e)     {         throw new notimplementedexception();     } 

Comments

Popular posts from this blog

Javascript line number mapping -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -