This repository has been archived by the owner on Oct 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainWindow.xaml
35 lines (34 loc) · 1.96 KB
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:dxdash="http://schemas.devexpress.com/winfx/2008/xaml/dashboard"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars"
xmlns:dxdasht="http://schemas.devexpress.com/winfx/2008/xaml/dashboard/themekeys"
x:Class="Dashboard_SetMasterFilter.MainWindow"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid>
<dxdash:DashboardControl MinHeight="150" x:Name="dashboardControl" DashboardSource="Dashboard.xml"
ConfigureDataConnection="DashboardControl_ConfigureDataConnection"
MasterFilterSet="DashboardControl_MasterFilterSet"
MasterFilterCleared="DashboardControl_MasterFilterCleared">
<dxdash:DashboardControl.TitleCustomizationsTemplate>
<DataTemplate>
<ItemsControl>
<dxb:InsertAction ContainerName="{x:Static dxdasht:DefaultBarItemNames.DashboardTitle_Toolbar}" Index="0">
<dxb:InsertAction.Element>
<dxb:BarButtonItem
x:Name="btnSetMasterFilter"
BarItemDisplayMode="ContentAndGlyph"
Content="Set Master Filter"
ItemClick="BtnSetMasterFilter_ItemClick" />
</dxb:InsertAction.Element>
</dxb:InsertAction>
</ItemsControl>
</DataTemplate>
</dxdash:DashboardControl.TitleCustomizationsTemplate>
</dxdash:DashboardControl>
</Grid>
</Window>