Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

how to convert UI element into Drawing Brush

$
0
0

Hi all,

how can i convert UI element into Drawing Brush,

for eg : in Expression Blend

<Canvas>

<Button Content="Sample Button">

</Button>

</Canvas>

in Expression Blend i can directly create the canvas as Drawing Brush

1)Selecting the Canvas from Objects and TimeLine tab

2) Click on Tools Menu

3) Click on Make Brush Resource

4) Click on Make Drawing Brush Resource

But i want to do this thing from code behind... how can i achieve this functionality .. can any one help me on this..

--

SharathKumar11



sharathkumar11


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>