. Net language APP development platform-Smobiler Learning Log: quickly implement menu (IconMenuView) in the form of n × m on the mobile phone,. net
First, scycler is a development platform that uses the. Net language to develop apps in the VS environment. It may be more convenient than Xamarin. 1. Target Style
The following operations are required to achieve the effect:
1. Drag an IconMenuView control from "Smobiler Components" on the toolbar to the form interface.
2. Modify the properties of the MenuView control.
Open the Set editor, and click "add", ID attribute (used to identify the menu group), Items attribute (menu item set), Title attribute (menu group text ), value Attribute (menu group Value), 1. Figure 2
Open the Items attribute, and click "add". The Icon attribute (the Icon on the menu item) and ID attribute (used to identify the menu item, which is not displayed on the interface ), text attribute (menu item Text), Value attribute (internal Value, not displayed on the Interface), 3
B. IconColumnCount attributes
Set the number of columns to be displayed. The default value is "4", which is displayed as four icons in a row.
|
|
|
|
Figure 1 |
Figure 2 |
Figure 3 |
Figure 4 |
C. MenuItemHeight attribute
Set the menu item height to "35", 5
D. MenuGroupHeight attributes
Set the menu group height. The default value is "12" and "6 ".
E. FontSize attributes
Set the font size of the menu item to "7", 7
F. ForeColor attributes
Set the font color of the menu item to "134,142,155", indicating the RGB color, 8
|
|
|
|
Figure 5 |
Figure 6 |
Figure 7 |
Figure 8 |
G. GridLines attributes
Set whether to display gridlines around the menu cell, set this attribute to "True", 9
H. GridLinesColor attribute
Obtain and set the gridline color of the menu cell. Set this attribute to "244,244,244", indicating the RGB color, 10
I. GroupBackColor attributes
Set the background color of the menu group. The default value is "White" and 11.
J. GroupFontSize attribute
Set the font size of the menu group. The default value is "6" and 12.
|
|
|
|
Figure 9 |
Figure 10 |
Figure 11 |
Figure 12 |
K. GroupForeColor attributes
Set the font color of the menu group. The default value is "Black", 13
K. ShowGroupTitle attributes
Set whether to display the menu group. The default value is "False", 14
3. scycler Form Design Interface display Effect
Ii. Mobile phone effect display