<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>tpmetrowpf Wiki Rss Feed</title><link>https://tpmetrowpf.codeplex.com/</link><description>tpmetrowpf Wiki Rss Description</description><item><title>Updated Wiki: Home</title><link>http://tpmetrowpf.codeplex.com/wikipage?version=6</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;&lt;strong&gt;The TimePunch Metro WPF Library has been designed to have a an easy start into developing applications with Microsoft Metro Stil using WPF.&lt;/strong&gt;&lt;br&gt;
&lt;br&gt;
Using WPF as the design language has the advantage that also users with Windows XP can benefit of the modern and clean design.
&lt;br&gt;
&lt;br&gt;
The project is released under the MS-Public License. So you can use it for private and commercial purposes. We ourself uses the TimePunch Metro WPF Library in our time-recording software
&lt;a href="http://www.timepunch.de" target="_blank"&gt;TimePunch&lt;/a&gt;. So you can be sure, that it will be supported by our development team. But we also appreciate help from the big and enthusiastic C# community.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;NuGet:&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The Library is now also available as a NuGet package. Only search for &amp;quot;&lt;span style="color:#ff0000"&gt;TpMetroWpf&lt;/span&gt;&amp;quot; in Visual Studio or make use of the following url:&amp;nbsp;&lt;a href="https://nuget.org/packages/TpMetroWpf/" target="_blank"&gt;https://nuget.org/packages/TpMetroWpf/&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>BitKFu</author><pubDate>Sun, 10 Feb 2013 20:59:48 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20130210085948P</guid></item><item><title>Updated Wiki: Home</title><link>http://tpmetrowpf.codeplex.com/wikipage?version=5</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;&lt;strong&gt;The TimePunch Metro WPF Library has been designed to have a an easy start into developing applications with Microsoft Metro Stil using WPF.&lt;/strong&gt;&lt;br&gt;
&lt;br&gt;
Using WPF as the design language has the advantage that also users with Windows XP can benefit of the modern and clean design.
&lt;br&gt;
&lt;br&gt;
The project is released under the MS-Public License. So you can use it for private and commercial purposes. We ourself uses the TimePunch Metro WPF Library in our time-recording software
&lt;a href="http://www.timepunch.de" target="_blank"&gt;TimePunch&lt;/a&gt;. So you can be sure, that it will be supported by our development team. But we also appreciate help from the big and enthusiastic C# community.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;NuGet:&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The Library is now also available as a NuGet package. Only search for &amp;quot;&lt;span style="color:#ff0000"&gt;TpMetroWpf&lt;/span&gt;&amp;quot; in Visual Studio or make use of the following url:&amp;nbsp;https://nuget.org/packages/TpMetroWpf/&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>BitKFu</author><pubDate>Sun, 10 Feb 2013 20:59:30 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20130210085930P</guid></item><item><title>Updated Wiki: Home</title><link>http://tpmetrowpf.codeplex.com/wikipage?version=4</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;&lt;strong&gt;The TimePunch Metro WPF Library has been designed to have a an easy start into developing applications with Microsoft Metro Stil using WPF.&lt;/strong&gt;&lt;br&gt;
&lt;br&gt;
Using WPF as the design language has the advantage that also users with Windows XP can benefit of the modern and clean design.
&lt;br&gt;
&lt;br&gt;
The project is released under the MS-Public License. So you can use it for private and commercial purposes. We ourself uses the TimePunch Metro WPF Library in our time-recording software
&lt;a href="http://www.timepunch.de" target="_blank"&gt;TimePunch&lt;/a&gt;. So you can be sure, that it will be supported by our development team. But we also appreciate help from the big and enthusiastic C# community.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;NuGet: &lt;span style="color:#ff0000"&gt;TpMetroWpf&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The Library is now also available as a NuGet package. Only search for &amp;quot;TpMetroWpf&amp;quot; in Visual Studio or make use of the following url:&amp;nbsp;https://nuget.org/packages/TpMetroWpf/&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>BitKFu</author><pubDate>Sun, 10 Feb 2013 20:59:12 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20130210085912P</guid></item><item><title>Updated Wiki: ListPicker</title><link>http://tpmetrowpf.codeplex.com/wikipage?title=ListPicker&amp;version=12</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;List Picker&lt;/h1&gt;The ListPicker can be used to pick a unique object from a collection of objects. The ListPicker behaves like it does for Windows Phone 7.&lt;br /&gt;On Touch or Click event a sub page opens where the user can select a single value by tapping it.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Here a two screenshots&lt;/b&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Download?ProjectName=tpmetrowpf&amp;DownloadId=469879" alt="ListPicker1.png" title="ListPicker1.png" /&gt; &lt;img src="http://i3.codeplex.com/Download?ProjectName=tpmetrowpf&amp;DownloadId=469880" alt="ListPicker2.png" title="ListPicker2.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to define the ListPicker in XAML&lt;/b&gt;&lt;br /&gt;At first it&amp;#39;s really important that the page has set the KeepAlive flag. That&amp;#39;s because of the implementation of the Picker Control, which needs to hold an ID to identify the current instance of the Picker Control. If the KeepAlive flag is missing the ID might change and the result of the FullPage Selector won&amp;#39;t be accepted.&lt;br /&gt;&lt;pre&gt;
&amp;lt;Page x:Class=&amp;quot;PickerControlDemo.Views.ExampleView&amp;quot;
      KeepAlive=&amp;quot;True&amp;quot;  &amp;gt;
&lt;/pre&gt;&lt;br /&gt;Here&amp;#39;s an example that shows how to define the ListPicker in XAML.&lt;br /&gt;&lt;pre&gt;
&amp;lt;Picker:ListPicker Grid.Row=&amp;quot;1&amp;quot;  
                   ItemsSource=&amp;quot;{Binding Months}&amp;quot; 
                   Margin=&amp;quot;{StaticResource WinMargin}&amp;quot;
                   DisplayMemberPath=&amp;quot;Text&amp;quot;
                   FullModeHeader=&amp;quot;Month selection&amp;quot;
                   SelectedItem=&amp;quot;{Binding SelectedMonth, Mode=TwoWay}&amp;quot;&amp;gt;
    &amp;lt;Picker:ListPicker.FullModeItemTemplate&amp;gt;
        &amp;lt;DataTemplate&amp;gt;
            &amp;lt;TextBlock Text=&amp;quot;{Binding Text}&amp;quot; 
                       Style=&amp;quot;{StaticResource WinTextNormalStyle}&amp;quot; 
                       Margin=&amp;quot;{StaticResource WinMargin}&amp;quot;/&amp;gt;
        &amp;lt;/DataTemplate&amp;gt;
    &amp;lt;/Picker:ListPicker.FullModeItemTemplate&amp;gt;
