回答編集履歴
1
コード追加
test
CHANGED
@@ -19,3 +19,93 @@
|
|
19
19
|
|
20
20
|
|
21
21
|
![イメージ説明](78a242f81058a1f984c2d85647aac0aa.jpeg)
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
---
|
28
|
+
|
29
|
+
コード提示します。
|
30
|
+
|
31
|
+
```XML
|
32
|
+
|
33
|
+
<Page
|
34
|
+
|
35
|
+
x:Class="App1.MainPage"
|
36
|
+
|
37
|
+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
38
|
+
|
39
|
+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
40
|
+
|
41
|
+
xmlns:local="using:App1"
|
42
|
+
|
43
|
+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
44
|
+
|
45
|
+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
46
|
+
|
47
|
+
mc:Ignorable="d" Loaded="Page_Loaded" Height="300">
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
<Grid RenderTransformOrigin="0.507,0.248">
|
52
|
+
|
53
|
+
<ScrollViewer>
|
54
|
+
|
55
|
+
<StackPanel x:Name="MyLists"/>
|
56
|
+
|
57
|
+
</ScrollViewer>
|
58
|
+
|
59
|
+
</Grid>
|
60
|
+
|
61
|
+
</Page>
|
62
|
+
|
63
|
+
```
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
```XML
|
68
|
+
|
69
|
+
<UserControl
|
70
|
+
|
71
|
+
x:Class="App1.MemoTitleUserControl"
|
72
|
+
|
73
|
+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
74
|
+
|
75
|
+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
76
|
+
|
77
|
+
xmlns:local="using:App1"
|
78
|
+
|
79
|
+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
80
|
+
|
81
|
+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
82
|
+
|
83
|
+
mc:Ignorable="d"
|
84
|
+
|
85
|
+
Height="70"
|
86
|
+
|
87
|
+
d:DesignHeight="300"
|
88
|
+
|
89
|
+
d:DesignWidth="400">
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
<Grid>
|
94
|
+
|
95
|
+
<Grid.RowDefinitions>
|
96
|
+
|
97
|
+
<RowDefinition Height="30"/>
|
98
|
+
|
99
|
+
<RowDefinition Height="30"/>
|
100
|
+
|
101
|
+
</Grid.RowDefinitions>
|
102
|
+
|
103
|
+
<CheckBox Grid.Row="0" x:Name="MemoTitle" Margin="10,5,10,5" x:FieldModifier="Public" FontWeight="Bold" FontSize="14" />
|
104
|
+
|
105
|
+
<TextBlock Grid.Row="1" x:Name="MemoContents" Margin="10,5,10,5" TextWrapping="Wrap" x:FieldModifier="Public" />
|
106
|
+
|
107
|
+
</Grid>
|
108
|
+
|
109
|
+
</UserControl>
|
110
|
+
|
111
|
+
```
|