回答編集履歴
1
henkou
test
CHANGED
@@ -8,8 +8,20 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
-
```
|
11
|
+
```C#
|
12
12
|
|
13
|
+
public class MyButton : Button
|
14
|
+
|
15
|
+
{
|
16
|
+
|
17
|
+
public MyButton()
|
18
|
+
|
19
|
+
{
|
20
|
+
|
13
|
-
|
21
|
+
SetBinding(ContentProperty, new Binding("Content"));
|
22
|
+
|
23
|
+
}
|
24
|
+
|
25
|
+
}
|
14
26
|
|
15
27
|
```
|