&amp;lt;/Picker:ListPicker&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;How to define a Quick Selection&lt;/b&gt;&lt;br /&gt;if the entries of your items source are implementing the IItemFilter interface, than the ListPicker will show the user a quick selection input box. The entries will than be filtered via the interface. Such a implementation could look like:&lt;br /&gt;&lt;pre&gt;
    public class Resource : IItemFilter
    {
        public bool IsValueAccepted(string filter)
        {
            return filter == null 
               || Text.StartsWith(filter, StringComparison.InvariantCultureIgnoreCase);
        }
    }
&lt;/pre&gt;&lt;br /&gt;This would result in the following screen layout:&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Download?ProjectName=tpmetrowpf&amp;DownloadId=621521" alt="ListPicker3.png" title="ListPicker3.png" /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>BitKFu</author><pubDate>Sat, 09 Feb 2013 16:19:45 GMT</pubDate><guid isPermaLink="false">Updated Wiki: ListPicker 20130209041945P</guid></item><item><title>Updated Wiki: ListPicker</title><link>http://tpmetrowpf.codeplex.com/wikipage?title=ListPicker&amp;version=11</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;List Picker&lt;/h1&gt;The ListPicker can be used to pick a unique object from a collection of objects. The ListPicker behaves like it does for Windows Phone 7.&lt;br /&gt;On Touch or Click event a sub page opens where the user can select a single value by tapping it.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Here a two screenshots&lt;/b&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Download?ProjectName=tpmetrowpf&amp;DownloadId=469879" alt="ListPicker1.png" title="ListPicker1.png" /&gt; &lt;img src="http://i3.codeplex.com/Download?ProjectName=tpmetrowpf&amp;DownloadId=469880" alt="ListPicker2.png" title="ListPicker2.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to define the ListPicker in XAML&lt;/b&gt;&lt;br /&gt;At first it&amp;#39;s really important that the page has set the KeepAlive flag. That&amp;#39;s because of the implementation of the Picker Control, which needs to hold an ID to identify the current instance of the Picker Control. If the KeepAlive flag is missing the ID might change and the result of the FullPage Selector won&amp;#39;t be accepted.&lt;br /&gt;&lt;pre&gt;
&amp;lt;Page x:Class=&amp;quot;PickerControlDemo.Views.ExampleView&amp;quot;
      KeepAlive=&amp;quot;True&amp;quot;  &amp;gt;
&lt;/pre&gt;&lt;br /&gt;Here&amp;#39;s an example that shows how to define the ListPicker in XAML.&lt;br /&gt;&lt;pre&gt;
&amp;lt;Picker:ListPicker Grid.Row=&amp;quot;1&amp;quot;  
                   ItemsSource=&amp;quot;{Binding Months}&amp;quot; 
                   Margin=&amp;quot;{StaticResource WinMargin}&amp;quot;
                   DisplayMemberPath=&amp;quot;Text&amp;quot;
                   FullModeHeader=&amp;quot;Month selection&amp;quot;
                   SelectedItem=&amp;quot;{Binding SelectedMonth, Mode=TwoWay}&amp;quot;&amp;gt;
    &amp;lt;Picker:ListPicker.FullModeItemTemplate&amp;gt;
        &amp;lt;DataTemplate&amp;gt;
            &amp;lt;TextBlock Text=&amp;quot;{Binding Text}&amp;quot; 
                       Style=&amp;quot;{StaticResource WinTextNormalStyle}&amp;quot; 
                       Margin=&amp;quot;{StaticResource WinMargin}&amp;quot;/&amp;gt;
        &amp;lt;/DataTemplate&amp;gt;
    &amp;lt;/Picker:ListPicker.FullModeItemTemplate&amp;gt;
&amp;lt;/Picker:ListPicker&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;How to define a Quick Selection&lt;/b&gt;&lt;br /&gt;If the entries of your items source are implementing the &lt;span class="codeInline"&gt; IItemFilter &lt;/span&gt; interface, than the ListPicker will show the user a quick selection input box. The entries get than filtered via the interface. Such a implementation could look like:&lt;br /&gt;&lt;pre&gt;
    public class Resource : IItemFilter
    {
        public bool IsValueAccepted(string filter)
        {
            return filter == null 
               || Text.StartsWith(filter, StringComparison.InvariantCultureIgnoreCase);
        }
    }
&lt;/pre&gt;&lt;br /&gt;This would result in the following screen layout:&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Download?ProjectName=tpmetrowpf&amp;DownloadId=621521" alt="ListPicker3.png" title="ListPicker3.png" /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>BitKFu</author><pubDate>Sat, 09 Feb 2013 16:18:25 GMT</pubDate><guid isPermaLink="false">Updated Wiki: ListPicker 20130209041825P</guid></item><item><title>Updated Wiki: ListPicker</title><link>http://tpmetrowpf.codeplex.com/wikipage?title=ListPicker&amp;version=10</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;List Picker&lt;/h1&gt;The ListPicker can be used to pick a unique object from a collection of objects. The ListPicker behaves like it does for Windows Phone 7.&lt;br /&gt;On Touch or Click event a sub page opens where the user can select a single value by tapping it.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Here a two screenshots&lt;/b&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Download?ProjectName=tpmetrowpf&amp;DownloadId=469879" alt="ListPicker1.png" title="ListPicker1.png" /&gt; &lt;img src="http://i3.codeplex.com/Download?ProjectName=tpmetrowpf&amp;DownloadId=469880" alt="ListPicker2.png" title="ListPicker2.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to define the ListPicker in XAML&lt;/b&gt;&lt;br /&gt;At first it&amp;#39;s really important that the page has set the KeepAlive flag. That&amp;#39;s because of the implementation of the Picker Control, which needs to hold an ID to identify the current instance of the Picker Control. If the KeepAlive flag is missing the ID might change and the result of the FullPage Selector won&amp;#39;t be accepted.&lt;br /&gt;&lt;pre&gt;
&amp;lt;Page x:Class=&amp;quot;PickerControlDemo.Views.ExampleView&amp;quot;
      KeepAlive=&amp;quot;True&amp;quot;  &amp;gt;
