add Drawer

This commit is contained in:
NaBian committed 2019-11-26 00:48:08 +08:00
1 parent f586bb2b34
commit fb3ec79c1c
4 files changed
+308 -99

No files matched your search

@@ -0,0 +1,120 @@
[
{
"Header": "Overview",
"IconKey": "/HandyControlDemo;component/Resources/Img/DevOps/DevOps-Overview.png",
"Items": [
{
"Header": "Summary",
"IconKey": ""
},
{
"Header": "Dashboards",
"IconKey": ""
},
{
"Header": "Wiki",
"IconKey": ""
}
]
},
{
"Header": "Boards",
"IconKey": "/HandyControlDemo;component/Resources/Img/DevOps/DevOps-Boards.png",
"Items": [
{
"Header": "Work Items",
"IconKey": ""
},
{
"Header": "Boards",
"IconKey": ""
},
{
"Header": "Backlogs",
"IconKey": ""
},
{
"Header": "Sprints",
"IconKey": ""
},
{
"Header": "Queries",
"IconKey": ""
}
]
},
{
"Header": "Repos",
"IconKey": "/HandyControlDemo;component/Resources/Img/DevOps/DevOps-Repos.png",
"Items": [
{
"Header": "Files",
"IconKey": ""
},
{
"Header": "Commits",
"IconKey": ""
},
{
"Header": "Pushes",
"IconKey": ""
},
{
"Header": "Branches",
"IconKey": ""
},
{
"Header": "Tags",
"IconKey": ""
},
{
"Header": "Pull requests",
"IconKey": ""
}
]
},
{
"Header": "Pipelines",
"IconKey": "/HandyControlDemo;component/Resources/Img/DevOps/DevOps-Pipelines.png",
"Items": [
{
"Header": "Builds",
"IconKey": ""
},
{
"Header": "Releases",
"IconKey": ""
},
{
"Header": "Library",
"IconKey": ""
},
{
"Header": "Task groups",
"IconKey": ""
},
{
"Header": "Deployment groups",
"IconKey": ""
}
]
},
{
"Header": "Test Plans",
"IconKey": "/HandyControlDemo;component/Resources/Img/DevOps/DevOps-TestPlans.png",
"Items": [
{
"Header": "Test Plans",
"IconKey": ""
},
{
"Header": "Runs",
"IconKey": ""
},
{
"Header": "Load test",
"IconKey": ""
}
]
}
]
@@ -21,7 +21,7 @@
<ToggleButton Margin="10" HorizontalAlignment="Stretch" Grid.Row="1" Grid.Column="2" Content="Right" IsChecked="{Binding IsOpen,ElementName=DrawerRight}"/>
<ToggleButton Margin="10" HorizontalAlignment="Stretch" Grid.Row="2" Grid.Column="1" Content="Bottom" IsChecked="{Binding IsOpen,ElementName=DrawerBottom}"/>
</Grid>
<hc:Drawer Name="DrawerLeft" Dock="Left">
<hc:Drawer Name="DrawerLeft" Dock="Left" ShowMode="Push">
<Border Background="{DynamicResource RegionBrush}" Width="300" BorderThickness="0,1,0,0" BorderBrush="{DynamicResource BorderBrush}">
<Grid>
<Grid.RowDefinitions>
@@ -33,7 +33,7 @@
</Grid>
</Border>
</hc:Drawer>
<hc:Drawer Name="DrawerTop" Dock="Top">
<hc:Drawer Name="DrawerTop" Dock="Top" ShowMode="Press">
<Border Background="{DynamicResource RegionBrush}" Height="300" BorderThickness="0,1,0,0" BorderBrush="{DynamicResource BorderBrush}">
<Grid>
<Grid.RowDefinitions>
@@ -45,8 +45,8 @@
</Grid>
</Border>
</hc:Drawer>
<hc:Drawer Name="DrawerRight" ShowMask="False">
<Border Background="{DynamicResource RegionBrush}" Width="300" BorderThickness="1,1,0,0" BorderBrush="{DynamicResource BorderBrush}">
<hc:Drawer Name="DrawerRight" MaskCanClose="False">
<Border Background="{DynamicResource RegionBrush}" Width="300" BorderThickness="0,1,0,0" BorderBrush="{DynamicResource BorderBrush}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
@@ -57,8 +57,8 @@
</Grid>
</Border>
</hc:Drawer>
<hc:Drawer Name="DrawerBottom" Dock="Bottom">
<Border Background="{DynamicResource RegionBrush}" Height="300" BorderBrush="{DynamicResource BorderBrush}">
<hc:Drawer Name="DrawerBottom" Dock="Bottom" ShowMask="False">
<Border Background="{DynamicResource RegionBrush}" Height="300" BorderThickness="0,1,0,0" BorderBrush="{DynamicResource BorderBrush}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>