aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Mah.xaml
blob: cc5ee62bac9309e697f6f3ef8f60240f06dcad79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<UserControl x:Class="MahMaterialDragablzMashUp.Mah"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <StackPanel>
        <TextBlock TextWrapping="Wrap">All controls using MahApps themes, will use Material Design pallete.</TextBlock>
        <ListBox Margin="0 8 0 0">
            <ListBoxItem IsSelected="True">MahApps</ListBoxItem>
            <ListBoxItem>Dragablz</ListBoxItem>
            <ListBoxItem>Material</ListBoxItem>
        </ListBox>
        <controls:ToggleSwitch IsChecked="True" HorizontalAlignment="Left" />
        <Button Width="100" Margin="0 8 0 0" Content="Nice" HorizontalAlignment="Left"
                Style="{DynamicResource AccentedSquareButtonStyle}" />
        <controls:RangeSlider Margin="0 16 0 0" LowerValue="25" UpperValue="75" />
        <controls:RangeSlider Margin="0 16 0 0" LowerValue="25" UpperValue="75" Orientation="Vertical" Height="200"  />
    </StackPanel>
</UserControl>