&lt;/pre&gt;&lt;br /&gt;Here&amp;#39;s an example that shows how to define the ListPicker in XAML.&lt;br /&gt;&lt;pre&gt;
&amp;lt;Picker:ListPicker Grid.Row=&amp;quot;1&amp;quot;  
                   ItemsSource=&amp;quot;{Binding Months}&amp;quot; 
                   Margin=&amp;quot;{StaticResource WinMargin}&amp;quot;
                   DisplayMemberPath=&amp;quot;Text&amp;quot;
                   FullModeHeader=&amp;quot;Month selection&amp;quot;
                   SelectedItem=&amp;quot;{Binding SelectedMonth, Mode=TwoWay}&amp;quot;&amp;gt;
    &amp;lt;Picker:ListPicker.FullModeItemTemplate&amp;gt;
        &amp;lt;DataTemplate&amp;gt;
            &amp;lt;TextBlock Text=&amp;quot;{Binding Text}&amp;quot; 
                       Style=&amp;quot;{StaticResource WinTextNormalStyle}&amp;quot; 
                       Margin=&amp;quot;{StaticResource WinMargin}&amp;quot;/&amp;gt;
        &amp;lt;/DataTemplate&amp;gt;
    &amp;lt;/Picker:ListPicker.FullModeItemTemplate&amp;gt;
&amp;lt;/Picker:ListPicker&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to define a Quick Selection&lt;/b&gt;&lt;br /&gt;If the entries of your items source are implementing the &lt;span class="codeInline"&gt; IItemFilter &lt;/span&gt; interface, than the ListPicker will show the user a quick selection input box. The entries get than filtered via the interface. Such a implementation could look like:&lt;br /&gt;&lt;pre&gt;
    public class Resource : IItemFilter
    {
        public bool IsValueAccepted(string filter)
        {
            return filter == null 
               || Text.StartsWith(filter, StringComparison.InvariantCultureIgnoreCase);
        }
     }
&lt;/pre&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>BitKFu</author><pubDate>Sat, 09 Feb 2013 16:17:17 GMT</pubDate><guid isPermaLink="false">Updated Wiki: ListPicker 20130209041717P</guid></item><item><title>Updated Wiki: ListPicker</title><link>http://tpmetrowpf.codeplex.com/wikipage?title=ListPicker&amp;version=9</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;List Picker&lt;/h1&gt;The ListPicker can be used to pick a unique object from a collection of objects. The ListPicker behaves like it does for Windows Phone 7.&lt;br /&gt;On Touch or Click event a sub page opens where the user can select a single value by tapping it.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Here a two screenshots&lt;/b&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Download?ProjectName=tpmetrowpf&amp;DownloadId=469879" alt="ListPicker1.png" title="ListPicker1.png" /&gt; &lt;img src="http://i3.codeplex.com/Download?ProjectName=tpmetrowpf&amp;DownloadId=469880" alt="ListPicker2.png" title="ListPicker2.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to define the ListPicker in XAML&lt;/b&gt;&lt;br /&gt;At first it&amp;#39;s really important that the page has set the KeepAlive flag. That&amp;#39;s because of the implementation of the Picker Control, which needs to hold an ID to identify the current instance of the Picker Control. If the KeepAlive flag is missing the ID might change and the result of the FullPage Selector won&amp;#39;t be accepted.&lt;br /&gt;&lt;pre&gt;
&amp;lt;Page x:Class=&amp;quot;PickerControlDemo.Views.ExampleView&amp;quot;
      KeepAlive=&amp;quot;True&amp;quot;  &amp;gt;
&lt;/pre&gt;&lt;br /&gt;Here&amp;#39;s an example that shows how to define the ListPicker in XAML.&lt;br /&gt;&lt;pre&gt;
&amp;lt;Picker:ListPicker Grid.Row=&amp;quot;1&amp;quot;  
                   ItemsSource=&amp;quot;{Binding Months}&amp;quot; 
                   Margin=&amp;quot;{StaticResource WinMargin}&amp;quot;
                   DisplayMemberPath=&amp;quot;Text&amp;quot;
                   FullModeHeader=&amp;quot;Month selection&amp;quot;
                   SelectedItem=&amp;quot;{Binding SelectedMonth, Mode=TwoWay}&amp;quot;&amp;gt;
    &amp;lt;Picker:ListPicker.FullModeItemTemplate&amp;gt;
        &amp;lt;DataTemplate&amp;gt;
            &amp;lt;TextBlock Text=&amp;quot;{Binding Text}&amp;quot; 
                       Style=&amp;quot;{StaticResource WinTextNormalStyle}&amp;quot; 
                       Margin=&amp;quot;{StaticResource WinMargin}&amp;quot;/&amp;gt;
        &amp;lt;/DataTemplate&amp;gt;
    &amp;lt;/Picker:ListPicker.FullModeItemTemplate&amp;gt;
&amp;lt;/Picker:ListPicker&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to define a Quick Selection&lt;/b&gt;&lt;br /&gt;If the entries of your items source are implementing the &lt;span class="codeInline"&gt; IItemFilter &lt;/span&gt; interface, than the ListPicker will show the user a quick selection input box. The entries get than filtered via the interface. Such a implementation could look like:&lt;br /&gt;&lt;pre&gt;
        public bool IsValueAccepted(string filter)
        {
            return filter == null || Text.StartsWith(filter, StringComparison.InvariantCultureIgnoreCase);
        }
&lt;/pre&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>BitKFu</author><pubDate>Sat, 09 Feb 2013 16:16:42 GMT</pubDate><guid isPermaLink="false">Updated Wiki: ListPicker 20130209041642P</guid></item><item><title>Updated Wiki: TimeSpanPicker</title><link>http://tpmetrowpf.codeplex.com/wikipage?title=TimeSpanPicker&amp;version=6</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;TimeSpan Picker&lt;/h1&gt;Using the TimeSpan picker the user can select a timespan by scrolling the hour and minute selector panels. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Here&amp;#39;s an example of the TimeSpanPicker&lt;/b&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Download?ProjectName=tpmetrowpf&amp;DownloadId=469885" alt="TimeSpanPicker1.png" title="TimeSpanPicker1.png" /&gt; &lt;img src="http://i3.codeplex.com/Download?ProjectName=tpmetrowpf&amp;DownloadId=469889" alt="TimeSpanPicker2.png" title="TimeSpanPicker2.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to define the TimeSpanPicker in XAML&lt;/b&gt;&lt;br /&gt;At first it&amp;#39;s really important that the page has set the KeepAlive flag. That&amp;#39;s because of the implementation of the Picker Control, which needs to hold an ID to identify the current instance of the Picker Control. If the KeepAlive flag is missing the ID might change and the result of the FullPage Selector won&amp;#39;t be accepted.&lt;br /&gt;&lt;pre&gt;
&amp;lt;Page x:Class=&amp;quot;PickerControlDemo.Views.ExampleView&amp;quot;
      KeepAlive=&amp;quot;True&amp;quot;  &amp;gt;
