Xamarin.FormsShell based tutorial (9) Shell Class System

Xamarin.FormsShell based tutorial (9) Shell Class System

In Shell, Shell is the most major class category. Shell class implements the pages required for most applications the basic UI functions. In addition, commonly used classes there ShellContent, Tab, FlyoutItem, MenuItem and SearchHandler. The following is a description of these classes.

  • ShellContent: application content pages, the content of FIGS. 1.2 and intermediate 1.3 using the class is implemented.
  • Tab: tag, tab bar and in general use sliding menu. FIG label tab bar 1.2 and 1.3 is implemented using the class.
  • FlyoutItem: sliding menu, Figure 1.14 and 1.15 in the sliding menu is the use of such implementation.
  • MenuItem: menu item, use the sliding menu is filled menu items.
  • SearchHandler: search handle, while Shell will use to implement the search function.

These classes architecture shown in Figure 1.16. Wherein the double lines labeled class is abstract.

Guess you like

Origin www.cnblogs.com/daxueba-ITdaren/p/12038390.html