wpf - 2012 Visual Studio Custom Control Xaml/Style Designer - How to edit generic xaml styles? -
i have been digging around online , in stack overflow, maybe not asking question correctly.
i attempting edit generic/default custom usercontrol style without opening blend. want know how can edit default style custom user control within vs2012. wont let "edit current", , cant find equivalent window in vs2012 blend had can see resources , styles listed.
anyone know located at? new xaml editor stuff in vs2012 fantastic, custom user controls , default styles important too.
running vs2012 ultimate - update 2
thanks!
you can't in vs directly (this why blend exists, think :), can try using xamlwriter xaml code of control want modify.
just create new wpf application, add control want modify , button click handler.
write following inside button click handler:
private void ongetxamlbuttonclick(object sender, routedeventargs e) { string xaml = xamlwriter.save(mycontrol.style); }
Comments
Post a Comment