&lt;/pre&gt;&lt;br /&gt;The following example shows how to define the TimeSpanPicker in XAML.&lt;br /&gt;&lt;pre&gt;
        &amp;lt;Picker:TimeSpanPicker 
            FullModeHeader=&amp;quot;Select the timespan&amp;quot;
            Margin=&amp;quot;{StaticResource WinMargin}&amp;quot; 
            IsTouchSelectionEnabled=&amp;quot;True&amp;quot;
            Grid.Row=&amp;quot;7&amp;quot; 
            Value=&amp;quot;{Binding SelectedTimeSpan, Mode=TwoWay}&amp;quot;/&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Remark to IsTouchSelectionEnabled&lt;/b&gt;&lt;br /&gt;If IsTouchSelectionEnabled is not defined, the Framework will decided by it&amp;#39;s own if a touch input dialog shall be shown or not. This depends if the user is working with a touchfriendly device or not. If you want to check that by your own, you can use the &lt;span class="codeInline"&gt; DeviceInfo.HasTouchInput() &lt;/span&gt; method to proof it.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>BitKFu</author><pubDate>Sat, 09 Feb 2013 16:12:41 GMT</pubDate><guid isPermaLink="false">Updated Wiki: TimeSpanPicker 20130209041241P</guid></item><item><title>Updated Wiki: TimePicker</title><link>http://tpmetrowpf.codeplex.com/wikipage?title=TimePicker&amp;version=5</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Time Picker&lt;/h1&gt;Using the time picker the user can select a time by scrolling the hour and minute selector panels. The TimePicker behaves like it does on Windows Phone 7.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Here&amp;#39;s an example of the TimePicker&lt;/b&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Download?ProjectName=tpmetrowpf&amp;DownloadId=469883" alt="TimePicker1.png" title="TimePicker1.png" /&gt; &lt;img src="http://i3.codeplex.com/Download?ProjectName=tpmetrowpf&amp;DownloadId=469888" alt="TimePicker2.png" title="TimePicker2.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to define the TimePicker in XAML&lt;/b&gt;&lt;br /&gt;At first it&amp;#39;s really important that the page has set the KeepAlive flag. That&amp;#39;s because of the implementation of the Picker Control, which needs to hold an ID to identify the current instance of the Picker Control. If the KeepAlive flag is missing the ID might change and the result of the FullPage Selector won&amp;#39;t be accepted.&lt;br /&gt;&lt;pre&gt;
&amp;lt;Page x:Class=&amp;quot;PickerControlDemo.Views.ExampleView&amp;quot;
      KeepAlive=&amp;quot;True&amp;quot;  &amp;gt;
&lt;/pre&gt;&lt;br /&gt;The following example shows how to define the TimePicker in XAML.&lt;br /&gt;&lt;pre&gt;
        &amp;lt;Picker:TimePicker 
            FullModeHeader=&amp;quot;Select the time&amp;quot;
            Margin=&amp;quot;{StaticResource WinMargin}&amp;quot; 
            IsTouchSelectionEnabled=&amp;quot;True&amp;quot;
            Grid.Row=&amp;quot;5&amp;quot; 
            Value=&amp;quot;{Binding SelectedDate, Mode=TwoWay}&amp;quot;/&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Remark to IsTouchSelectionEnabled&lt;/b&gt;&lt;br /&gt;If IsTouchSelectionEnabled is not defined, the Framework will decided by it&amp;#39;s own if a touch input dialog shall be shown or not. This depends if the user is working with a touchfriendly device or not. If you want to check that by your own, you can use the &lt;span class="codeInline"&gt; DeviceInfo.HasTouchInput() &lt;/span&gt; method to proof it.&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>BitKFu</author><pubDate>Sat, 09 Feb 2013 16:12:02 GMT</pubDate><guid isPermaLink="false">Updated Wiki: TimePicker 20130209041202P</guid></item><item><title>Updated Wiki: DatePicker</title><link>http://tpmetrowpf.codeplex.com/wikipage?title=DatePicker&amp;version=6</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Date Picker&lt;/h1&gt;Using the date picker the user can select a single day by scrolling the date, month and year selector panels. The DatePicker behaves like it does on Windows Phone 7.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Here&amp;#39;s an example of the DatePicker&lt;/b&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Download?ProjectName=tpmetrowpf&amp;DownloadId=469881" alt="DatePicker1.png" title="DatePicker1.png" /&gt; &lt;img src="http://i3.codeplex.com/Download?ProjectName=tpmetrowpf&amp;DownloadId=469887" alt="DatePicker2.png" title="DatePicker2.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to define the DatePicker in XAML&lt;/b&gt;&lt;br /&gt;At first it&amp;#39;s really important that the page has set the KeepAlive flag. That&amp;#39;s because of the implementation of the Picker Control, which needs to hold an ID to identify the current instance of the Picker Control. If the KeepAlive flag is missing the ID might change and the result of the FullPage Selector won&amp;#39;t be accepted.&lt;br /&gt;&lt;pre&gt;
&amp;lt;Page x:Class=&amp;quot;PickerControlDemo.Views.ExampleView&amp;quot;
      KeepAlive=&amp;quot;True&amp;quot;  &amp;gt;
&lt;/pre&gt;&lt;br /&gt;The following example shows how to define the DatePicker in XAML.&lt;br /&gt;&lt;pre&gt;
        &amp;lt;Picker:DatePicker 
            FullModeHeader=&amp;quot;Select the date&amp;quot;
            Margin=&amp;quot;{StaticResource WinMargin}&amp;quot; 
            IsTouchSelectionEnabled=&amp;quot;True&amp;quot;
            Grid.Row=&amp;quot;3&amp;quot; 
            Value=&amp;quot;{Binding SelectedDate, Mode=TwoWay}&amp;quot;/&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Remark to IsTouchSelectionEnabled&lt;/b&gt;&lt;br /&gt;If IsTouchSelectionEnabled is not defined, the Framework will decided by it&amp;#39;s own if a touch input dialog shall be shown or not. This depends if the user is working with a touchfriendly device or not. If you want to check that by your own, you can use the &lt;span class="codeInline"&gt; DeviceInfo.HasTouchInput() &lt;/span&gt; method to proof it.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>BitKFu</author><pubDate>Sat, 09 Feb 2013 16:11:26 GMT</pubDate><guid isPermaLink="false">Updated Wiki: DatePicker 20130209041126P</guid></item><item><title>Updated Wiki: DatePicker</title><link>http://tpmetrowpf.codeplex.com/wikipage?title=DatePicker&amp;version=5</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Date Picker&lt;/h1&gt;Using the date picker the user can select a single day by scrolling the date, month and year selector panels. The DatePicker behaves like it does on Windows Phone 7.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Here&amp;#39;s an example of the DatePicker&lt;/b&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Download?ProjectName=tpmetrowpf&amp;DownloadId=469881" alt="DatePicker1.png" title="DatePicker1.png" /&gt; &lt;img src="http://i3.codeplex.com/Download?ProjectName=tpmetrowpf&amp;DownloadId=469887" alt="DatePicker2.png" title="DatePicker2.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to define the DatePicker in XAML&lt;/b&gt;&lt;br /&gt;At first it&amp;#39;s really important that the page has set the KeepAlive flag. That&amp;#39;s because of the implementation of the Picker Control, which needs to hold an ID to identify the current instance of the Picker Control. If the KeepAlive flag is missing the ID might change and the result of the FullPage Selector won&amp;#39;t be accepted.&lt;br /&gt;&lt;pre&gt;
