/
shmachilin
/
MathCore
Обзор
Документация
Войти
/
shmachilin
/
MathCore
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
dev
Tests/MathCore.Tests.WPF/Test1Window.xaml
21 строка
901 B
Павел
Доработка SelectableCollection что бы можно было её можно было полноценно использвоать с DataGrid в режиме добавления новых элементов
11 июн 2025, 16:22
11 июн 2025, 16:22
eca0d70
Код
Авторство
О чём код?
<Window x:Class="MathCore.Tests.WPF.Test1Window" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:l="clr-namespace:MathCore.Tests.WPF" xmlns:vm="clr-namespace:MathCore.Tests.WPF.ViewModels" Title="Test1Window" Width="800" Height="450"> <Window.DataContext> <vm:Test1WindowViewModel/> </Window.DataContext> <Grid> <DockPanel> <DataGrid ItemsSource="{Binding Students1}" SelectedItem="{Binding Students1.SelectedItem}" DataGridEx.UseDataAnnotations="True" /> </DockPanel> </Grid> </Window>