. Net language APP development platform-Smobiler Learning Log: To achieve the commonly seen ListMenuView,. 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 a ListMenuView 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 ), subText attributes (SubText of a menu item, used to describe a menu item), Text attributes (menu item Text), and Value attributes (internal values, not displayed on the interface ), button attribute (the Button text displayed after the menu item of ListMenuView, you can also click this Button to trigger the MenuvVIewItemButtonCLick event), 3
B. MenuItemHeight attribute
Set Menu item height, 4
|
|
|
|
Figure 1 |
Figure 2 |
Figure 3 |
Figure 4 |
C. MenuGroupHeight attributes
Set Menu group height, 5
D. ShowGroupTitle attributes
Get or set whether to display the menu group, set this attribute to "True", 6
E. FontSize attributes
Set the text size of the menu item. The default value is "6" and "7 ".
F. ForeColor attributes
Set the text color of the menu item to "75, 75, 84", indicating the RGB color, 8
|
|
|
|
Figure 5 |
Figure 6 |
Figure 7 |
Figure 8 |
G. GroupBackColor attribute
Set the background color of the menu group, set this attribute to "241,242,246", indicating the RGB color, 9
H. GroupFontSize attribute
Set the text size of the menu group. The default value is "6" and "10 ".
I. GroupForeColor attributes
Set the text color of the menu group. The default value is "Black" and 11.
J. SubTextForeColor attributes
Set the sub-text color of the menu item, set this attribute to "190,196,208", indicating the RGB color, 12
|
|
|
|
Figure 9 |
Figure 10 |
Figure 11 |
Figure 12 |
3. scycler Form Design Interface display Effect
Ii. Mobile phone effect display