Click here to Skip to main content
15,881,938 members
Articles / Desktop Programming / WPF

Creating the Microsoft Outlook Appointment View in WPF - Part 2

Rate me:
Please Sign up or sign in to vote.
4.50/5 (9 votes)
17 Apr 2009CPOL7 min read 50.8K   1.4K   29  
Part 2 of a series describing creation of a WPF based appointment control with the Outlook look and feel
<Window x:Class="OutlookWpfCalendar.UI.HorizontalRangePanelWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:controls="clr-namespace:OutlookWpfCalendar.Windows.Controls;assembly=OutlookWpfCalendar"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Horizontal Range Panel Window" Height="300" Width="300">
    <controls:RangePanel Minimum="100" Maximum="200" Orientation="Horizontal">
        <Border BorderBrush="Blue" BorderThickness="1,1,1,1" controls:RangePanel.Begin="110" controls:RangePanel.End="120">
            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="Begin: 100, End: 120" />
        </Border>
        <Border BorderBrush="Red" BorderThickness="1,1,1,1" controls:RangePanel.Begin="130" controls:RangePanel.End="135">
            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="Begin: 130, End: 135" />
        </Border>
        <Border BorderBrush="Orange" BorderThickness="1,1,1,1" controls:RangePanel.Begin="180" controls:RangePanel.End="200">
            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="Begin: 180, End: 200" />
        </Border>
    </controls:RangePanel>
</Window>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect Catalyst Software Solutions
United States United States
Richard Gavel is a Solutions Architect with Catalyst Software Solutions in Chicago, IL with a focus in Microsoft .NET technologies and SQL databases. He has been a developer in the industry for 12 years and has worked on both small scale and enterprise projects with thick and thin client front ends.

Comments and Discussions