1
我想在Silverlight 4中創建一個數據表單。也許我做錯了什麼。Silverlight Dataform:「保存」和「編輯」按鈕不顯示
類:
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或數據類有問題嗎?