C# Class ArcGISPortalViewer.Controls.GalleryPreviewControl

Control used on the front page to show a limited set of items, and in case of overflow, show a live tile + more... tile.
Inheritance: Windows.UI.Xaml.Controls.Panel
Afficher le fichier Open project: Esri/arcgis-portalviewer-dotnet

Méthodes publiques

Свойство Type Description
ColumnWidthProperty Windows.UI.Xaml.DependencyProperty
ItemTemplateProperty Windows.UI.Xaml.DependencyProperty
ItemsSourceProperty Windows.UI.Xaml.DependencyProperty
LiveTileItemTemplateProperty Windows.UI.Xaml.DependencyProperty
MaxColumnCountProperty Windows.UI.Xaml.DependencyProperty
MoreTemplateProperty Windows.UI.Xaml.DependencyProperty
RowHeightProperty Windows.UI.Xaml.DependencyProperty
currentColumnCount int
currentRowCount int

Méthodes publiques

Méthode Description
GalleryPreviewControl ( ) : System

Initializes a new instance of the GalleryPreviewControl class.

Méthodes protégées

Méthode Description
ArrangeOverride ( Size finalSize ) : Size

Provides the behavior for the Arrange pass of layout. Classes can override this method to define their own Arrange pass behavior.

MeasureOverride ( Size availableSize ) : Size

Provides the behavior for the Measure pass of the layout cycle. Classes can override this method to define their own Measure pass behavior.

Private Methods

Méthode Description
CalculateRowColumnCount ( Size availableSize, int count ) : void
GalleryPreviewControl_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
OnItemsSourcePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
RebuildTable ( ) : void
ctrl_Tapped ( object sender, Windows e ) : void
livetile_Tapped ( object sender, Windows e ) : void
moreTile_Tapped ( object sender, Windows e ) : void

Method Details

ArrangeOverride() protected méthode

Provides the behavior for the Arrange pass of layout. Classes can override this method to define their own Arrange pass behavior.
protected ArrangeOverride ( Size finalSize ) : Size
finalSize Windows.Foundation.Size The final area within the parent that this object should use to arrange itself and its children.
Résultat Windows.Foundation.Size

GalleryPreviewControl() public méthode

Initializes a new instance of the GalleryPreviewControl class.
public GalleryPreviewControl ( ) : System
Résultat System

MeasureOverride() protected méthode

Provides the behavior for the Measure pass of the layout cycle. Classes can override this method to define their own Measure pass behavior.
protected MeasureOverride ( Size availableSize ) : Size
availableSize Windows.Foundation.Size The available size that this object can give to child objects. Infinity can be /// specified as a value to indicate that the object will size to whatever content is available.
Résultat Windows.Foundation.Size

Property Details

ColumnWidthProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml ColumnWidthProperty
Résultat Windows.UI.Xaml.DependencyProperty

ItemTemplateProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml ItemTemplateProperty
Résultat Windows.UI.Xaml.DependencyProperty

ItemsSourceProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml ItemsSourceProperty
Résultat Windows.UI.Xaml.DependencyProperty

LiveTileItemTemplateProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml LiveTileItemTemplateProperty
Résultat Windows.UI.Xaml.DependencyProperty

MaxColumnCountProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml MaxColumnCountProperty
Résultat Windows.UI.Xaml.DependencyProperty

MoreTemplateProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml MoreTemplateProperty
Résultat Windows.UI.Xaml.DependencyProperty

RowHeightProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml RowHeightProperty
Résultat Windows.UI.Xaml.DependencyProperty

currentColumnCount public_oe property

public int currentColumnCount
Résultat int

currentRowCount public_oe property

public int currentRowCount
Résultat int