&amp;lt;Page x:Class=&amp;quot;PickerControlDemo.Views.ExampleView&amp;quot;
      KeepAlive=&amp;quot;True&amp;quot;  &amp;gt;
&lt;/pre&gt;&lt;br /&gt;The following example shows how to define the DatePicker in XAML.&lt;br /&gt;&lt;pre&gt;
        &amp;lt;Picker:DatePicker 
            FullModeHeader=&amp;quot;Select the date&amp;quot;
            Margin=&amp;quot;{StaticResource WinMargin}&amp;quot; 
            IsTouchSelectionEnabled=&amp;quot;True&amp;quot;
            Grid.Row=&amp;quot;3&amp;quot; 
            Value=&amp;quot;{Binding SelectedDate, Mode=TwoWay}&amp;quot;/&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Remark to IsTouchSelectionEnabled&lt;/b&gt;&lt;br /&gt;If IsTouchSelectionEnabled is not defined, the Framework will decided by it&amp;#39;s own if a touch input dialog shall be shown or not. This depends if the user is working with a touchfriendly device or not. If you want to check that by your own, you can use the &lt;span class="codeInline"&gt; DeviceInfo.HasTouchInput() &lt;/span&gt; method to proof it.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>BitKFu</author><pubDate>Sat, 09 Feb 2013 16:11:09 GMT</pubDate><guid isPermaLink="false">Updated Wiki: DatePicker 20130209041109P</guid></item><item><title>Updated Wiki: ListPicker</title><link>http://tpmetrowpf.codeplex.com/wikipage?title=ListPicker&amp;version=8</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;List Picker&lt;/h1&gt;The ListPicker can be used to pick a unique object from a collection of objects. The ListPicker behaves like it does for Windows Phone 7.&lt;br /&gt;On Touch or Click event a sub page opens where the user can select a single value by tapping it.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Here a two screenshots&lt;/b&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Download?ProjectName=tpmetrowpf&amp;DownloadId=469879" alt="ListPicker1.png" title="ListPicker1.png" /&gt; &lt;img src="http://i3.codeplex.com/Download?ProjectName=tpmetrowpf&amp;DownloadId=469880" alt="ListPicker2.png" title="ListPicker2.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to define the ListPicker in XAML&lt;/b&gt;&lt;br /&gt;At first it&amp;#39;s really important that the page has set the KeepAlive flag. That&amp;#39;s because of the implementation of the Picker Control, which needs to hold an ID to identify the current instance of the Picker Control. If the KeepAlive flag is missing the ID might change and the result of the FullPage Selector won&amp;#39;t be accepted.&lt;br /&gt;&lt;pre&gt;
&amp;lt;Page x:Class=&amp;quot;PickerControlDemo.Views.ExampleView&amp;quot;
      KeepAlive=&amp;quot;True&amp;quot;  &amp;gt;
&lt;/pre&gt;&lt;br /&gt;Here&amp;#39;s an example that shows how to define the ListPicker in XAML.&lt;br /&gt;&lt;pre&gt;
&amp;lt;Picker:ListPicker Grid.Row=&amp;quot;1&amp;quot;  
                   ItemsSource=&amp;quot;{Binding Months}&amp;quot; 
                   Margin=&amp;quot;{StaticResource WinMargin}&amp;quot;
                   DisplayMemberPath=&amp;quot;Text&amp;quot;
                   FullModeHeader=&amp;quot;Month selection&amp;quot;
                   SelectedItem=&amp;quot;{Binding SelectedMonth, Mode=TwoWay}&amp;quot;&amp;gt;
    &amp;lt;Picker:ListPicker.FullModeItemTemplate&amp;gt;
        &amp;lt;DataTemplate&amp;gt;
            &amp;lt;TextBlock Text=&amp;quot;{Binding Text}&amp;quot; 
                       Style=&amp;quot;{StaticResource WinTextNormalStyle}&amp;quot; 
                       Margin=&amp;quot;{StaticResource WinMargin}&amp;quot;/&amp;gt;
        &amp;lt;/DataTemplate&amp;gt;
    &amp;lt;/Picker:ListPicker.FullModeItemTemplate&amp;gt;
&amp;lt;/Picker:ListPicker&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>BitKFu</author><pubDate>Sat, 09 Feb 2013 16:10:33 GMT</pubDate><guid isPermaLink="false">Updated Wiki: ListPicker 20130209041033P</guid></item><item><title>Updated Wiki: ListPicker</title><link>http://tpmetrowpf.codeplex.com/wikipage?title=ListPicker&amp;version=7</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;List Picker&lt;/h1&gt;The ListPicker can be used to pick a unique object from a collection of objects. The ListPicker behaves like it does for Windows Phone 7.&lt;br /&gt;On Touch or Click event a sub page opens where the user can select a single value by tapping it.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Here a two screenshots&lt;/b&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Download?ProjectName=tpmetrowpf&amp;DownloadId=469879" alt="ListPicker1.png" title="ListPicker1.png" /&gt; &lt;img src="http://i3.codeplex.com/Download?ProjectName=tpmetrowpf&amp;DownloadId=469880" alt="ListPicker2.png" title="ListPicker2.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to define the ListPicker in XAML&lt;/b&gt;&lt;br /&gt;At first it&amp;#39;s really important that the page has set the KeepAlive flag. That&amp;#39;s because of the implementation of the Picker Control, which needs to hold an ID to identify the current instance of the Picker Control. If the KeepAlive flag is missing the ID might change and the result of the FullPage Selector won&amp;#39;t be accepted.&lt;br /&gt;&lt;pre&gt;
&amp;lt;Page x:Class=&amp;quot;PickerControlDemo.Views.ExampleView&amp;quot;
      KeepAlive=&amp;quot;True&amp;quot;  &amp;gt;
