質問編集履歴

1

xamlのCodeを追加しました

2016/10/26 07:58

投稿

necos
necos

スコア52

test CHANGED
File without changes
test CHANGED
@@ -40,6 +40,30 @@
40
40
 
41
41
 
42
42
 
43
+ ###実際のCode
44
+
45
+ ```<Grid Background="#FFE5E5E5" Height="100" Width="600" >
46
+
47
+ <ScrollViewer x:Name ="LogTextScroll" VerticalScrollBarVisibility="Auto">
48
+
49
+ <Grid Height="110" Width="600">
50
+
51
+ <TextBlock x:Name="TextBlock" HorizontalAlignment="Left" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Height="100" Width="600" />
52
+
53
+ </Grid>
54
+
55
+ </ScrollViewer>
56
+
57
+ <Label x:Name="label" Content="Log" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,-28,0,0" Width="102"/>
58
+
59
+ <Button Content="Clear" x:Name="ClearLogButton" VerticalAlignment="Top" HorizontalAlignment="Left" Height="24" Width="48" Margin="107,-26,0,0" Click="ClearLogButton_Click"/>
60
+
61
+ <Button Content="UL" x:Name="LockLogButton" VerticalAlignment="Top" HorizontalAlignment="Left" Height="24" Width="30" Margin="160,-26,0,0" Click="LockLogButton_Click"/>
62
+
63
+ </Grid>```
64
+
65
+
66
+
43
67
  ###試したこと
44
68
 
45
69
  ぐぐったところScrollViewerタグで囲むがヒットし試してみたのですが、