<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Time Picker</title>
	<atom:link href="http://marlongrech.wordpress.com/2007/11/18/time-picker/feed/" rel="self" type="application/rss+xml" />
	<link>http://marlongrech.wordpress.com/2007/11/18/time-picker/</link>
	<description>my life in Avalon ....</description>
	<lastBuildDate>Mon, 04 Jan 2010 23:11:44 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Cecil</title>
		<link>http://marlongrech.wordpress.com/2007/11/18/time-picker/#comment-3236</link>
		<dc:creator>Cecil</dc:creator>
		<pubDate>Mon, 14 Dec 2009 16:04:41 +0000</pubDate>
		<guid isPermaLink="false">http://marlongrech.wordpress.com/2007/11/18/time-picker/#comment-3236</guid>
		<description>Check out the ressource file. It contains the textboxes for the three input fields.</description>
		<content:encoded><![CDATA[<p>Check out the ressource file. It contains the textboxes for the three input fields.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob</title>
		<link>http://marlongrech.wordpress.com/2007/11/18/time-picker/#comment-3186</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Tue, 03 Nov 2009 14:30:20 +0000</pubDate>
		<guid isPermaLink="false">http://marlongrech.wordpress.com/2007/11/18/time-picker/#comment-3186</guid>
		<description>Agreed. 
Any ideas on how to completely remove the seconds from the control?  Removing all the references from TimePicker.cs does not seem to remove the colon and empty seconds textbox from the control in the UI.</description>
		<content:encoded><![CDATA[<p>Agreed.<br />
Any ideas on how to completely remove the seconds from the control?  Removing all the references from TimePicker.cs does not seem to remove the colon and empty seconds textbox from the control in the UI.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: koko</title>
		<link>http://marlongrech.wordpress.com/2007/11/18/time-picker/#comment-3144</link>
		<dc:creator>koko</dc:creator>
		<pubDate>Mon, 05 Oct 2009 07:13:50 +0000</pubDate>
		<guid isPermaLink="false">http://marlongrech.wordpress.com/2007/11/18/time-picker/#comment-3144</guid>
		<description>You shall provide a way to show Hour and Minute only.</description>
		<content:encoded><![CDATA[<p>You shall provide a way to show Hour and Minute only.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HalB</title>
		<link>http://marlongrech.wordpress.com/2007/11/18/time-picker/#comment-3064</link>
		<dc:creator>HalB</dc:creator>
		<pubDate>Tue, 18 Aug 2009 11:53:04 +0000</pubDate>
		<guid isPermaLink="false">http://marlongrech.wordpress.com/2007/11/18/time-picker/#comment-3064</guid>
		<description>I am new to wpf and dont understand how to apply a control template to the timepicker so it shows 12 hour time with AM/PM. Is this possible? Could anyone provide an example of how to do this? Thanks.</description>
		<content:encoded><![CDATA[<p>I am new to wpf and dont understand how to apply a control template to the timepicker so it shows 12 hour time with AM/PM. Is this possible? Could anyone provide an example of how to do this? Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens</title>
		<link>http://marlongrech.wordpress.com/2007/11/18/time-picker/#comment-3041</link>
		<dc:creator>Jens</dc:creator>
		<pubDate>Sun, 02 Aug 2009 20:30:46 +0000</pubDate>
		<guid isPermaLink="false">http://marlongrech.wordpress.com/2007/11/18/time-picker/#comment-3041</guid>
		<description>Hi, thanks for these nice controls!

But one question:
I&#039;m using the TimePicker in my MVVM application but I have the same problems written in comment 13 and 15. Is there a solution to solve the problems? My TimeSpan Property &quot;SelectedTime&quot; in my ViewModel never get changed and the TimePicker always show the current time.</description>
		<content:encoded><![CDATA[<p>Hi, thanks for these nice controls!</p>
<p>But one question:<br />
I&#8217;m using the TimePicker in my MVVM application but I have the same problems written in comment 13 and 15. Is there a solution to solve the problems? My TimeSpan Property &#8220;SelectedTime&#8221; in my ViewModel never get changed and the TimePicker always show the current time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Parker</title>
		<link>http://marlongrech.wordpress.com/2007/11/18/time-picker/#comment-2909</link>
		<dc:creator>David Parker</dc:creator>
		<pubDate>Mon, 01 Jun 2009 08:23:09 +0000</pubDate>
		<guid isPermaLink="false">http://marlongrech.wordpress.com/2007/11/18/time-picker/#comment-2909</guid>
		<description>I have managed to do this by applying a convertr to the control parts:
For example:
                            
                            
                            

Uses this:

Public Class Format2NumberConverter
    Implements IValueConverter

    Public Function Convert(ByVal value As Object, ByVal targetType As System.Type, ByVal parameter As Object, ByVal culture As System.Globalization.CultureInfo) As Object Implements System.Windows.Data.IValueConverter.Convert
        Try
            If IsNumeric(value) Then
                Return String.Format(&quot;{0:00}&quot;, value)
            Else
                Return value
            End If
        Catch ex As Exception
            MessageBox.Show(ex.Message)
        End Try
        Return Nothing
    End Function

    Public Function ConvertBack(ByVal value As Object, ByVal targetType As System.Type, ByVal parameter As Object, ByVal culture As System.Globalization.CultureInfo) As Object Implements System.Windows.Data.IValueConverter.ConvertBack
        If value.ToString().Length = 0 Then
            Return 0
        Else
            Return CInt(value)
        End If
        Throw New System.NotImplementedException()
    End Function
End Class</description>
		<content:encoded><![CDATA[<p>I have managed to do this by applying a convertr to the control parts:<br />
For example:</p>
<p>Uses this:</p>
<p>Public Class Format2NumberConverter<br />
    Implements IValueConverter</p>
<p>    Public Function Convert(ByVal value As Object, ByVal targetType As System.Type, ByVal parameter As Object, ByVal culture As System.Globalization.CultureInfo) As Object Implements System.Windows.Data.IValueConverter.Convert<br />
        Try<br />
            If IsNumeric(value) Then<br />
                Return String.Format(&#8220;{0:00}&#8221;, value)<br />
            Else<br />
                Return value<br />
            End If<br />
        Catch ex As Exception<br />
            MessageBox.Show(ex.Message)<br />
        End Try<br />
        Return Nothing<br />
    End Function</p>
<p>    Public Function ConvertBack(ByVal value As Object, ByVal targetType As System.Type, ByVal parameter As Object, ByVal culture As System.Globalization.CultureInfo) As Object Implements System.Windows.Data.IValueConverter.ConvertBack<br />
        If value.ToString().Length = 0 Then<br />
            Return 0<br />
        Else<br />
            Return CInt(value)<br />
        End If<br />
        Throw New System.NotImplementedException()<br />
    End Function<br />
End Class</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marlongrech</title>
		<link>http://marlongrech.wordpress.com/2007/11/18/time-picker/#comment-2705</link>
		<dc:creator>marlongrech</dc:creator>
		<pubDate>Fri, 13 Mar 2009 10:41:35 +0000</pubDate>
		<guid isPermaLink="false">http://marlongrech.wordpress.com/2007/11/18/time-picker/#comment-2705</guid>
		<description>This is for WPF not silverlight.... Sorry</description>
		<content:encoded><![CDATA[<p>This is for WPF not silverlight&#8230;. Sorry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wuiz</title>
		<link>http://marlongrech.wordpress.com/2007/11/18/time-picker/#comment-2704</link>
		<dc:creator>wuiz</dc:creator>
		<pubDate>Fri, 13 Mar 2009 08:51:20 +0000</pubDate>
		<guid isPermaLink="false">http://marlongrech.wordpress.com/2007/11/18/time-picker/#comment-2704</guid>
		<description>hey, i tried adding ur reference into my library, but they say its not compatible with my silverlight application..is there any way around that? i wanna use the time picker u created...:(</description>
		<content:encoded><![CDATA[<p>hey, i tried adding ur reference into my library, but they say its not compatible with my silverlight application..is there any way around that? i wanna use the time picker u created&#8230;:(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://marlongrech.wordpress.com/2007/11/18/time-picker/#comment-2577</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Tue, 23 Dec 2008 07:47:24 +0000</pubDate>
		<guid isPermaLink="false">http://marlongrech.wordpress.com/2007/11/18/time-picker/#comment-2577</guid>
		<description>Hi,
I needed the Time picker to not have rounded corners so I made the CornerRadius setable. Here&#039;s the code if in case you want to add it back in:
TimePicker.cs:
        /// 
        /// Gets or sets the Corner Radius
        /// 
        public CornerRadius CornerRadius 
        {
          get { return (CornerRadius)GetValue(CornerRadiusProperty) ; }
          set { SetValue(CornerRadiusProperty, value);}
        }

        /// 
        /// Backing store for the Corner Radius minsutes
        /// 
        public static readonly DependencyProperty CornerRadiusProperty =
            DependencyProperty.Register(&quot;CornerRadius&quot;, typeof(CornerRadius), typeof(TimePicker), 
                new UIPropertyMetadata( new CornerRadius(5, 5, 5, 5),
                delegate(DependencyObject sender, DependencyPropertyChangedEventArgs e)
                {
                  TimePicker timePicker = (TimePicker)sender;
                  //set the new Corner Radius
                  timePicker.CornerRadius = (CornerRadius)e.NewValue;
                }));

TimePicker.xaml:
Change line 14
CornerRadius=&quot;5&quot; 
to
CornerRadius=&quot;{TemplateBinding BorderBrush}&quot;  

Thats it. The changes appear to work here ok with the limited testing that I&#039;ve done.

Thanks for the great controls.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I needed the Time picker to not have rounded corners so I made the CornerRadius setable. Here&#8217;s the code if in case you want to add it back in:<br />
TimePicker.cs:<br />
        ///<br />
        /// Gets or sets the Corner Radius<br />
        ///<br />
        public CornerRadius CornerRadius<br />
        {<br />
          get { return (CornerRadius)GetValue(CornerRadiusProperty) ; }<br />
          set { SetValue(CornerRadiusProperty, value);}<br />
        }</p>
<p>        ///<br />
        /// Backing store for the Corner Radius minsutes<br />
        ///<br />
        public static readonly DependencyProperty CornerRadiusProperty =<br />
            DependencyProperty.Register(&#8220;CornerRadius&#8221;, typeof(CornerRadius), typeof(TimePicker),<br />
                new UIPropertyMetadata( new CornerRadius(5, 5, 5, 5),<br />
                delegate(DependencyObject sender, DependencyPropertyChangedEventArgs e)<br />
                {<br />
                  TimePicker timePicker = (TimePicker)sender;<br />
                  //set the new Corner Radius<br />
                  timePicker.CornerRadius = (CornerRadius)e.NewValue;<br />
                }));</p>
<p>TimePicker.xaml:<br />
Change line 14<br />
CornerRadius=&#8221;5&#8243;<br />
to<br />
CornerRadius=&#8221;{TemplateBinding BorderBrush}&#8221;  </p>
<p>Thats it. The changes appear to work here ok with the limited testing that I&#8217;ve done.</p>
<p>Thanks for the great controls.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pioter</title>
		<link>http://marlongrech.wordpress.com/2007/11/18/time-picker/#comment-2572</link>
		<dc:creator>Pioter</dc:creator>
		<pubDate>Thu, 18 Dec 2008 14:06:29 +0000</pubDate>
		<guid isPermaLink="false">http://marlongrech.wordpress.com/2007/11/18/time-picker/#comment-2572</guid>
		<description>Hi
nice work, but i found sobie bug (?)
i&#039;m binding dependency property from my class to TimePicker.SelectedTime dep. property. It works fine till i change value in TimePicker control.. this action brokes binding expression.</description>
		<content:encoded><![CDATA[<p>Hi<br />
nice work, but i found sobie bug (?)<br />
i&#8217;m binding dependency property from my class to TimePicker.SelectedTime dep. property. It works fine till i change value in TimePicker control.. this action brokes binding expression.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
