/
MainWindow.xaml
23 lines (23 loc) · 1.22 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
<Window x:Class="SynchronizeEditValuesInEditForm_CodeBehind.MainWindow"
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
xmlns:local="clr-namespace:SynchronizeEditValuesInEditForm_CodeBehind"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid>
<dxg:GridControl Name="grid">
<dxg:GridControl.Columns>
<dxg:GridColumn FieldName="Amount" ReadOnly="True"/>
<dxg:GridColumn FieldName="Price"/>
<dxg:GridColumn FieldName="CanEdit"/>
<dxg:GridColumn FieldName="PositionValue" ReadOnly="True"/>
</dxg:GridControl.Columns>
<dxg:GridControl.View>
<dxg:TableView EditFormShowMode="Inline" RowEditStarting="OnRowEditStarting" CellValueChanging="OnEditFormCellValueChanging"/>
</dxg:GridControl.View>
</dxg:GridControl>
</Grid>
</Window>