Any interactive XAML editor for WPF? -


is there interactive xaml editor can used wpf out there, or way use visualstatemanager in xamlpadx 4.0?

i've tried xamlpadx 4.0 great until tried using visualstatemanager choked on. cursory research indicates visualstatemanager support arrived in wpf in dotnet 4 whereas xamlpadx 4 built using dotnet 2.5. attempting redirect xamlpadx use dotnet 4 has not been successful.

blend, far tell, doesn't appear have interactive mode, standard vs style code/run iteration cycle.

i've had quick @ kaxaml. seems work pretty limited, e.g. no visual tree explorer.

update blend features suggested colinsmith

i have vs2012 update 2 installed , i've tried using blend no success. entering following code example , selecting button "objects , timeline" panel results in "objects , timeline" panel displaying "(no storyboard open)" , there being nothing @ in states panel. clicking in blend takes me msdn page stating "we sorry. page requested cannot found." , searching web guidance on using blend vs2012 wpf throws nothing, doesn't surprise me since support wpf added blend vs2012 in vs2012 update 2 released couple of days ago.

<window x:class="blendscratchproject.mainwindow"         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"         title="mainwindow" height="91" width="192">      <grid horizontalalignment="center" verticalalignment="center">         <button content="button">             <button.template>                 <controltemplate targettype="button">                     <border x:name="_rootelement">                         <border.background>                             <solidcolorbrush x:name="_borderbrush" color="black"/>                         </border.background>                          <grid margin="4">                             <grid.background>                                 <solidcolorbrush x:name="_backgroundbrush" color="green"/>                             </grid.background>                              <contentpresenter horizontalalignment="{templatebinding horizontalcontentalignment}"                                 verticalalignment="{templatebinding verticalcontentalignment}"                                 margin="5"/>                         </grid>                          <visualstatemanager.visualstategroups>                             <visualstategroup x:name="commonstates">                                  <visualstate x:name="normal"/>                                  <visualstate x:name="mouseover">                                     <storyboard>                                         <coloranimation storyboard.targetname="_borderbrush"                                             storyboard.targetproperty="color" to="red" duration="0:0:0"/>                                     </storyboard>                                 </visualstate>                              </visualstategroup>                         </visualstatemanager.visualstategroups>                     </border>                 </controltemplate>             </button.template>         </button>     </grid>  </window> 

in blend make sure "transition preview" enabled in states panel, can switch between states (by clicking on them) in state group see animation.

see option 5 on link:

(note: icon looks different depending on edition of blend!).

apart have regular "split" mode can see xaml text editor , type raw xaml in , see rendered type (i.e. per kaxaml, etc).

sorry, if that's not want, or i'm being dense understanding you...

picture below, highlighting bits select.

enter image description here

caveat:

just make sure have edition of blend supports wpf...wpf support left out of blend came visual studio 2012 rtm...to had use download , use "blend + sketchflow preview visual studio 2012"....but there's proper rtm version in visual studio update 2.

if you're not using visual studio 2012, use separate expression blend 4 product (or part of expression studio).


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -