| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 | <wpf:ThemableWindow x:Class="InABox.DynamicGrid.DynamicMultiEditWindow"        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:sf="http://schemas.syncfusion.com/wpf"        xmlns:sf2="clr-namespace:Syncfusion.UI.Xaml.Grid;assembly=Syncfusion.SfGrid.WPF"        xmlns:wpf="clr-namespace:InABox.Wpf;assembly=InABox.Wpf"        mc:Ignorable="d"        Title="Edit Multiple Items" Height="450" Width="800" WindowStartupLocation="CenterScreen">    <Window.Resources>        <Style TargetType="sf2:VirtualizingCellsControl" x:Key="rowStyle">            <Setter Property="Background" Value="White" />        </Style>        <Style TargetType="sf:GridHeaderCellControl" x:Key="headerStyle">            <Setter Property="Background" Value="LightSkyBlue" />            <Setter Property="FontWeight" Value="DemiBold" />            <Setter Property="Foreground" Value="Black" />        </Style>    </Window.Resources>    <Grid>        <Grid.ColumnDefinitions>            <ColumnDefinition Width="Auto" />            <ColumnDefinition Width="*" />            <ColumnDefinition Width="Auto" />            <ColumnDefinition Width="Auto" />        </Grid.ColumnDefinitions>        <Grid.RowDefinitions>            <RowDefinition Height="*" />            <RowDefinition Height="Auto" />        </Grid.RowDefinitions>        <sf:SfDataGrid x:Name="Editor"                       Grid.Row="0"                       Grid.Column="0"                       Grid.ColumnSpan="4"                       BorderBrush="Gray"                       BorderThickness="0.75"                       Background="WhiteSmoke"                       AutoGenerateColumns="False"                       AllowEditing="True"                       EditTrigger="OnTap"                       ColumnSizer="Auto"                       RowStyle="{StaticResource rowStyle}"                       HeaderStyle="{StaticResource headerStyle}"                       HeaderRowHeight="30"                       RowHeight="30"                       AllowFiltering="True"                       RowSelectionBrush="LightBlue"                       CurrentCellBorderThickness="0.75"                       Margin="2"                       CurrentCellEndEdit="Editor_CurrentCellEndEdit"                       CurrentCellValueChanged="Editor_CurrentCellValueChanged"                       AddNewRowPosition="Bottom"                       SelectionUnit="Cell"                       NavigationMode="Cell"                       CurrentCellActivated="CurrentCellActivated"                       CurrentCellDropDownSelectionChanged="Editor_CurrentCellDropDownSelectionChanged" />        <Button x:Name="Delete" Grid.Row="1" Grid.Column="0" Width="80" Margin="2,0,0,2" Content="Delete Row"                Padding="5" Click="Delete_Click" />        <Button x:Name="OK" Grid.Row="1" Grid.Column="2" Width="80" Margin="0,0,2,2" Content="OK" Padding="5"                Click="OK_Click" />        <Button x:Name="Cancel" Grid.Row="1" Grid.Column="3" Width="80" Margin="0,0,2,2" Content="Cancel" Padding="5"                Click="Cancel_Click" />    </Grid></wpf:ThemableWindow>
 |