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
Datei anzeigen Open project: Esri/arcgis-portalviewer-dotnet

Public Properties

Property 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

Public Methods

Method Description
GalleryPreviewControl ( ) : System

Initializes a new instance of the GalleryPreviewControl class.

Protected Methods

Method 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

Method 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 method

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.
return Windows.Foundation.Size

GalleryPreviewControl() public method

Initializes a new instance of the GalleryPreviewControl class.
public GalleryPreviewControl ( ) : System
return System

MeasureOverride() protected method

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.
return Windows.Foundation.Size

Property Details

ColumnWidthProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml ColumnWidthProperty
return Windows.UI.Xaml.DependencyProperty

ItemTemplateProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml ItemTemplateProperty
return Windows.UI.Xaml.DependencyProperty

ItemsSourceProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml ItemsSourceProperty
return Windows.UI.Xaml.DependencyProperty

LiveTileItemTemplateProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml LiveTileItemTemplateProperty
return Windows.UI.Xaml.DependencyProperty

MaxColumnCountProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml MaxColumnCountProperty
return Windows.UI.Xaml.DependencyProperty

MoreTemplateProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml MoreTemplateProperty
return Windows.UI.Xaml.DependencyProperty

RowHeightProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml RowHeightProperty
return Windows.UI.Xaml.DependencyProperty

currentColumnCount public_oe property

public int currentColumnCount
return int

currentRowCount public_oe property

public int currentRowCount
return int