前提・実現したいこと
WPFでPRISMを利用して電卓を作りたいです。
その際に出てくるContentControlとはどのようなものなのでしょうか?
発生している問題・エラーメッセージ
property要素は要素のコンテンツの中央に
該当のソースコード
<Grid> **<ContentControl prism:RegionManager.RegionName="ContentRegion" />** <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="2*"/> <RowDefinition Height="*"/> <RowDefinition Height="*"/> <RowDefinition Height="*"/> <RowDefinition Height="*"/> <RowDefinition Height="*"/> </Grid.RowDefinitions>ここでエラーが出る
<Label Content="0"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
FontSize="60"
Grid.Row="0"
Grid.ColumnSpan="4"/>
よろしくお願いいたします
回答1件
あなたの回答
tips
プレビュー