<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:viewModel="clr-namespace:BrightSharp.Ui.Tests"
        xmlns:ex="http://schemas.brightsharp.com/developer"
        xmlns:bsDiag="http://schemas.brightsharp.com/diagrams"
        ex:MarkupExtensionProperties.UseMinMaxSizeBehavior="True"
        Style="{DynamicResource BrightSharpWindowStyle}"
        ResizeMode="CanResizeWithGrip"
        x:Class="BrightSharp.Ui.Tests.MainWindow"
        mc:Ignorable="d"
        ex:MarkupExtensionProperties.HeaderHorizontalAlignment="Center"
        Title="BrightSharp.Ui.Tests" Height="750" Width="1900">
    <Window.Resources>
        <x:Array x:Key="coll" Type="{x:Type viewModel:CustomerViewModel}">
            <viewModel:CustomerViewModel CustomerID="ALFKI" CompanyName="Alfreds Futterkiste" ContactNameCN="Maria Anders" ContactTitle="Sales Representative" Address="Obere Str. 57" City="Berlin" PostalCode="12209" Country="Germany" Phone="030-0074321" Fax="030-0076545" />
            <viewModel:CustomerViewModel CustomerID="ANATR" CompanyName="Ana Trujillo Emparedados y helados" ContactNameCN="Ana Trujillo" ContactTitle="Owner" Address="Avda. de la Constitución 2222" City="México D.F." PostalCode="05021" Country="Mexico" Phone="(5) 555-4729" Fax="(5) 555-3745" />
            <viewModel:CustomerViewModel CustomerID="ANTON" CompanyName="Antonio Moreno Taquería" ContactNameCN="Antonio Moreno" ContactTitle="Owner" Address="Mataderos  2312" City="México D.F." PostalCode="05023" Country="Mexico" Phone="(5) 555-3932" />
            <viewModel:CustomerViewModel CustomerID="AROUT" CompanyName="Around the Horn" ContactNameCN="Thomas Hardy" ContactTitle="Sales Representative" Address="120 Hanover Sq." City="London" PostalCode="WA1 1DP" Country="UK" Phone="(171) 555-7788" Fax="(171) 555-6750" />
            <viewModel:CustomerViewModel CustomerID="BERGS" CompanyName="Berglunds snabbköp" ContactNameCN="Christina Berglund" ContactTitle="Order Administrator" Address="Berguvsvägen  8" City="Luleå" PostalCode="S-958 22" Country="Sweden" Phone="0921-12 34 65" Fax="0921-12 34 67" />
            <viewModel:CustomerViewModel CustomerID="BLAUS" CompanyName="Blauer See Delikatessen" ContactNameCN="Hanna Moos" ContactTitle="Sales Representative" Address="Forsterstr. 57" City="Mannheim" PostalCode="68306" Country="Germany" Phone="0621-08460" Fax="0621-08924" />
            <viewModel:CustomerViewModel CustomerID="BLONP" CompanyName="Blondesddsl père et fils" ContactNameCN="Frédérique Citeaux" ContactTitle="Marketing Manager" Address="24, place Kléber" City="Strasbourg" PostalCode="67000" Country="France" Phone="88.60.15.31" Fax="88.60.15.32" />
            <viewModel:CustomerViewModel CustomerID="BOLID" CompanyName="Bólido Comidas preparadas" ContactNameCN="Martín Sommer" ContactTitle="Owner" Address="C/ Araquil, 67" City="Madrid" PostalCode="28023" Country="Spain" Phone="(91) 555 22 82" Fax="(91) 555 91 99" />
        </x:Array>
        <CollectionViewSource Source="{StaticResource coll}" x:Key="coll1" />
        <CollectionViewSource Source="{StaticResource coll}" x:Key="coll2" />

    </Window.Resources>
    <ex:MarkupExtensionProperties.Header>
        <StackPanel Orientation="Horizontal">
            <Label Foreground="Red">❖</Label>
            <Label Foreground="White">BrightSharp.Toolkit Presentation ver.2.1</Label>
            <Label Foreground="Blue">❖</Label>
        </StackPanel>
    </ex:MarkupExtensionProperties.Header>
    <Grid>

        <Grid Margin="2" ClipToBounds="True">
            <bsDiag:ZoomControl x:Name="zc" UseAnimation="True" ClipToBounds="False">
                <ContentControl Style="{DynamicResource DesignerItemStyle}" 
                    Canvas.Left="1600" Canvas.Top="20" Width="300">
                    <GroupBox Style="{DynamicResource ExpandrStyleGroupBox}">
                        <GroupBox.Header>
                            <StackPanel Orientation="Horizontal">
                                <Label>Extended Frame</Label>
                            </StackPanel>
                        </GroupBox.Header>
                        <Grid>
                            <Grid.RowDefinitions>
                                <RowDefinition  Height="auto"/>
                                <RowDefinition />
                            </Grid.RowDefinitions>
                            <Slider Minimum="20" Maximum="50" Value="35" x:Name="FrameHeightSlider" />
                            <Frame Source="TestPage.xaml" Style="{DynamicResource DevLabFrameStyle}" Grid.Row="1"
                                   ex:MarkupExtensionProperties.HeaderHeight="{Binding ElementName=FrameHeightSlider, Path=Value}"
                                   >
                                <ex:MarkupExtensionProperties.Header>
                                    <Label VerticalContentAlignment="Center">
                                        Additional Header Content
                                    </Label>
                                </ex:MarkupExtensionProperties.Header>

                            </Frame>
                        </Grid>
                    </GroupBox>
                </ContentControl>
                <ContentControl Style="{DynamicResource DesignerItemStyle}" 
                    Canvas.Left="10" Canvas.Top="20" Width="330">
                    <GroupBox Header="Common" Background="{DynamicResource GradientWindowBackgroundBrush}">
                        <Grid>
                            <Button IsDefault="True" Content="Change Theme" Click="Button_Click" HorizontalAlignment="Left" Width="108" Height="32" VerticalAlignment="Top" Margin="10,10,0,0"/>
                            <Button ex:MarkupExtensionProperties.CornerRadius="25" FocusVisualStyle="{DynamicResource ButtonEllipseFocusVisual}" Content="Round" HorizontalAlignment="Left" Width="50" Height="50" VerticalAlignment="Top" Margin="10,84,0,0"/>
                            <ToggleButton IsChecked="True" ex:MarkupExtensionProperties.CornerRadius="25" FocusVisualStyle="{DynamicResource ButtonEllipseFocusVisual}" Content="Round" HorizontalAlignment="Left" Width="50" Height="50" VerticalAlignment="Top" Margin="70,84,0,0"/>
                            <ToggleButton Content="Toggle" HorizontalAlignment="Left" Width="108" Height="32" VerticalAlignment="Top" Margin="10,47,0,0"/>
                            <CheckBox Margin="10,140,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Content="CheckBox" IsThreeState="True" IsChecked="{x:Null}"/>
                            <CheckBox IsThreeState="True" ex:MarkupExtensionProperties.Docking="Right" Margin="10,161,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Content="CheckBox Right Allign"/>
                            <CheckBox HorizontalContentAlignment="Center" IsThreeState="True" ex:MarkupExtensionProperties.Docking="Top" Margin="151,35,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="137" Content="CheckBox Top Allign"/>
                            <RadioButton IsChecked="True" Margin="10,183,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Content="RadioButton"/>
                            <RadioButton Margin="10,204,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Content="RadioButton"/>
                            <TextBox x:Name="tb" Canvas.Left="10" Canvas.Top="269" Margin="151,10,10,0" VerticalAlignment="Top" />
                            <TabControl BorderThickness="1" Margin="151,72,10,0" Height="122" VerticalAlignment="Top">
                                <TabItem Header="Tab1"/>
                                <TabItem Header="Tab2"/>
                                <TabItem Header="Tab3"/>
                            </TabControl>
                            <CheckBox HorizontalAlignment="Left" Style="{DynamicResource SwitchCheckBoxStyle}" VerticalAlignment="Top" Margin="40,275,0,0" Content="SwitchCheckBoxStyle" Width="213" RenderTransformOrigin="0.5,0.5" Height="Auto" />
                            <TextBox Margin="40,304,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="246" Padding="3">
                                <ex:MarkupExtensionProperties.LeadingElement>L.El.</ex:MarkupExtensionProperties.LeadingElement>
                                <ex:MarkupExtensionProperties.TrailingElement>T.El.</ex:MarkupExtensionProperties.TrailingElement>
                                <ex:MarkupExtensionProperties.Header>Watermark</ex:MarkupExtensionProperties.Header>
                            </TextBox>
                            <Button Content="Brushes Explorer" Margin="97,416,0,0" HorizontalAlignment="Left" Width="134" Height="25" VerticalAlignment="Top" Click="Button_Click_ShowCustomWindow"/>
                            <Calendar Margin="10,441,10,0" VerticalAlignment="Top" Loaded="Calendar_Loaded">
                                <ex:MarkupExtensionProperties.TrailingElement>
                                    <TextBlock HorizontalAlignment="Center" Foreground="DarkRed"><Run Text="Trailing Region"/></TextBlock>
                                </ex:MarkupExtensionProperties.TrailingElement>
                                <ex:MarkupExtensionProperties.LeadingElement>
                                    <TextBlock HorizontalAlignment="Center" Foreground="DarkBlue"><Run Text="Leading Region"/></TextBlock>
                                </ex:MarkupExtensionProperties.LeadingElement>
                            </Calendar>
                            <ComboBox IsEditable="True" Margin="10,225,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" SelectedIndex="0" Width="136">
                                <ComboBoxItem Content="Item 1"/>
                                <ComboBoxItem Content="Item 2"/>
                                <ComboBoxItem Content="Item 3"/>
                                <Separator />
                                <ComboBoxItem Content="Item 4"/>
                                <ComboBoxItem Content="Item 5"/>
                            </ComboBox>
                            <ComboBox ItemsSource="{Binding Source={StaticResource coll1}}" TextSearch.TextPath="ContactNameCN" IsEditable="True" Margin="10,250,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" SelectedIndex="0" Width="136">
                                <ex:MarkupExtensionProperties.LeadingElement>
                                    <ToolBar Style="{DynamicResource FlatToolBar}" Margin="0,2" ex:MarkupExtensionProperties.CornerRadius="3,3,0,0">
                                        <Button Content="Press me" />
                                        <Button Content="Press me" />
                                    </ToolBar>
                                </ex:MarkupExtensionProperties.LeadingElement>
                                <ex:MarkupExtensionProperties.TrailingElement>
                                    <Button HorizontalAlignment="Left" Content="Trailing"/>
                                </ex:MarkupExtensionProperties.TrailingElement>
                                <ComboBox.ItemTemplate>
                                    <DataTemplate>
                                        <Border BorderThickness="0,0,0,1" BorderBrush="{DynamicResource SolidBorderBrush}" MinWidth="140">
                                            <StackPanel>
                                                <TextBlock Text="{Binding ContactNameCN}" FontWeight="DemiBold" />
                                                <Label Background="White" BorderBrush="Black" BorderThickness="1" Padding="3,0" Margin="0,-14,3,0" HorizontalAlignment="Right">
                                                    <Label.ToolTip>
                                                        <StackPanel>
                                                            <TextBlock Text="{Binding ContactNameCN}" FontWeight="DemiBold" />
                                                            <TextBlock Text="{Binding Address}" FontStyle="Italic" />
                                                            <TextBlock Text="{Binding City}" />
                                                            <TextBlock Text="{Binding CompanyName}" />
                                                            <TextBlock Text="{Binding ContactTitle}" />
                                                            <TextBlock Text="{Binding Phone}" />
                                                        </StackPanel>
                                                    </Label.ToolTip>
                                                    <TextBlock Foreground="Black"><Run Text="i"/></TextBlock>
                                                </Label>

                                                <TextBlock Text="{Binding Address}" FontStyle="Italic" MaxWidth="130" TextTrimming="CharacterEllipsis" HorizontalAlignment="Left" ToolTip="{Binding Address}" />
                                            </StackPanel>
                                        </Border>
                                    </DataTemplate>
                                </ComboBox.ItemTemplate>
                            </ComboBox>
                            <Button Style="{DynamicResource GlassButtonStyle}" Content="GlassButton" HorizontalAlignment="Left" Width="70" Height="70" VerticalAlignment="Top" Margin="161,199,0,0"/>
                            <Button Style="{DynamicResource GlassButtonStyle}" Content="Style" HorizontalAlignment="Left" Width="50" Height="50" VerticalAlignment="Top" Margin="248,209,0,0" Background="#FFFF6868"/>
                            <TextBox Padding="3" Margin="40,332,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="246"
                                     Text="{Binding Source={StaticResource coll}, Path=[0].NumberProperty, UpdateSourceTrigger=PropertyChanged}">
                                <ex:MarkupExtensionProperties.LeadingElement>LD</ex:MarkupExtensionProperties.LeadingElement>
                                <ex:MarkupExtensionProperties.TrailingElement>TR</ex:MarkupExtensionProperties.TrailingElement>
                                <ex:MarkupExtensionProperties.Header>Check Validation Style (Number)</ex:MarkupExtensionProperties.Header>
                            </TextBox>
                            <PasswordBox Padding="3" Margin="40,375,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="246">
                                <ex:MarkupExtensionProperties.LeadingElement>Password</ex:MarkupExtensionProperties.LeadingElement>
                                <ex:MarkupExtensionProperties.TrailingElement>***</ex:MarkupExtensionProperties.TrailingElement>
                                <ex:MarkupExtensionProperties.Header>Enter your password :)</ex:MarkupExtensionProperties.Header>
                            </PasswordBox>
                        </Grid>
                    </GroupBox>
                </ContentControl>
                <ContentControl Style="{DynamicResource DesignerItemStyle}"
                    Height="474" Width="442"
                    Padding="2,27,2,2"
                    Canvas.Left="350"
                    Canvas.Top="20">
                    <GroupBox Margin="0,-25,0,0" Style="{DynamicResource ExpandrStyleGroupBox}" >
                        <GroupBox.Header>
                            <Label Content="Collections"/>
                        </GroupBox.Header>
                        <Grid x:Name="innerCanvas" Background="Transparent" ClipToBounds="True" >
                            <StackPanel VerticalAlignment="Top">
                                <Menu>
                                    <MenuItem Header="File">
                                        <MenuItem Header="New..."/>
                                        <MenuItem Header="Open..."/>
                                        <MenuItem Header="Save" />
                                        <MenuItem Header="Save as..."/>
                                        <Separator />
                                        <MenuItem Command="ApplicationCommands.Close" />
                                    </MenuItem>
                                    <MenuItem Header="Edit">
                                        <MenuItem Command="ApplicationCommands.Copy" />
                                        <MenuItem Command="ApplicationCommands.Paste" />
                                        <MenuItem Command="ApplicationCommands.Cut" />
                                    </MenuItem>
                                    <MenuItem Header="View"/>
                                    <MenuItem Header="Help">
                                        <MenuItem Header="About..."/>
                                    </MenuItem>
                                </Menu>
                                <ToolBar ToolBar.OverflowMode="Never">
                                    <Button Content="BUTTON" />
                                    <ToggleButton Margin="5,0,0,0" Content="TBUTTON" />
                                    <Separator />
                                    <Menu Background="Transparent" Foreground="{DynamicResource UiForegroundBrush}">
                                        <MenuItem Header="Menu ▼">
                                            <MenuItem Header="MenuItem1"/>
                                            <MenuItem Header="MenuItem2"/>
                                        </MenuItem>
                                    </Menu>
                                    <TextBox Margin="5,0,0,0" Width="60" />
                                    <ComboBox Margin="5,0,0,0" Width="60" SelectedIndex="0">
                                        <ComboBoxItem>1 Combobox Item</ComboBoxItem>
                                        <ComboBoxItem>2 Combobox Item</ComboBoxItem>
                                    </ComboBox>
                                    <Separator />
                                    <RadioButton Content="R1" IsChecked="True" />
                                    <RadioButton Content="R2" />
                                    <RadioButton Content="R3" />
                                </ToolBar>
                            </StackPanel>
                            <ListView ItemsSource="{Binding Source={StaticResource coll1}}" SelectedIndex="5" Margin="2,54,10,190">
                                <ListView.View>
                                    <GridView >
                                        <GridViewColumn Header="Customer" Width="100" DisplayMemberBinding="{Binding CustomerID}" />
                                        <GridViewColumn Header="Company" Width="180" DisplayMemberBinding="{Binding CompanyName}" />
                                        <GridViewColumn Header="Country" Width="100" DisplayMemberBinding="{Binding Country}" />
                                    </GridView>
                                </ListView.View>
                            </ListView>
                            <ListBox Margin="10,0,0,10" HorizontalAlignment="Left" Width="180" Height="175" VerticalAlignment="Bottom">
                                <ListBoxItem Content="123"/>
                                <ListBoxItem Content="456"/>
                                <ListBoxItem Content="789"/>
                            </ListBox>
                            <TreeView Margin="204,0,10,10" Height="175" VerticalAlignment="Bottom">
                                <TreeViewItem IsExpanded="True" Header="First" Foreground="Black" Background="AliceBlue">
                                    <TreeViewItem Header="F-12" IsExpanded="True" Background="Pink">
                                        <TreeViewItem Header="F-123" />
                                        <TreeViewItem Header="F-123" IsSelected="True" />
                                        <TreeViewItem Header="F-123" />
                                    </TreeViewItem>
                                </TreeViewItem>
                                <TreeViewItem Header="Second">
                                    <TreeViewItem Header="S-12" ex:MarkupExtensionProperties.SpecialWidth="50">
                                        <TreeViewItem Header="S-123"/>
                                        <TreeViewItem Header="S-123"/>
                                        <TreeViewItem Header="S-123"/>
                                    </TreeViewItem>
                                </TreeViewItem>
                            </TreeView>
                        </Grid>
                    </GroupBox>
                </ContentControl>
                <ContentControl Style="{DynamicResource DesignerItemStyle}" bsDiag:VisualExtensions.CanRotate="False"
                    Padding="2,27,2,2"
                    Canvas.Left="850"
                    Canvas.Top="20" Width="700" Height="450">
                    <GroupBox Margin="0,-25,0,0" Style="{DynamicResource ExpandrStyleGroupBox}" >
                        <GroupBox.Header>
                            <Label Content="Xaml RichTextBox (CanRotate=false)"/>
                        </GroupBox.Header>
                        <RichTextBox VerticalScrollBarVisibility="Auto">
                            <FlowDocument>
                                <Paragraph>
                                    <Run FontWeight="Bold" FontSize="14" Text="What is Lorem Ipsum?"/>
                                </Paragraph>
                                <Paragraph TextAlignment="Justify">
                                    <Run Text="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."/>
                                    <Run Text=" "/>
                                    <Run Text=" "/>
                                    <Run Text=" "/>
                                    <Figure HorizontalAnchor="ColumnRight" Width="205">
                                        <BlockUIContainer>
                                            <Image UseLayoutRounding="True" d:DesignUseLayoutRounding="True" Source="pack://siteoforigin:,,,/pics/minjons.jpg"/>
                                        </BlockUIContainer>
                                    </Figure>
                                    <Run Text=" "/>
                                    <Run Text=" "/>
                                    <Run Text=" "/>
                                    <Figure HorizontalAnchor="ColumnRight" Width="230">
                                        <BlockUIContainer>
                                            <Image UseLayoutRounding="True" d:DesignUseLayoutRounding="True" Source="pack://siteoforigin:,,,/pics/dogs.jpg"/>
                                        </BlockUIContainer>
                                    </Figure>
                                </Paragraph>
                                <Paragraph>
                                    <Run FontWeight="Bold" FontSize="14" Text="Why do we use it?"/>
                                </Paragraph>
                                <Paragraph TextAlignment="Justify">
                                    <Run Text="It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like)."/>
                                </Paragraph>
                                <Paragraph>
                                    <Run FontWeight="Bold" FontSize="14" Text="Where does it come from?"/>
                                </Paragraph>
                                <Paragraph TextAlignment="Justify">
                                    <Run Text="Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of &quot;de Finibus Bonorum et Malorum&quot; (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, &quot;Lorem ipsum dolor sit amet..&quot;, comes from a line in section 1.10.32."/>
                                </Paragraph>
                                <Paragraph TextAlignment="Justify">
                                    <Run Text="The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from &quot;de Finibus Bonorum et Malorum&quot; by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham."/>
                                </Paragraph>
                                <Paragraph>
                                    <Run FontWeight="Bold" FontSize="14" Text="Where can I get some?"/>
                                </Paragraph>
                                <Paragraph TextAlignment="Justify">
                                    <Run Text="There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc."/>
                                </Paragraph>

                            </FlowDocument>
                        </RichTextBox>
                    </GroupBox>
                </ContentControl>
                <ContentControl Style="{DynamicResource DesignerItemStyle}"
                    MaxHeight="300" Width="440" MaxWidth="700"
                    Padding="2,27,2,2"
                    Canvas.Left="350"
                    Canvas.Top="550">
                    <Expander Margin="0,-25,0,0" IsExpanded="True">
                        <Expander.Header>
                            <Label Background="Transparent" Content="Grid (MaxWidth,MaxHeight)"/>
                        </Expander.Header>
                        <DataGrid SelectedIndex="2" Margin="2" AlternatingRowBackground="{DynamicResource AlternatingRowBackgroundBrush}" AutoGenerateColumns="True" ItemsSource="{Binding Source={StaticResource coll2}}" AutoGeneratedColumns="DataGrid_AutoGeneratedColumns" />
                    </Expander>
                </ContentControl>

                <ContentControl  Width="294" Height="133" Background="{DynamicResource LightBrush}" Canvas.Left="850" Canvas.Top="550" Style="{DynamicResource DesignerItemStyle}">
                    <Border>
                        <StackPanel>
                            <TextBlock FontStyle="Italic"><Run Text="(Some elements hidden by LODZoom extension)"/></TextBlock>
                            <Separator />
                            <TextBlock TextWrapping="Wrap" bsDiag:VisualExtensions.LODZoom=" A1-5"><Run Text="1. Element use LODZoom Functionality A1-5"/></TextBlock>
                            <TextBlock TextWrapping="Wrap" bsDiag:VisualExtensions.LODZoom="A -5.1"><Run Text="2. Element use LODZoom Functionality A -5.1"/></TextBlock>
                            <TextBlock TextWrapping="Wrap" bsDiag:VisualExtensions.LODZoom="a 2-8.3"><Run Text="3. Element use LODZoom Functionality a 2-8.3"/></TextBlock>
                            <TextBlock TextWrapping="Wrap" bsDiag:VisualExtensions.LODZoom="a 1.5-"><Run Text="4. Element use LODZoom Functionality a 1.5-"/></TextBlock>
                            <TextBlock TextWrapping="Wrap" bsDiag:VisualExtensions.LODZoom="1-5"><Run Text="5. Element use LODZoom Functionality 1-5"/></TextBlock>
                        </StackPanel>
                    </Border>

                </ContentControl>

            </bsDiag:ZoomControl>
            <Label VerticalAlignment="Bottom" HorizontalAlignment="Left" Margin="0,0,0,40">Middle Mouse Button To Pan. Hold Ctrl to force zoom.</Label>
            <CheckBox VerticalAlignment="Bottom" HorizontalAlignment="Left" Margin="0,0,0,20" IsChecked="{Binding UseAnimation, ElementName=zc}" Content="UseAnimation"/>
            <TextBlock VerticalAlignment="Bottom" HorizontalAlignment="Left"><Run Text="RenderZoom:"/><Run Text="{Binding RenderZoom, ElementName=zc, StringFormat={}  {0:N2}}" /></TextBlock>
        </Grid>


    </Grid>
</Window>
