Silverlight 4でデータフォームを作成しようとしています。おそらく、何か間違ったことをしています。
クラス:
public class ExpenseInfoTest
{
public int MyProperty { get; set; }
public int Foo { get; set; }
public int Bar { get; set; }
}
XAML:
<local:ExpenseInfoTest x:Key="newExpense"/>
<df:DataForm Height="218"
HorizontalAlignment="Left"
Margin="13,368,0,0"
Name="expenseDataForm"
VerticalAlignment="Top"
Width="590"
CurrentItem="{StaticResource newExpense}" />
表示される内容:
「保存」ボタンが欲しいのですが。どうすれば表示できますか?XAMLまたはデータクラスに問題がありますか?