public void SetTitleTextAttributes_Null() { using (MyView v = new MyView("note")) using (var b = new UIBarButtonItem(v)) { b.SetTitleTextAttributes(null, UIControlState.Disabled); } }
public void SetTitleTextAttributes_Null() { using (MyView v = new MyView("note")) using (var b = new UIBarButtonItem(v)) { #if XAMCORE_3_0 b.SetTitleTextAttributes((UIStringAttributes)null, UIControlState.Disabled); #else b.SetTitleTextAttributes((UITextAttributes)null, UIControlState.Disabled); #endif } }