/
MainWindow.xaml
29 lines (25 loc) · 1.14 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
<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:dxdash="http://schemas.devexpress.com/winfx/2008/xaml/dashboard"
xmlns:local="clr-namespace:WpfDashboard_ObjectDataSource"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
x:Class="WpfDashboard_ObjectDataSource.MainWindow"
Width="750"
Height="500"
mc:Ignorable="d"
Loaded="Window_Loaded"
Title="Dashboard Bound to List <Data> ">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="30"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<dxdash:DashboardControl
x:Name="dashboardControl"
MinHeight="150"
AsyncDataLoading="dashboardControl_AsyncDataLoading" Grid.Row="1"/>
<dx:SimpleButton x:Name="simpleButton" Content="Reload Data" Grid.Row="0" Click="simpleButton_Click"/> </Grid>
</Window>