0
我開始使用monotouch.dialog實用程序,如果有人能告訴我如何訪問瞬時更改,我將非常感激到用戶更改後的元素值(EntryElement,FloatElement,BoolElement等)。有一個代表,我可以使用像: -Monotouch.dialog - 如何創建一個委託來訪問一個元素當它被修改時的值
public void ViewingElementApi()
{
viewingroot = CreateViewingRoot();
var dv = new DialogViewController (viewingroot, true)
{
Autorotate=true
};
dv.ViewDisappearing += delegate
{
Console.WriteLine(EntryElement.Value);
};
configure.PushViewController (dv, true);
}
這個片段是在這個前面一個問題的禮貌。但是,如果可能的話,我真的很感興趣的是在用戶改變它的時候獲得價值。
感謝 戈登異教徒