<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Getting Started</title><link>http://forums.silverlight.net/forums/14.aspx</link><description>The perfect forum for asking the basic questions. No question too simple!</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: How to set background color for ComboBox?</title><link>http://forums.silverlight.net/forums/thread/156060.aspx</link><pubDate>Mon, 05 Jan 2009 15:34:11 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:156060</guid><dc:creator>kent.zhou</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/156060.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=156060</wfw:commentRss><description>&lt;p&gt;Thanks for your information. My ComboBox uses template for the list item. It looks like: &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;lt;ComboBox x:Name=&amp;quot;xMyList&amp;quot; Height=&amp;quot;20&amp;quot; Style=&amp;quot;{StaticResource FormComboBox}&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ComboBox.ItemTemplate&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DataTemplate&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;StackPanel Orientation=&amp;quot;Horizontal&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;lt;TextBlock Width=&amp;quot;150&amp;quot; Text=&amp;quot;{Binding Path=myName}&amp;quot; VerticalAlignment=&amp;quot;Center&amp;quot; FontSize=&amp;quot;10&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/StackPanel&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/DataTemplate&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ComboBox.ItemTemplate&amp;gt;&lt;br /&gt;&amp;lt;/ComboBox&amp;gt;&lt;/p&gt;&lt;p&gt;For template there is no backgroupd property. I can set background for Stackpanel, but that only be effective for the list item, between the item in the list , there is a gap with another color. What I want is set the a background color for whole box for the dropdown(Default is white), not each item in the list. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to set background color for ComboBox?</title><link>http://forums.silverlight.net/forums/thread/155858.aspx</link><pubDate>Mon, 05 Jan 2009 07:33:43 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:155858</guid><dc:creator>Amanda Wang - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/155858.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=155858</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Kent,&lt;/p&gt;&lt;p&gt;If you want the dropdown list has the different background color with the text field, you can set the ComboBoxItem&amp;#39;s Background, below code work fine on our labs:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;ComboBox Height=&amp;quot;40&amp;quot; Margin=&amp;quot;49,43,150,0&amp;quot; VerticalAlignment=&amp;quot;Top&amp;quot; Background=&amp;quot;#FF0F51EB&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ComboBoxItem Content=&amp;quot;Item1&amp;quot; Background=&amp;quot;#FFEC1313&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ComboBoxItem Content=&amp;quot;Item1&amp;quot; Background=&amp;quot;#FF24E643&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ComboBoxItem Content=&amp;quot;Item1&amp;quot; Background=&amp;quot;#FF8B2CE4&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ComboBox&amp;gt; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to set background color for ComboBox?</title><link>http://forums.silverlight.net/forums/thread/154132.aspx</link><pubDate>Tue, 30 Dec 2008 22:45:18 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:154132</guid><dc:creator>vitor_canova</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/154132.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=154132</wfw:commentRss><description>&lt;p&gt;I dont&amp;#39;t know exacly you need. If you show me a image with your wish. But if I need to change the&amp;nbsp; appearance of a control I open with Expression Blend 2 and select him. After that I do a reverse click on control in &amp;quot;Objects and Timeline&amp;quot;, &amp;quot;Edit Control Parts (Template)&amp;quot;, &amp;quot;Edit a Copy&amp;quot; and select to do this in application. Like this:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;img src="http://img261.imageshack.us/img261/922/newpicture2hy0.png" title="ComboBox" alt="ComboBox" height="267" width="400" /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>How to set background color for ComboBox?</title><link>http://forums.silverlight.net/forums/thread/154095.aspx</link><pubDate>Tue, 30 Dec 2008 20:57:43 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:154095</guid><dc:creator>kent.zhou</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/154095.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=154095</wfw:commentRss><description>&lt;p&gt;How to set background color only for dropdown list box for ComboBox not for the text field? I tried to set Property Background and it seemed ineffective.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>