&lt;/pre&gt;&lt;br /&gt;Here&amp;#39;s an example that shows how to define the ListPicker in XAML.&lt;br /&gt;&lt;pre&gt;
&amp;lt;Picker:ListPicker Grid.Row=&amp;quot;1&amp;quot;  
                   ItemsSource=&amp;quot;{Binding Months}&amp;quot; 
                   Margin=&amp;quot;{StaticResource WinMargin}&amp;quot;
                   DisplayMemberPath=&amp;quot;Text&amp;quot;
                   FullModeHeader=&amp;quot;Month selection&amp;quot;
                   IsTouchSelectionEnabled=&amp;quot;True&amp;quot;
                   SelectedItem=&amp;quot;{Binding SelectedMonth, Mode=TwoWay}&amp;quot;&amp;gt;
    &amp;lt;Picker:ListPicker.FullModeItemTemplate&amp;gt;
        &amp;lt;DataTemplate&amp;gt;
            &amp;lt;TextBlock Text=&amp;quot;{Binding Text}&amp;quot; 
                       Style=&amp;quot;{StaticResource WinTextNormalStyle}&amp;quot; 
                       Margin=&amp;quot;{StaticResource WinMargin}&amp;quot;/&amp;gt;
        &amp;lt;/DataTemplate&amp;gt;
    &amp;lt;/Picker:ListPicker.FullModeItemTemplate&amp;gt;
&amp;lt;/Picker:ListPicker&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Remark to IsTouchSelectionEnabled&lt;/b&gt;&lt;br /&gt;If IsTouchSelectionEnabled is not defined, the Framework will decided by it&amp;#39;s own if a touch input dialog shall be shown or not. This depends if the user is working with a touchfriendly device or not. If you want to check that by your own, you can use the &lt;span class="codeInline"&gt; DeviceInfo.HasTouchInput() &lt;/span&gt; method to proof it.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>BitKFu</author><pubDate>Sat, 09 Feb 2013 16:10:06 GMT</pubDate><guid isPermaLink="false">Updated Wiki: ListPicker 20130209041006P</guid></item><item><title>Updated Wiki: ListPicker</title><link>http://tpmetrowpf.codeplex.com/wikipage?title=ListPicker&amp;version=6</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;List Picker&lt;/h1&gt;The ListPicker can be used to pick a unique object from a collection of objects. The ListPicker behaves like it does for Windows Phone 7.&lt;br /&gt;On Touch or Click event a sub page opens where the user can select a single value by tapping it.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Here a two screenshots&lt;/b&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Download?ProjectName=tpmetrowpf&amp;DownloadId=469879" alt="ListPicker1.png" title="ListPicker1.png" /&gt; &lt;img src="http://i3.codeplex.com/Download?ProjectName=tpmetrowpf&amp;DownloadId=469880" alt="ListPicker2.png" title="ListPicker2.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to define the ListPicker in XAML&lt;/b&gt;&lt;br /&gt;At first it&amp;#39;s really important that the page has set the KeepAlive flag. That&amp;#39;s because of the implementation of the Picker Control, which needs to hold an ID to identify the current instance of the Picker Control. If the KeepAlive flag is missing the ID might change and the result of the FullPage Selector won&amp;#39;t be accepted.&lt;br /&gt;&lt;pre&gt;
&amp;lt;Page x:Class=&amp;quot;PickerControlDemo.Views.ExampleView&amp;quot;
      KeepAlive=&amp;quot;True&amp;quot;  &amp;gt;
&lt;/pre&gt;&lt;br /&gt;Here&amp;#39;s an example that shows how to define the ListPicker in XAML.&lt;br /&gt;&lt;pre&gt;
&amp;lt;Picker:ListPicker Grid.Row=&amp;quot;1&amp;quot;  
                   ItemsSource=&amp;quot;{Binding Months}&amp;quot; 
                   Margin=&amp;quot;{StaticResource WinMargin}&amp;quot;
                   DisplayMemberPath=&amp;quot;Text&amp;quot;
                   FullModeHeader=&amp;quot;Month selection&amp;quot;
                   IsTouchSelectionEnabled=&amp;quot;True&amp;quot;
                   SelectedItem=&amp;quot;{Binding SelectedMonth, Mode=TwoWay}&amp;quot;&amp;gt;
    &amp;lt;Picker:ListPicker.FullModeItemTemplate&amp;gt;
        &amp;lt;DataTemplate&amp;gt;
            &amp;lt;TextBlock Text=&amp;quot;{Binding Text}&amp;quot; 
                       Style=&amp;quot;{StaticResource WinTextNormalStyle}&amp;quot; 
                       Margin=&amp;quot;{StaticResource WinMargin}&amp;quot;/&amp;gt;
        &amp;lt;/DataTemplate&amp;gt;
    &amp;lt;/Picker:ListPicker.FullModeItemTemplate&amp;gt;
&amp;lt;/Picker:ListPicker&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Remark to IsTouchSelectionEnabled&lt;/b&gt;&lt;br /&gt;If IsTouchSelectionEnabled is not defined, the Framework will decided by it&amp;#39;s own if a touch input dialog shall be shown or not. This depends if the user is working with a touchfriendly device or not. If you want to check that by your own, you can use the &lt;span class="codeInline"&gt; DeviceInfo.HasTouchInput() &lt;/span&gt; method to proof it.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>BitKFu</author><pubDate>Sat, 09 Feb 2013 16:09:46 GMT</pubDate><guid isPermaLink="false">Updated Wiki: ListPicker 20130209040946P</guid></item><item><title>Updated Wiki: MetroStyleResources</title><link>https://tpmetrowpf.codeplex.com/wikipage?title=MetroStyleResources&amp;version=6</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Metro Style Resources&lt;/h1&gt;The TimePunch Metro WPF Library offers two resource files that includes both the same set of styles. The difference is the size of the controls.&lt;br /&gt;&lt;br /&gt;Whereas the first style offers big controls that fits best for a screen height above 768 pixel, the second is styled for small devices with 1024x768 or 1366x768 pixels.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Style for big control size&lt;/b&gt;&lt;br /&gt;&lt;pre&gt;
&amp;lt;ResourceDictionary.MergedDictionaries&amp;gt;
   &amp;lt;!-- Use this style for big control size --&amp;gt;
   &amp;lt;ResourceDictionary Source=&amp;quot;/TpMetroWpfLibrary;component/Styles/MetroStyles.xaml&amp;quot;/&amp;gt;
