<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 Forums - Coffeehouse - WPF image control</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Forums/rss"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 Forums - Coffeehouse - WPF image control</title>
		<link>http://channel9.msdn.com/Forums</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Forums</link>
	<language>en</language>
	<pubDate>Sat, 25 May 2013 18:02:36 GMT</pubDate>
	<lastBuildDate>Sat, 25 May 2013 18:02:36 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>7</c9:totalResults>
	<c9:pageCount>-7</c9:pageCount>
	<c9:pageSize>-1</c9:pageSize>
	<item>
		<title>Coffeehouse - WPF image control</title>
		<description><![CDATA[<p><p class="MsoNormal"><font face="Times New Roman" size="3"><font face="Arial">How can I place image control or any&nbsp;control&nbsp;dynamically with WPF?</font>
</font></p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/244114-WPF-image-control/244114#244114</link>
		<pubDate>Wed, 25 Oct 2006 19:26:45 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/244114-WPF-image-control/244114#244114</guid>
		<dc:creator>sri.vennag</dc:creator>
		<slash:comments>7</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/vennag/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - WPF image control</title>
		<description><![CDATA[<p><blockquote>
<div>vennag wrote:</div>
<div>&#65279;
<p>How can I place image control or any&nbsp;control&nbsp;dynamically with WPF? </p>
</div>
</blockquote>
<br>
<br>
I haven't looked at WPF...but maybe try something like<br>
<br>
&lt;image src=&quot;&quot; /&gt; or something similar?<br>
<br>
That's how we do it in Boxely<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/244114-WPF-image-control/17a25cf6a727418382a29dec00266325#17a25cf6a727418382a29dec00266325</link>
		<pubDate>Wed, 25 Oct 2006 19:45:35 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/244114-WPF-image-control/17a25cf6a727418382a29dec00266325#17a25cf6a727418382a29dec00266325</guid>
		<dc:creator>Cybermagellan</dc:creator>
		<slash:comments>7</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Cybermagellan/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - WPF image control</title>
		<description><![CDATA[<p>I'm very early along my WPF book, but can't you do something like...<br>
<br>
c.Content = theImage;<br>
<br>
?<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/244114-WPF-image-control/3de46803f69e4a8dabcd9dec0026635d#3de46803f69e4a8dabcd9dec0026635d</link>
		<pubDate>Wed, 25 Oct 2006 19:49:34 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/244114-WPF-image-control/3de46803f69e4a8dabcd9dec0026635d#3de46803f69e4a8dabcd9dec0026635d</guid>
		<dc:creator>Minh</dc:creator>
		<slash:comments>7</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Minh/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - WPF image control</title>
		<description><![CDATA[<p>I've not gone beyond some simple controls &amp; I've not loaded Vista on any machine yet, which may not be your scenario, but here is some info.<br>
<br>
If you are wanting to use WPF on XP with Windows Forms... <br>
(aka Crossbow):<br>
<br>
0) Download the .NET 3.0 RC1 and SDK and install them. Get them from here: <br>
<br>
<a href="http://msdn.microsoft.com/windowsvista/downloads/products/getthebeta/" target="_blank">http://msdn.microsoft.com/windowsvista/downloads/products/getthebeta/</a>
<br>
<br>
1) Add References to host WPF controls: <br>
<br>
&nbsp;PreesentationCore <br>
&nbsp;PresentationFramework <br>
&nbsp;WindowsBase <br>
&nbsp;WindowsFormsIntegration <br>
<br>
2) Add these using statements to your Form:<br>
<br>
using System.Windows.Forms.Integration; <br>
using System.Windows.Controls; <br>
<br>
3) To avoid ambiguity with .NET 3.0 UserControls, you must change the inheritance of existing&nbsp;UserControls to be explicitly&nbsp;derived from System.Windows.Forms, like this:
<br>
<br>
System.Windows.Forms.UserControl<br>
<br>
4) Put this code in your&nbsp;Form's OnLoad event: <br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ElementHost host = new ElementHost(); <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.Windows.Controls.Button myButton = <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new System.Windows.Controls.Button(); <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;myButton.Content = &quot;Avalon Button&quot;; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;host.Child = myButton; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;host.Dock = DockStyle.Fill; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.Controls.Add(host); <br>
<br>
<br>
You should see &quot;Avalon Button&quot; in your Windows Forms solution. <br>
<br>
The only change from the last WPF release &amp; RC1 is the use of &quot;host.Child&quot; versus &quot;host.Controls.Add()&quot;, as far as I can tell.
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/244114-WPF-image-control/3ea76dc779064bdca1499dec0026639a#3ea76dc779064bdca1499dec0026639a</link>
		<pubDate>Wed, 25 Oct 2006 20:05:20 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/244114-WPF-image-control/3ea76dc779064bdca1499dec0026639a#3ea76dc779064bdca1499dec0026639a</guid>
		<dc:creator>JohnAskew</dc:creator>
		<slash:comments>7</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/JohnAskew/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - WPF image control</title>
		<description><![CDATA[<p><blockquote>
<div>Minh wrote:</div>
<div>&#65279;I'm very early along my WPF book, but can't you do something like...<br>
<br>
c.Content = theImage;<br>
</div>
</blockquote>
<br>
<br>
Charles Petzolds book? I'm close to finishing just chapter 1 and I've learned tons.....hehe</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/244114-WPF-image-control/bff9b966c6444ab98d049dec002663d3#bff9b966c6444ab98d049dec002663d3</link>
		<pubDate>Wed, 25 Oct 2006 20:06:12 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/244114-WPF-image-control/bff9b966c6444ab98d049dec002663d3#bff9b966c6444ab98d049dec002663d3</guid>
		<dc:creator>Harlequin</dc:creator>
		<slash:comments>7</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Harlequin/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - WPF image control</title>
		<description><![CDATA[<p><blockquote>
<div>vennag wrote:</div>
<div>&#65279;
<p>How can I place image control or any&nbsp;control&nbsp;dynamically with WPF? </p>
</div>
</blockquote>
<br>
<br>
It depends on your layout panel.&nbsp; If your parent is a Canvas then you would write some code like this:<br>
<br>
Canvas.SetLeft(controlToPosition, 30.3);<br>
Canvas.SetTop(controlToPosition, 100);<br>
<br>
if it's a grid then you would set Row and Column<br>
<br>
Grid.SetRow(controlToPosition, 2);<br>
Grid.SetColumn(controlToPosition, 0);<br>
<br>
- Ernie</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/244114-WPF-image-control/eb6977b20ef24b8ca3579dec0026640b#eb6977b20ef24b8ca3579dec0026640b</link>
		<pubDate>Wed, 25 Oct 2006 20:11:53 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/244114-WPF-image-control/eb6977b20ef24b8ca3579dec0026640b#eb6977b20ef24b8ca3579dec0026640b</guid>
		<dc:creator>Ernie Booth</dc:creator>
		<slash:comments>7</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Ernie Booth/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - WPF image control</title>
		<description><![CDATA[<p><blockquote>
<div>Harlequin wrote:</div>
<div>&#65279;
<blockquote>
<table>
<tbody>
<tr>
<td><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td><strong>Minh wrote:</strong><i>&#65279;I'm very early along my WPF book, but can't you do something like...<br>
<br>
c.Content = theImage;<br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
Charles Petzolds book? I'm close to finishing just chapter 1 and I've learned tons.....hehe</div>
</blockquote>
<br>
Hehe! Yep! I think I'm on chapter 3... but I did skip a lot of the rainbow gradient brushes in Ch. 2 <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /><br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/244114-WPF-image-control/27168b981f8e41f989619dec00266445#27168b981f8e41f989619dec00266445</link>
		<pubDate>Wed, 25 Oct 2006 20:15:51 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/244114-WPF-image-control/27168b981f8e41f989619dec00266445#27168b981f8e41f989619dec00266445</guid>
		<dc:creator>Minh</dc:creator>
		<slash:comments>7</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Minh/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>