質問編集履歴

3

タイトル修正

2024/12/14 23:49

投稿

ange1192
ange1192

スコア1

test CHANGED
@@ -1 +1 @@
1
- C# WPFで動作するComboBoxのBindingWinFormsで実装方法について
1
+ C# WPFで動作するComboBoxのBindingWinFormsで実装する方法について
test CHANGED
File without changes

2

ソースの説明追加

2024/12/14 23:41

投稿

ange1192
ange1192

スコア1

test CHANGED
@@ -1 +1 @@
1
- C# WPFで動作するComboBoxのBindingWinFormsでの実装方法について
1
+ C# WPFで動作するComboBoxのBindingWinFormsでの実装方法について
test CHANGED
@@ -9,7 +9,9 @@
9
9
 
10
10
  ### 該当のソースコード
11
11
 
12
- ```C# WPF MainWindow.xaml
12
+ **WPF MainWindow.xaml**
13
+
14
+ ```C#
13
15
  <Window x:Class="A02_DialogBinding.MainWindow"
14
16
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
15
17
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -27,8 +29,9 @@
27
29
  </Grid>
28
30
  </Window>
29
31
  ```
32
+ **WPF MainViewModel**
30
33
 
31
- ```C# WPF MainViewModel
34
+ ```C#
32
35
  using System.Collections.ObjectModel;
33
36
  using CommunityToolkit.Mvvm.ComponentModel;
34
37
 
@@ -56,7 +59,9 @@
56
59
  }
57
60
  ```
58
61
 
59
- ```C# WinForms Form3 TextBoxとComboBoxを配置
62
+ **WinForms Form3 TextBoxとComboBoxを配置**
63
+
64
+ ```C#
60
65
  namespace Advance.Trial.Binding;
61
66
 
62
67
  public partial class Form3 : Form
@@ -77,7 +82,9 @@
77
82
  }
78
83
  ```
79
84
 
80
- ```C# WinForms Form3ViewModel
85
+ **WinForms Form3ViewModel**
86
+
87
+ ```C#
81
88
  using System.Collections.ObjectModel;
82
89
  using CommunityToolkit.Mvvm.ComponentModel;
83
90
 

1

ソースの内容を追加しました。

2024/12/14 22:07

投稿

ange1192
ange1192

スコア1

test CHANGED
File without changes
test CHANGED
@@ -115,4 +115,9 @@
115
115
  terataildeで「CommunityToolkit」「MVVMToolkit」で検索しましたが該当するものがありませんでした。
116
116
 
117
117
  ### 補足
118
+ ソースは上から
119
+ WPF MainWindow.xaml
120
+ WPF MainViewModel
121
+ WinForms Form3 TextBoxとComboBoxを配置
122
+ WinForms Form3ViewModel
118
- 特になし
123
+ です。