This repository has been archived by the owner on Sep 25, 2023. It is now read-only.
/
Window17.xaml
36 lines (33 loc) · 1.87 KB
/
Window17.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
36
<Window x:Class="DevExpressGrid_Flashing.Window17"
xmlns:dxgt="http://schemas.devexpress.com/winfx/2008/xaml/grid/themekeys"
xmlns:dxgcore="http://schemas.devexpress.com/winfx/2008/xaml/grid"
xmlns:dxght="clr-namespace:DevExpress.Xpf.Grid.HitTest;assembly=DevExpress.Xpf.Grid.v13.1"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars"
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
xmlns:local="clr-namespace:DevExpressGrid_Flashing"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
Title="Window17" Height="373" Width="305.849">
<Window.Resources>
<Style x:Key="customContentStyle" TargetType="{x:Type ContentPresenter}">
<Setter Property="TextElement.Foreground" Value="Red" />
<Setter Property="TextElement.FontWeight" Value="Bold" />
</Style>
</Window.Resources>
<Grid>
<dxg:GridControl DataSource="{x:Static local:MyData.Data}" AutoPopulateColumns="true" Name="grid" Margin="0,0,0,0" AutoExpandAllGroups="True">
<dxg:GridControl.Columns>
<dxg:GridColumn FieldName="Number1" TabStop="False" FilterPopupMode="List" Header="Value">
</dxg:GridColumn>
<dxg:GridColumn FieldName="MyBool" Header="Prevent Edit">
</dxg:GridColumn>
</dxg:GridControl.Columns>
<dxg:GridControl.View>
<dxg:TableView Name="view" ShowFilterPanelMode="Default" ShowTotalSummary="False" ShowingEditor="view_ShowingEditor">
</dxg:TableView>
</dxg:GridControl.View>
</dxg:GridControl>
</Grid>
</Window>