回答編集履歴

2

d:SampleData

2024/03/29 12:33

投稿

TN8001
TN8001

スコア9401

test CHANGED
@@ -16,10 +16,13 @@
16
16
  x:Class="Qe1i8qsarazg7kq.MainWindow"
17
17
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
18
18
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
19
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
19
20
  xmlns:local="clr-namespace:Qe1i8qsarazg7kq"
21
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
20
22
  Title="MainWindow"
21
23
  Width="600"
22
- Height="300">
24
+ Height="300"
25
+ mc:Ignorable="d">
23
26
  <Grid>
24
27
  <Grid.RowDefinitions>
25
28
  <RowDefinition Height="1cm" />
@@ -60,6 +63,7 @@
60
63
  <ItemsControl
61
64
  Grid.Row="2"
62
65
  Grid.ColumnSpan="3"
66
+ d:ItemsSource="{d:SampleData ItemCount=3}"
63
67
  ItemsSource="{Binding DataItems}">
64
68
  <ItemsControl.ItemTemplate>
65
69
  <DataTemplate>

1

デフォルト値

2024/03/29 11:07

投稿

TN8001
TN8001

スコア9401

test CHANGED
@@ -168,7 +168,7 @@
168
168
 
169
169
 
170
170
  public bool IsCheck { get => _IsCheck; set => RaisePropertyChangedIfSet(ref _IsCheck, value); }
171
- private bool _IsCheck = false;
171
+ private bool _IsCheck;
172
172
 
173
173
  public DisplayDataInfo SelectedAllItem { get => _SelectedAllItem; set => RaisePropertyChangedIfSet(ref _SelectedAllItem, value); }
174
174
  private DisplayDataInfo _SelectedAllItem;