标签: c# xamarin.forms
是否可以从BindableObject中删除BindableProperty?
我的意思是逆转该过程:
BindableProperty property = BindableProperty.Create(…)
答案 0 :(得分:0)
是的,您可以使用RemoveBinding()
RemoveBinding()
从文档中:https://docs.microsoft.com/en-us/dotnet/api/xamarin.forms.bindableobject.removebinding?view=xamarin-forms#Xamarin_Forms_BindableObject_RemoveBinding_Xamarin_Forms_BindableProperty_