public DialMain() { InitializeComponent(); searchBar = new DialSearchEntry() { Keyboard = Keyboard.Telephone, BackgroundColor = Color.White, Placeholder = DependencyService.Get <IBundle> ().LocalizedString("SearchEntryPlaceHolder"), TextColor = Color.FromHex("#494c53"), }; this.stack.Children.Insert(0, searchBar); DependencyService.Get <IAddressBook> ().CheckAccessPermission(AccessControl); }
public DialMain () { InitializeComponent (); searchBar = new DialSearchEntry () { Keyboard = Keyboard.Telephone, BackgroundColor = Color.White, Placeholder = DependencyService.Get<IBundle> ().LocalizedString ("SearchEntryPlaceHolder"), TextColor = Color.FromHex ("#494c53"), }; this.stack.Children.Insert (0, searchBar); DependencyService.Get<IAddressBook> ().CheckAccessPermission (AccessControl); }