wpf - Elysium style destroyed when using WindowsFormsHost -


i'm using elysium in wpf application metro styled interface. style not preserved when try use windows forms control.

example:

<grid>     <richtextbox /> </grid> 

gives perfect result (with thin white border around wpf control)

however:

 xmlns:winforms="clr-namespace:system.windows.forms;assembly=system.windows.forms"  .  .    <grid>     <windowsformshost  name="wfh">         <winforms:richtextbox />     </windowsformshost> </grid> 

gives me different legacy windows form type of border.

i want thin white border around windowsformelement if possible. i'm out of ideas @ moment.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -