Is there a way I can remove the need for an "as . In a property changed event method?

后端 未结 0 1205
春和景丽
春和景丽 2020-12-06 13:46

I have this code:

    private static void IsAvailablePropertyChanged(BindableObject bindable, object oldValue, object newValue)
    {
        if((bindable as          


        
相关标签:
回答
  • 消灭零回复
. In a property changed event method?" id="ans_title" name="title">
提交回复
热议问题