質問編集履歴
1
XXXWindowクラスの追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -37,8 +37,34 @@
|
|
37
37
|
|
38
38
|
### 該当のソースコード
|
39
39
|
|
40
|
-
```
|
40
|
+
```C#
|
41
|
+
public class XXXWindow : YYYWindow
|
42
|
+
{
|
43
|
+
public static readonly DependencyProperty ValueProperty;
|
44
|
+
|
45
|
+
[Category("")]
|
46
|
+
[Description("")]
|
47
|
+
public double Value
|
48
|
+
{
|
41
|
-
|
49
|
+
get
|
50
|
+
{
|
51
|
+
return (double)GetValue(ValueProperty);
|
52
|
+
}
|
53
|
+
set
|
54
|
+
{
|
55
|
+
SetValue(ValueProperty, value);
|
56
|
+
}
|
57
|
+
}
|
58
|
+
static XXXWindow()
|
59
|
+
{
|
60
|
+
ValueProperty = DependencyProperty.Register("Value", typeof(double), typeof(XXXWindow), new FrameworkPropertyMetadata(0.0));
|
61
|
+
}
|
62
|
+
|
63
|
+
public XXXWindow()
|
64
|
+
{
|
65
|
+
// 画面の初期設定など
|
66
|
+
}
|
67
|
+
}
|
42
68
|
```
|
43
69
|
|
44
70
|
### 試したこと・調べたこと
|