i having problem in applying texture text in c# wpf application. have googled not find useful. should use wpf control? or there class applyies texture on text?
for applying texture on textbox.text can define imagebrush textbox.foreground this:
<window.resources> <imagebrush imagesource="c:\...\texture.bmp" x:key="texturebrush" /> <style targettype="textbox"> <setter property="foreground" value="{staticresource texturebrush}"/> </style> </window.resources> <grid> <textbox text="your text"/> </grid>
Comments
Post a Comment