質問編集履歴

2

PivotListをListBoxに変更

2017/12/12 04:52

投稿

inugasima
inugasima

スコア8

test CHANGED
File without changes
test CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  for (int i = 0; i < 16; i++) array[i] = i;
18
18
 
19
- PivotList.ItemsSource = array;
19
+ ListBox.ItemsSource = array;
20
20
 
21
21
  ```
22
22
 
@@ -34,7 +34,7 @@
34
34
 
35
35
  {
36
36
 
37
- Selector.SetIsSelected((DependencyObject)PivotList.Items[1], true);
37
+ Selector.SetIsSelected((DependencyObject)ListBox.Items[1], true);
38
38
 
39
39
  }
40
40
 

1

ListBoxの選択は一度に一つまで

2017/12/12 04:52

投稿

inugasima
inugasima

スコア8

test CHANGED
File without changes
test CHANGED
@@ -1,6 +1,6 @@
1
1
  Visual Studio Community 2017のWPFを使って
2
2
 
3
- ListBoxの任意のアイテムをマウスではない方法(ボタンなどから)で
3
+ ListBoxの任意の一つのアイテムをマウスではない方法(ボタンなどから)で
4
4
 
5
5
  動的に(コード中から)選択したいです.
6
6