&amp;lt;/ResourceDictionary.MergedDictionaries&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Style for small control size&lt;/b&gt;&lt;br /&gt;&lt;pre&gt;
&amp;lt;ResourceDictionary.MergedDictionaries&amp;gt;
   &amp;lt;!-- Use this style for small control size --&amp;gt;
   &amp;lt;ResourceDictionary Source=&amp;quot;/TpMetroWpfLibrary;component/Styles/MetroStyles768.xaml&amp;quot;/&amp;gt;
&amp;lt;/ResourceDictionary.MergedDictionaries&amp;gt;
&lt;/pre&gt;
&lt;h2&gt;How to automatically choose the right style&lt;/h2&gt;We implemented a behaviour that chooses the right styles by looking at the screen resolution of the primary screen. &lt;br /&gt;&lt;pre&gt;
&amp;lt;ResourceDictionary.MergedDictionaries&amp;gt;
   &amp;lt;ResourceDictionary Source=&amp;quot;{Metro:MetroStylesAccordingToCurrentResolution}&amp;quot; /&amp;gt;
&amp;lt;/ResourceDictionary.MergedDictionaries&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Choose the right sized style for your own style&lt;/b&gt;&lt;br /&gt;If you want to use that feature for your own styles, we also implemented a behaviour that helps you with that. It&amp;#39;s called the StylesAccordingToCurrentResolution behaviour and it&amp;#39;s used like that.&lt;br /&gt;&lt;pre&gt;
&amp;lt;ResourceDictionary.MergedDictionaries&amp;gt;
   &amp;lt;ResourceDictionary Source=&amp;quot;{Metro:StylesAccordingToCurrentResolution
            Resource=Styles/YourStyles.xaml, 
            Resource768=Styles/YourStyles768.xaml}&amp;quot;/&amp;gt;
&amp;lt;/ResourceDictionary.MergedDictionaries&amp;gt;
&lt;/pre&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>BitKFu</author><pubDate>Fri, 17 Aug 2012 10:01:20 GMT</pubDate><guid isPermaLink="false">Updated Wiki: MetroStyleResources 20120817100120A</guid></item><item><title>Updated Wiki: MetroStyleResources</title><link>https://tpmetrowpf.codeplex.com/wikipage?title=MetroStyleResources&amp;version=5</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Metro Style Resources&lt;/h1&gt;The TimePunch Metro WPF Library offers two resource files that includes both the same set of styles. The difference is the size of the controls.&lt;br /&gt;&lt;br /&gt;Whereas the first style offers big controls that fits best for a screen height above 768 pixel, the second is styled for small devices with 1024x768 or 1366x768 pixels.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Style for big control size&lt;/b&gt;&lt;br /&gt;&lt;pre&gt;
&amp;lt;ResourceDictionary.MergedDictionaries&amp;gt;
   &amp;lt;!-- Use this style for big control size --&amp;gt;
   &amp;lt;ResourceDictionary Source=&amp;quot;/TpMetroWpfLibrary;component/Styles/MetroStyles.xaml&amp;quot;/&amp;gt;
&amp;lt;/ResourceDictionary.MergedDictionaries&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Style for small control size&lt;/b&gt;&lt;br /&gt;&lt;pre&gt;
&amp;lt;ResourceDictionary.MergedDictionaries&amp;gt;
   &amp;lt;!-- Use this style for small control size --&amp;gt;
   &amp;lt;ResourceDictionary Source=&amp;quot;/TpMetroWpfLibrary;component/Styles/MetroStyles768.xaml&amp;quot;/&amp;gt;
&amp;lt;/ResourceDictionary.MergedDictionaries&amp;gt;
&lt;/pre&gt;
&lt;h2&gt;How to automatically choose the right style&lt;/h2&gt;We implemented a behaviour that chooses the right styles by looking at the screen resolution of the primary screen. &lt;br /&gt;&lt;pre&gt;
&amp;lt;ResourceDictionary.MergedDictionaries&amp;gt;
   &amp;lt;ResourceDictionary Source=&amp;quot;{Metro:MetroStylesAccordingToCurrentResolution}&amp;quot; /&amp;gt;
&amp;lt;/ResourceDictionary.MergedDictionaries&amp;gt;
&lt;/pre&gt;&lt;br /&gt;If you want to use that feature for your own styles, we also implemented a behaviour that helps you with that. It&amp;#39;s called the StylesAccordingToCurrentResolution behaviour and it&amp;#39;s used like that.&lt;br /&gt;&lt;pre&gt;
&amp;lt;ResourceDictionary.MergedDictionaries&amp;gt;
   &amp;lt;ResourceDictionary Source=&amp;quot;{Metro:StylesAccordingToCurrentResolution
            Resource=Styles/YourStyles.xaml, 
            Resource768=Styles/YourStyles768.xaml}&amp;quot;/&amp;gt;
&amp;lt;/ResourceDictionary.MergedDictionaries&amp;gt;
&lt;/pre&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>BitKFu</author><pubDate>Fri, 17 Aug 2012 09:58:57 GMT</pubDate><guid isPermaLink="false">Updated Wiki: MetroStyleResources 20120817095857A</guid></item><item><title>Updated Wiki: MetroStyleResources</title><link>https://tpmetrowpf.codeplex.com/wikipage?title=MetroStyleResources&amp;version=4</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Metro Style Resources&lt;/h1&gt;The TimePunch Metro WPF Library offers two resource files that includes both the same set of styles. The difference is the size of the controls.&lt;br /&gt;&lt;br /&gt;Whereas the first style offers big controls that fits best for a screen height above 768 pixel, the second is styled for small devices with 1024x768 or 1366x768 pixels.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Style for big control size&lt;/b&gt;&lt;br /&gt;&lt;pre&gt;
&amp;lt;ResourceDictionary.MergedDictionaries&amp;gt;
     &amp;lt;!-- Use this style for big control size --&amp;gt;
     &amp;lt;ResourceDictionary Source=&amp;quot;/TpMetroWpfLibrary;component/Styles/MetroStyles.xaml&amp;quot; /&amp;gt;
&amp;lt;/ResourceDictionary.MergedDictionaries&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Style for small control size&lt;/b&gt;&lt;br /&gt;&lt;pre&gt;
&amp;lt;ResourceDictionary.MergedDictionaries&amp;gt;
     &amp;lt;!-- Use this style for small control size --&amp;gt;
     &amp;lt;ResourceDictionary Source=&amp;quot;/TpMetroWpfLibrary;component/Styles/MetroStyles768.xaml&amp;quot; /&amp;gt;
