Xamarin- control reference

Xamarin used to create a user interface control groups are as follows four main
page layout, view, Cell

page

layout

Xamarin Forms layout type

view

View for demonstration
Label can display multiple lines of text blocks single text string or by constant or variable formatting.
Image display bitmaps. It may be embedded as a bitmap downloaded from the Web resources to public projects or project platform, or using .NET Stream object creation
BoxView display colored solid rectangle from the Color attribute.
WebView to display HTML pages or content depending on the Source property is set to UriWebViewSource or HtmlWebViewSource object.
OpenGLView display OpenGL graphics in IOS and Android project.
Map display map. Xamarin NuGet package must be installed. MediaElement play a video or audio.
Button is a rectangle of text, inspired Clicked event when pressed.
ImageButton is a rectangular object image, stimulate Clicked event when pressed.
RefreshView is a container control that provides scrollable content request is a refresh function.
SearchBar display area the user types the text string, indicating the application button (or keyboard) to perform the search.
SwipeView is a container control, which surround the content item, and to provide a context menu items displayed by the swipe gesture.
CheckBox allows the user can select or empty buttons to select the type of Boolean values. IsChecked property is CheckBox state, when the state changes that will excite CheckedChanged event.
Slider allows the user to select from a continuous range using double value Minimum and Maximum properties specify.
Stepper allows the user to select from a range of double value specified with Minimum, Maximum, and the increment value Increment property.
Switch provides an "on / off" switch in the form, to allow the user to select a Boolean value.
DatePicker allows the user to select a date picker date internet.
TimePicker platform allows users to select time selection time.

Start command View
Button is a rectangle of text, inspired Clicked event when pressed.
ImageButton is a rectangular object image, stimulate Clicked event when pressed.
RefreshView is a container control that provides scrollable content request is a refresh function. When the trigger refresh, will perform ICommand defined by the Command property, and the current status IsRefreshing property indicates control.
SearchBar display area the user types the text string, indicating the application button (or keyboard) to perform the search. Text property provides access to the texts, SearchButtonPressed event indicates that the button has been pressed.
SwipeView is a container control, which surround the content item, and to provide a context menu items displayed by the swipe gesture.
SearchBar display area the user types the text string, indicating the application button (or keyboard) to perform the search.
SwipeView is a container control, which surround the content item, and to provide a context menu items displayed by the swipe gesture. Each menu item consists of a SwipeItem said the property has a Command property of the implementation of ICommand when clicked item.
View setting value
CheckBox allows the user can select or choose an empty button type Boolean. IsChecked property is CheckBox state, when the state changes that will excite CheckedChanged event.
Slider allows the user to select from a continuous range using double value Minimum and Maximum properties specify.
Stepper allows the user to select from a range of double value specified with Minimum, Maximum, and the increment value Increment property.
Switch provides an "on / off" switch in the form, to allow the user to select a Boolean value. IsToggled property is state of the switch, when the state changes that will excite Toggled event.
DatePicker allows the user to select a date picker date internet. Use "MinimumDate" and "MaximumDate" property allows the date range. Date attributes are selected date, when the property changes, the event will inspire DateSelected.
TimePicker platform allows users to select time selection time. Time attribute is selected time. An application can monitor changes in the Time property by installing PropertyChanged event handler.
View edit text for
these two classes derived from InputView class that defines Keyboard properties.
View indicates activity
ActivityIndicator uses animation to show that applications to participate in a long period of activity, without providing any indication of progress. IsRunning control the animation property.
The progress bar
ProgressBar uses animation to show the application is lengthy activities. The Progress property is set to a value between 0 and 1, to indicate progress.
View displays a collection of
CarouselView displays a scrollable list of data items. The ItemsSource property to a collection of objects, and ItemTemplate property to describe how to set these items DataTemplate objects formats. CurrentItemChanged event indicates that the currently displayed items has changed, as the latter provides CurrentItem property.
CollectionView will use a different layout specification display a scrollable list of selectable data items. It is designed for the ListView provide more flexible, higher-performance alternative. The ItemsSource property to a collection of objects, and ItemTemplate property to describe how to set these items DataTemplate objects formats. SelectionChanged event indication has been selected, this option is available as SelectedItem property.
IndicatorView shows the number of items CarouselView. IndicatorView CarouselView.IndicatorView property to the object to display CarouselView indicator.
ItemsView derived from ListView and displays a scrollable list of selectable data items. The ItemsSource property to a collection of objects, and ItemTemplate property to describe how to set these items DataTemplate objects formats. ItemSelected event indication has been selected, this option is available as SelectedItem property.
Picker
Picker displays the selected item in a list of text strings, and allows you to select the item when clicking on the view. Items property to the list of strings, or ItemsSource property to a collection of objects. When you select items that will excite the SelectedIndexChanged event.
Having a list of selectable display TableView header Cell lines types and sub-headings. The Root object TableRoot property type, and the object to TableSection TableRoot. Each set is TableSection Cell objects.
Cell
TextCell displays a text string of one or two. Text property set and (optionally) the Detail attribute to the text string.
ImageCell display the same information provided TextCell comprises a bitmap, the Source attribute.
SwitchCell Text property having set containing text, and the initial opening using Boolean attribute set On / off switch. On the attribute change notification process OnChanged event.
Label property EntryCell defined, for identifying the cells in a single row and editable text Text property. Completed event processing to input the user has completed the text notified.

 

 

Published 17 original articles · won praise 1 · views 4756

Guess you like

Origin blog.csdn.net/hb_ljj/article/details/104876705