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
Post a Comment