&amp;lt;/ResourceDictionary.MergedDictionaries&amp;gt;
&lt;/pre&gt;
&lt;h2&gt;How to automatically choose the right style&lt;/h2&gt;We implemented a behaviour that chooses the right styles by looking at the screen resolution of the primary screen. &lt;br /&gt;&lt;pre&gt;
&amp;lt;ResourceDictionary.MergedDictionaries&amp;gt;
     &amp;lt;ResourceDictionary Source=&amp;quot;{Metro:MetroStylesAccordingToCurrentResolution}&amp;quot; /&amp;gt;
&amp;lt;/ResourceDictionary.MergedDictionaries&amp;gt;
&lt;/pre&gt;&lt;br /&gt;If you want to use that feature for your own styles, we also implemented a behaviour that helps you with that. It&amp;#39;s called the StylesAccordingToCurrentResolution behaviour and it&amp;#39;s used like that.&lt;br /&gt;&lt;pre&gt;
&amp;lt;ResourceDictionary.MergedDictionaries&amp;gt;
     &amp;lt;ResourceDictionary Source=&amp;quot;{Metro:StylesAccordingToCurrentResolution Resource=Styles/YourStyles.xaml, Resource768=Styles/YourStyles768.xaml}&amp;quot;/&amp;gt;
&amp;lt;/ResourceDictionary.MergedDictionaries&amp;gt;
&lt;/pre&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>BitKFu</author><pubDate>Fri, 17 Aug 2012 09:58:06 GMT</pubDate><guid isPermaLink="false">Updated Wiki: MetroStyleResources 20120817095806A</guid></item><item><title>Updated Wiki: MetroStyleResources</title><link>https://tpmetrowpf.codeplex.com/wikipage?title=MetroStyleResources&amp;version=3</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Metro Style Resources&lt;/h1&gt;The TimePunch Metro WPF Library offers two resource files that includes both the same set of styles. The difference is the size of the controls.&lt;br /&gt;&lt;br /&gt;Whereas the first style offers big controls that fits best for a screen height above 768 pixel, the second is styled for small devices with 1024x768 or 1366x768 pixels.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Style for big control size&lt;/b&gt;&lt;br /&gt;&lt;pre&gt;
&amp;lt;ResourceDictionary.MergedDictionaries&amp;gt;
     &amp;lt;!-- Use this style for big control size --&amp;gt;
     &amp;lt;ResourceDictionary Source=&amp;quot;/TpMetroWpfLibrary;component/Styles/MetroStyles.xaml&amp;quot; /&amp;gt;
&amp;lt;/ResourceDictionary.MergedDictionaries&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Style for small control size&lt;/b&gt;&lt;br /&gt;&lt;pre&gt;
&amp;lt;ResourceDictionary.MergedDictionaries&amp;gt;
     &amp;lt;!-- Use this style for small control size --&amp;gt;
     &amp;lt;ResourceDictionary Source=&amp;quot;/TpMetroWpfLibrary;component/Styles/MetroStyles768.xaml&amp;quot; /&amp;gt;
&amp;lt;/ResourceDictionary.MergedDictionaries&amp;gt;
&lt;/pre&gt;&lt;br /&gt;
&lt;h2&gt;How to automatically choose the right style&lt;/h2&gt;We implemented a behaviour that chooses the right styles by looking at the screen resolution of the primary screen. &lt;br /&gt;&lt;pre&gt;
&amp;lt;ResourceDictionary.MergedDictionaries&amp;gt;
     &amp;lt;ResourceDictionary Source=&amp;quot;{Metro:MetroStylesAccordingToCurrentResolution}&amp;quot; /&amp;gt;
&amp;lt;/ResourceDictionary.MergedDictionaries&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>BitKFu</author><pubDate>Fri, 17 Aug 2012 09:55:34 GMT</pubDate><guid isPermaLink="false">Updated Wiki: MetroStyleResources 20120817095534A</guid></item><item><title>Updated Wiki: MetroStyleResources</title><link>https://tpmetrowpf.codeplex.com/wikipage?title=MetroStyleResources&amp;version=2</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Metro Style Resources&lt;/h1&gt;The TimePunch Metro WPF Library offers two resource files that includes both the same set of styles. The difference is the size of the controls.&lt;br /&gt;&lt;br /&gt;Whereas the first style offers big controls that fits best for a screen height above 768 pixel, the second is styled for small devices with 1024x768 or 1366x768 pixels.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Style for big control size&lt;/b&gt;&lt;br /&gt;&lt;pre&gt;
&amp;lt;ResourceDictionary.MergedDictionaries&amp;gt;
     &amp;lt;!-- Use this style for big control size --&amp;gt;
     &amp;lt;ResourceDictionary Source=&amp;quot;/TpMetroWpfLibrary;component/Styles/MetroStyles.xaml&amp;quot; /&amp;gt;
&amp;lt;/ResourceDictionary.MergedDictionaries&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Style for small control size&lt;/b&gt;&lt;br /&gt;&lt;pre&gt;
&amp;lt;ResourceDictionary.MergedDictionaries&amp;gt;
     &amp;lt;!-- Use this style for small control size --&amp;gt;
     &amp;lt;ResourceDictionary Source=&amp;quot;/TpMetroWpfLibrary;component/Styles/MetroStyles768.xaml&amp;quot; /&amp;gt;
&amp;lt;/ResourceDictionary.MergedDictionaries&amp;gt;
&lt;/pre&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>BitKFu</author><pubDate>Fri, 17 Aug 2012 09:52:48 GMT</pubDate><guid isPermaLink="false">Updated Wiki: MetroStyleResources 20120817095248A</guid></item><item><title>Updated Wiki: MetroStyleResources</title><link>https://tpmetrowpf.codeplex.com/wikipage?title=MetroStyleResources&amp;version=1</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Metro Style Resources&lt;/h1&gt;The TimePunch Metro WPF Library offers two resource files that includes both the same set of styles. The difference is the size of the controls.&lt;br /&gt;&lt;br /&gt;Whereas the first style offers big controls that fits best for a screen height above 768 pixel, the second is styled for small devices with 1024x768 or 1366x768 pixels.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>BitKFu</author><pubDate>Fri, 17 Aug 2012 09:50:10 GMT</pubDate><guid isPermaLink="false">Updated Wiki: MetroStyleResources 20120817095010A</guid></item></channel></rss>