fbpx
+91 8447121833 [email protected]

Ever since Xamarin came onto the stage several years ago, C# developers have been delighting in being able to create mobile applications that target non-Microsoft platforms. It’s with quite a bit of excitement that we can now write apps in a language that is very familiar to us, and be able to distribute them to the big players in the mobile space, iOS and Android.

Since these apps can be written in a single language, it only makes sense to want to write a single code base that would compile into separate apps for the different platforms and ultimately allow us to reach the world of Write Once, Run Everywhere/Anywhere. This sounds good on paper, but it wasn’t quite the case.

Page

The page represent cross-platform mobile app screen. A page contains layouts and views to display app data and handle user interaction.

xamarin page mildaintrainings

A Xamarin Forms page represents a View Controller in iOS or a Page in Windows Phone/UWP or an activity in Android. Xamarin forms have following different types of pages for displaying UI elements.

Xamarin Page Display Mildiantrainings

          Pages                Description
  Content PageContains a single view
  MasterDetailPageA page that has two panes for the page. Typically, the master will contain the likes of a menu with    the detail the content.
  NavigationPageA page that contains a navigation bar. Pages are kept on a stack and can be jumped between. The Navigation bar can have navigation buttons as well as a title.
  TabbedPageA container page. The TabbedPage acts as a container holding the content pages associated with  each tab.
  CarouselPageA page that allows for sweeping across to show other views.

Views

Xamarin views are the UI elements/controls displayed on the user interface, such as labels, buttons and text entry boxes. The basic views are shown in fig.

xamarin view mildaintrainings

Xamarin forms views can be aligned vertically and horizontally using VerticalOptions and HorizontalOptions.

Xamarin Layouts Mildaintrainings

      Layouts                           Description
  StackLayoutPositions the child elements in a line. Most commonly used layout.
  AbsoluteLayoutA view that positions child layouts at specified positions using anchors to define the placing and size.
  RelativeLayoutPositions the elements relative to each other using constraints.
  GridArranges multiple views in rows and columns just like table.

Cells

Xamarin Forms cells are specialized elements used for customization of items in a list. These describe how each item in a list should be drawn. Cells is used with ListViews and TableViews for items customization.

xamarin Cells Mildaintrainings

           Cells                       Description
  EntryCellA cell containing a label and single-line entry element.
  SwitchCellThe same as a switch, but with a label before it.
  TextCellA cell containing both a primary and a secondary text field.
  ImageCellA text cell that also contains an image.

Conclusion

You should now have a basic understanding of Xamarin Forms as well as what you can accomplish using them. The journey into this amazing technology doesn’t stop there. Mildaintrainings’s Xamarin Mobile App Development Training course expert trainer shall help you to create very best suited applications & it will enhance your skills in building cross-platform applications. Those developers having good knowledge of Visual studio & C#, xamarin app development course, cross platform app development training is very useful.

Corporate
close slider

Your Name (required)

Your Email (required)

Contact Number

Course

Location

Company

No Of Participant

Query