Pusťme se do toho
Začněte prosím zadáním svého pracovního nebo školního účtu.
A control that contains other controls and shows a set of data.
A Gallery control can show multiple records from a data source, and each record can contain multiple types of data. For example, a Gallery control can show multiple contacts with each item showing contact information that includes a name, an address, and a phone number for each contact. Each data field appears in a separate control within the Gallery control, and you can configure those controls in its template. The template appears as the first item inside the gallery, on the left edge of a Gallery control in horizontal/landscape orientation and at the top of a Gallery control in vertical/portrait orientation. Any changes that you make in the template are reflected throughout the Gallery control.
Predefined Gallery templates for showing images, text as well as a gallery with variable height items are available.
Default – The initial value of a control before it is changed by the user.
Items – The source of data that appears in a control such as a gallery, a list, or a chart.
Selected – The selected item.
AllItems – All items in a gallery, including additional control values that are a part of the gallery's template.
BorderColor – The color of a control's border.
BorderStyle – Whether a control's border is Solid, Dashed, Dotted, or None.
BorderThickness – The thickness of a control's border.
Disabled – Whether the user can interact with the control.
Fill – The background color of a control.
Height – The distance between a control's top and bottom edges.
Layout – Whether the user scrolls through a gallery or adjusts a slider top to bottom (Vertical) or left to right (Horizontal).
NavigationStep – How far a gallery scrolls if its ShowNavigation property is set to true and the user selects a navigation arrow at either end of that gallery.
ShowNavigation – Whether an arrow appears at each end of a gallery so that a user can scroll through the items in the gallery by clicking or tapping an arrow.
ShowScrollbar – Whether a scrollbar appears when the user hovers over a gallery.
Snap – Whether, when a user scrolls through a gallery, it automatically snaps so that the next item appears in full.
TemplateFill – The background color of a gallery.
TemplatePadding – The distance between items in a gallery.
TemplateSize – The height of the template for a gallery in vertical/portrait orientation or the width of the template for a gallery in horizontal/landscape orientation.
Transition – The visual effect (Pop, Push, or None) when the user hovers over an item in a gallery.
Visible – Whether a control appears or is hidden.
Width – The distance between a control's left and right edges.
WrapCount – Number of items shown per row or column based on horizontal or vertical layout.
X – The distance between the left edge of a control and the left edge of its parent container (screen if no parent container).
Y – The distance between the top edge of a control and the top edge of the parent container (screen if no parent container).