xamarin.ios - Monotouch.Dialog: Backing Field Exclusion -
using amazing monotouch.dialog tool set, how can ensure backing fields not show. when assign [entry] attribute get;set; property, following rendered:
[caption("weight")] [entry(placeholder = "kilograms", keyboardtype = uikeyboardtype.phonepad)] public string weight { get; set; }
this bug in monotouch.dialog, best option not use properties, , instead use fields directly or alter local copy of monotouch.dialog prevent creating elements if not public (currently uses public , private methods).
change line:
var members = o.gettype ().getmembers (bindingflags.declaredonly | bindingflags.public | bindingflags.nonpublic | bindingflags.instance);
with:
var members = o.gettype ().getmembers (bindingflags.declaredonly | bindingflags.public | bindingflags.instance);
Comments
Post a Comment