<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>C# 411 &#187; Controls</title>
	<atom:link href="http://www.csharp411.com/category/controls/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csharp411.com</link>
	<description>C# Development</description>
	<lastBuildDate>Sat, 19 Nov 2011 19:34:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>ComboBox Exception: “Too many items in the combo box”</title>
		<link>http://www.csharp411.com/combobox-exception-too-many-items-in-the-combo-box/</link>
		<comments>http://www.csharp411.com/combobox-exception-too-many-items-in-the-combo-box/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 00:36:18 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[Controls]]></category>
		<category><![CDATA[Errors]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/combobox-exception-too-many-items-in-the-combo-box/</guid>
		<description><![CDATA[The .NET ComboBox may throw a cryptic OutOfMemoryException with the following message: Too many items in the combo box. This poorly-worded exception results when you Add an object to the ComboBox whose ToString() method returns a null or empty string.&#160; To fix this error, make sure that for every object that you add to the [...]]]></description>
		<wfw:commentRss>http://www.csharp411.com/combobox-exception-too-many-items-in-the-combo-box/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Display Icons in a ListBox</title>
		<link>http://www.csharp411.com/display-icons-in-a-listbox/</link>
		<comments>http://www.csharp411.com/display-icons-in-a-listbox/#comments</comments>
		<pubDate>Sat, 09 Oct 2010 17:12:50 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[Controls]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[User Interface]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/display-icons-in-a-listbox/</guid>
		<description><![CDATA[The standard Windows Forms ListBox control is not designed to display an icon with each item.&#160; You can modify the ListBox to handle the DrawItem event and manually draw the items and their associated icons, as shown here and here.&#160; However, if you were hoping to use a standard off-the-shelf control with full icon support, [...]]]></description>
		<wfw:commentRss>http://www.csharp411.com/display-icons-in-a-listbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# TextBox Scroll to Cursor</title>
		<link>http://www.csharp411.com/c-textbox-scroll-to-cursor/</link>
		<comments>http://www.csharp411.com/c-textbox-scroll-to-cursor/#comments</comments>
		<pubDate>Sat, 09 Oct 2010 15:14:30 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Controls]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[User Interface]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/c-textbox-scroll-to-cursor/</guid>
		<description><![CDATA[To scroll a C# TextBox to the cursor/caret, it’s important that the TextBox is both visible and focused, then call the ScrollToCaret method: textBox.Focus(); textBox.ScrollToCaret(); To scroll to the bottom/end of a TextBox, set the SelectionLength to 0 to remove any selection, then set SelectionStart to the end of the text in the TextBox: textBox.SelectionLength [...]]]></description>
		<wfw:commentRss>http://www.csharp411.com/c-textbox-scroll-to-cursor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DataGridView HideSelection to Hide Selection when Grid Loses Focus</title>
		<link>http://www.csharp411.com/datagridview-hideselection-to-hide-selection-when-grid-loses-focus/</link>
		<comments>http://www.csharp411.com/datagridview-hideselection-to-hide-selection-when-grid-loses-focus/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 13:56:13 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[Controls]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Windows Forms]]></category>
		<category><![CDATA[DataGridView]]></category>
		<category><![CDATA[focus]]></category>
		<category><![CDATA[HideSelection]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/datagridview-hideselection-to-hide-selection-when-grid-loses-focus/</guid>
		<description><![CDATA[The DataGridView is a powerful grid control included in the .NET Framework.  One function missing, however, is the ability to hide the current selection when the DataGridView control is not focused.  What the DataGridView class needs is a HideSelection property, similar to the ListView and TextBox.  But the .NET designers have not included this capability [...]]]></description>
		<wfw:commentRss>http://www.csharp411.com/datagridview-hideselection-to-hide-selection-when-grid-loses-focus/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Display an RTF File that&#8217;s a C# Embedded Resource</title>
		<link>http://www.csharp411.com/display-an-rtf-file-thats-a-c-embedded-resource/</link>
		<comments>http://www.csharp411.com/display-an-rtf-file-thats-a-c-embedded-resource/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 13:59:27 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Controls]]></category>
		<category><![CDATA[IO]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/display-an-rtf-file-thats-a-c-embedded-resource/</guid>
		<description><![CDATA[It&#8217;s easy to display an RTF file &#8212; that was embedded as a resource in a C# program &#8212; in a Windows Form RichTextControl. First, include the following references: Next, load the RTF that you have embedded in your Visual Studio project: The trickiest part of loading an embedded resource is getting the correct path.  [...]]]></description>
		<wfw:commentRss>http://www.csharp411.com/display-an-rtf-file-thats-a-c-embedded-resource/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manipulating Controls Across Threads</title>
		<link>http://www.csharp411.com/manipulating-controls-across-threads/</link>
		<comments>http://www.csharp411.com/manipulating-controls-across-threads/#comments</comments>
		<pubDate>Thu, 15 May 2008 16:18:05 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Controls]]></category>
		<category><![CDATA[Threading]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Windows Forms]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/manipulating-controls-across-threads/</guid>
		<description><![CDATA[Methods that affect a Windows Forms control can be executed only on the thread that created the control. .NET does not permit directly manipulating controls across threads. The Visual Studio compiler under .NET 2.0 will mark these attempts as errors. .NET 1.1 will allow them, but these will often result in unexpected behavior like incorrectly-painted [...]]]></description>
		<wfw:commentRss>http://www.csharp411.com/manipulating-controls-across-threads/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

