From the course: Xamarin.Forms Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Add an iOS control - Xamarin Tutorial
From the course: Xamarin.Forms Essential Training
Add an iOS control
- [Instructor] For iOS, I want to add what's called a UI segmented control to my application and I want to bind that to the order just like I have all my other controls. So I'm going to go to the order class here, copy what we had for quantity, I'm going to change that 'cause I want to to rate. Copy the rate, just replace quantity here, or you could use the help from the intel essence, but we'll call this property then rating, and we also want to make sure that we update our property change event args to rating. We've got one more right there. So just added a rating property to our order, save that, and on the order form we could take advantage of that. Already had noticed that we placed an order for a quantity of a product name, we could say and you rated it, and then we could do o.rating. So we'll add that in so we can see that that binding is getting fixed up as well. Then we'll go back into the order form. So I'm…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.