<?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>Flex Examples &#187; dateChooserStyleName</title>
	<atom:link href="http://blog.flexexamples.com/tag/datechooserstylename/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Wed, 26 Jan 2011 18:09:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Removing the drop shadow from the DateField control in Flex</title>
		<link>http://blog.flexexamples.com/2007/12/23/removing-the-drop-shadow-from-the-datefield-control-in-flex/</link>
		<comments>http://blog.flexexamples.com/2007/12/23/removing-the-drop-shadow-from-the-datefield-control-in-flex/#comments</comments>
		<pubDate>Mon, 24 Dec 2007 07:59:06 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[DateField]]></category>
		<category><![CDATA[dateChooserStyleName]]></category>
		<category><![CDATA[dropShadowEnabled]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/2007/12/23/removing-the-drop-shadow-from-the-datefield-control-in-flex/</guid>
		<description><![CDATA[<p>The following example shows how you can remove the default drop shadow from the nested DateChooser control in a Flex DateField control by setting the dropShadowEnabled style.</p> <p>Full code after the jump.</p> <p></p> <p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/DateField_dateChooserStyleName_dropShadowEnabled_test/main.mxml">View MXML</a></p> &#60;?xml version="1.0" encoding="utf-8"?&#62; &#60;!-- http://blog.flexexamples.com/2007/12/23/removing-the-drop-shadow-from-the-datefield-control-in-flex/ --&#62; &#60;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="top" backgroundColor="white"&#62; &#60;mx:Style&#62; .myDateChooser { dropShadowEnabled: false; } &#60;/mx:Style&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>The following example shows how you can remove the default drop shadow from the nested DateChooser control in a Flex DateField control by setting the <code>dropShadowEnabled</code> style.</p>
<p>Full code after the jump.</p>
<p><span id="more-386"></span></p>
<p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/DateField_dateChooserStyleName_dropShadowEnabled_test/main.mxml">View MXML</a></p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;!-- http://blog.flexexamples.com/2007/12/23/removing-the-drop-shadow-from-the-datefield-control-in-flex/ --&gt;
&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="top"
        backgroundColor="white"&gt;

    &lt;mx:Style&gt;
        .myDateChooser {
            dropShadowEnabled: false;
        }
    &lt;/mx:Style&gt;

    &lt;mx:Form&gt;
        &lt;mx:FormItem label="With drop shadow:"&gt;
            &lt;mx:DateField /&gt;
        &lt;/mx:FormItem&gt;
        &lt;mx:FormItem label="Without drop shadow:"&gt;
            &lt;mx:DateField dateChooserStyleName="myDateChooser" /&gt;
        &lt;/mx:FormItem&gt;
    &lt;/mx:Form&gt;

&lt;/mx:Application&gt;
</pre>
<p class="information"><a href="http://blog.flexexamples.com/wp-content/uploads/DateField_dateChooserStyleName_dropShadowEnabled_test/bin/srcview/index.html">View source</a> is enabled in the following example.</p>
<p><iframe src="http://blog.flexexamples.com/wp-content/uploads/DateField_dateChooserStyleName_dropShadowEnabled_test/bin/main.html" width="100%" height="300"></iframe></p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Removing the drop shadow from the DateField control in Flex on FlexExamples.com',url: 'http://blog.flexexamples.com/2007/12/23/removing-the-drop-shadow-from-the-datefield-control-in-flex/',contentID: 'post-386',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'dateChooserStyleName,dropShadowEnabled',providerName: 'FlexExamples.com',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper-remember.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.flexexamples.com/2007/12/23/removing-the-drop-shadow-from-the-datefield-control-in-flex/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Customizing the current date in the Flex DateField control</title>
		<link>http://blog.flexexamples.com/2007/12/19/customizing-the-current-date-in-the-flex-datefield-control/</link>
		<comments>http://blog.flexexamples.com/2007/12/19/customizing-the-current-date-in-the-flex-datefield-control/#comments</comments>
		<pubDate>Thu, 20 Dec 2007 07:37:32 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[DateField]]></category>
		<category><![CDATA[dateChooserStyleName]]></category>
		<category><![CDATA[showToday]]></category>
		<category><![CDATA[todayColor]]></category>
		<category><![CDATA[todayStyleName]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/2007/12/19/customizing-the-current-date-in-the-flex-datefield-control/</guid>
		<description><![CDATA[<p>In an earlier example, <a href="http://blog.flexexamples.com/2007/12/18/changing-the-current-dates-background-color-in-the-flex-datefield-control/">&#8220;Changing the current date&#8217;s background color in the Flex DateField control&#8221;</a>, we saw how you can customize the background color of the current date, assuming that the showToday property is true. In the following example, we see how you can change the font color, style, and weight of the current [...]]]></description>
			<content:encoded><![CDATA[<p>In an earlier example, <a href="http://blog.flexexamples.com/2007/12/18/changing-the-current-dates-background-color-in-the-flex-datefield-control/">&#8220;Changing the current date&#8217;s background color in the Flex DateField control&#8221;</a>, we saw how you can customize the background color of the current date, assuming that the <code>showToday</code> property is <code>true</code>. In the following example, we see how you can change the font color, style, and weight of the current date by setting the <code>todayStyleName</code> style in the Flex DateField control&#8217;s nested DateChooser control.</p>
<p>Full code after the jump.</p>
<p><span id="more-377"></span></p>
<p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/DateField_todayColor_test/main.mxml">View MXML</a></p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;!-- http://blog.flexexamples.com/2007/12/19/customizing-the-current-date-in-the-flex-datefield-control/ --&gt;
&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="top"
        backgroundColor="white"&gt;

    &lt;mx:Style&gt;
        DateField {
            todayColor: haloOrange;
            dateChooserStyleName: myCustomDateChooser;
        }

        .myCustomDateChooser {
            todayStyleName: myCustomTodayStyleName;
        }

        .myCustomTodayStyleName {
            color: black;
            fontStyle: italic;
            fontWeight: bold;
        }
    &lt;/mx:Style&gt;

    &lt;mx:ApplicationControlBar dock="true"&gt;
        &lt;mx:Form styleName="plain"&gt;
            &lt;mx:FormItem label="showToday:"&gt;
                &lt;mx:CheckBox id="checkBox"
                        selected="true"
                        change="dateField.open();" /&gt;
            &lt;/mx:FormItem&gt;
        &lt;/mx:Form&gt;
    &lt;/mx:ApplicationControlBar&gt;

    &lt;mx:DateField id="dateField"
            showToday="{checkBox.selected}"
            creationComplete="dateField.open();" /&gt;

&lt;/mx:Application&gt;
</pre>
<p class="information"><a href="http://blog.flexexamples.com/wp-content/uploads/DateField_todayColor_test/bin/srcview/index.html">View source</a> is enabled in the following example.</p>
<p><iframe src="http://blog.flexexamples.com/wp-content/uploads/DateField_todayColor_test/bin/main.html" width="100%" height="300"></iframe></p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Customizing the current date in the Flex DateField control on FlexExamples.com',url: 'http://blog.flexexamples.com/2007/12/19/customizing-the-current-date-in-the-flex-datefield-control/',contentID: 'post-377',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'dateChooserStyleName,showToday,todayColor,todayStyleName',providerName: 'FlexExamples.com',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper-remember.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.flexexamples.com/2007/12/19/customizing-the-current-date-in-the-flex-datefield-control/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Changing the background color of the nested calendar in a Flex DateField control</title>
		<link>http://blog.flexexamples.com/2007/12/18/changing-the-background-color-of-the-nested-calendar-in-a-flex-datefield-control/</link>
		<comments>http://blog.flexexamples.com/2007/12/18/changing-the-background-color-of-the-nested-calendar-in-a-flex-datefield-control/#comments</comments>
		<pubDate>Tue, 18 Dec 2007 17:07:50 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[DateField]]></category>
		<category><![CDATA[dateChooserStyleName]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/2007/12/18/changing-the-background-color-of-the-nested-calendar-in-a-flex-datefield-control/</guid>
		<description><![CDATA[<p>The following example shows how you can change the background color and text color of the DateField control&#8217;s nested DateChooser component.</p> <p>Full code after the jump.</p> <p></p> <p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/DateField_dateChooserStyleName_backgroundColor_test/main.mxml">View MXML</a></p> &#60;?xml version="1.0" encoding="utf-8"?&#62; &#60;!-- http://blog.flexexamples.com/2007/12/18/changing-the-background-color-of-the-nested-calendar-in-a-flex-datefield-control/ --&#62; &#60;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="top" backgroundColor="white"&#62; &#60;mx:Style&#62; .subDateChooser { backgroundColor: black; color: white; } &#60;/mx:Style&#62; &#60;mx:DateField id="dateField" dateChooserStyleName="subDateChooser" /&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>The following example shows how you can change the background color and text color of the DateField control&#8217;s nested DateChooser component.</p>
<p>Full code after the jump.</p>
<p><span id="more-376"></span></p>
<p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/DateField_dateChooserStyleName_backgroundColor_test/main.mxml">View MXML</a></p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;!-- http://blog.flexexamples.com/2007/12/18/changing-the-background-color-of-the-nested-calendar-in-a-flex-datefield-control/ --&gt;
&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="top"
        backgroundColor="white"&gt;

    &lt;mx:Style&gt;
        .subDateChooser {
            backgroundColor: black;
            color: white;
        }
    &lt;/mx:Style&gt;

    &lt;mx:DateField id="dateField"
            dateChooserStyleName="subDateChooser" /&gt;

&lt;/mx:Application&gt;
</pre>
<p class="information"><a href="http://blog.flexexamples.com/wp-content/uploads/DateField_dateChooserStyleName_backgroundColor_test/bin/srcview/index.html">View source</a> is enabled in the following example.</p>
<p><iframe src="http://blog.flexexamples.com/wp-content/uploads/DateField_dateChooserStyleName_backgroundColor_test/bin/main.html" width="100%" height="300"></iframe></p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Changing the background color of the nested calendar in a Flex DateField control on FlexExamples.com',url: 'http://blog.flexexamples.com/2007/12/18/changing-the-background-color-of-the-nested-calendar-in-a-flex-datefield-control/',contentID: 'post-376',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'dateChooserStyleName',providerName: 'FlexExamples.com',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper-remember.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.flexexamples.com/2007/12/18/changing-the-background-color-of-the-nested-calendar-in-a-flex-datefield-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing the next and previous month navigation icons on a DateField control in Flex</title>
		<link>http://blog.flexexamples.com/2007/12/16/changing-the-next-and-previous-month-navigation-icons-on-a-datefield-control-in-flex/</link>
		<comments>http://blog.flexexamples.com/2007/12/16/changing-the-next-and-previous-month-navigation-icons-on-a-datefield-control-in-flex/#comments</comments>
		<pubDate>Sun, 16 Dec 2007 08:39:16 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[DateField]]></category>
		<category><![CDATA[dateChooserStyleName]]></category>
		<category><![CDATA[nextMonthUpSkin]]></category>
		<category><![CDATA[prevMonthUpSkin]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/2007/12/16/changing-the-next-and-previous-month-navigation-icons-on-a-datefield-control-in-flex/</guid>
		<description><![CDATA[<p>The following example shows how you can change the next/previous month navigation icons on a Flex DateField control by setting the dateChooserStyleName style and setting various skin values.</p> <p>Full code after the jump.</p> <p></p> <p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/DateField_dateChooserStyleName_test/main.mxml">View MXML</a></p> &#60;?xml version="1.0" encoding="utf-8"?&#62; &#60;!-- http://blog.flexexamples.com/2007/12/16/changing-the-next-and-previous-month-navigation-icons-on-a-datefield-control-in-flex/ --&#62; &#60;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="top" backgroundColor="white"&#62; &#60;mx:Style&#62; .myDateChooserStyles { /* Previous Month [...]]]></description>
			<content:encoded><![CDATA[<p>The following example shows how you can change the next/previous month navigation icons on a Flex DateField control by setting the <code>dateChooserStyleName</code> style and setting various skin values.</p>
<p>Full code after the jump.</p>
<p><span id="more-371"></span></p>
<p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/DateField_dateChooserStyleName_test/main.mxml">View MXML</a></p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;!-- http://blog.flexexamples.com/2007/12/16/changing-the-next-and-previous-month-navigation-icons-on-a-datefield-control-in-flex/ --&gt;
&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="top"
        backgroundColor="white"&gt;

    &lt;mx:Style&gt;
        .myDateChooserStyles {
            /* Previous Month */
            prevMonthUpSkin: Embed("assets/bullet_delete.png");
            prevMonthOverSkin: Embed("assets/bullet_delete.png");
            prevMonthDownSkin: Embed("assets/bullet_delete.png");
            prevMonthDisabledSkin: Embed("assets/bullet_delete.png");

            /* Next Month */
            nextMonthUpSkin: Embed("assets/bullet_add.png");
            nextMonthOverSkin: Embed("assets/bullet_add.png");
            nextMonthDownSkin: Embed("assets/bullet_add.png");
            nextMonthDisabledSkin: Embed("assets/bullet_add.png");
        }
    &lt;/mx:Style&gt;

    &lt;mx:DateField id="dateField"
            dateChooserStyleName="myDateChooserStyles" /&gt;

&lt;/mx:Application&gt;
</pre>
<p class="information"><a href="http://blog.flexexamples.com/wp-content/uploads/DateField_dateChooserStyleName_test/bin/srcview/index.html">View source</a> is enabled in the following example.</p>
<p><iframe src="http://blog.flexexamples.com/wp-content/uploads/DateField_dateChooserStyleName_test/bin/main.html" width="100%" height="300"></iframe></p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Changing the next and previous month navigation icons on a DateField control in Flex on FlexExamples.com',url: 'http://blog.flexexamples.com/2007/12/16/changing-the-next-and-previous-month-navigation-icons-on-a-datefield-control-in-flex/',contentID: 'post-371',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'dateChooserStyleName,nextMonthUpSkin,prevMonthUpSkin',providerName: 'FlexExamples.com',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper-remember.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.flexexamples.com/2007/12/16/changing-the-next-and-previous-month-navigation-icons-on-a-datefield-control-in-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

