C# Class UwpHelpers.Controls.ListControls.AdaptiveGridView

A GridView that lets you set a MinWidth and MinHeight for items you want to restrict to an aspect ration, but still resize
Inheritance: Windows.UI.Xaml.Controls.GridView
Show file Open project: LanceMcCarthy/UwpProjects

Public Properties

Property Type Description
HasItemsProperty Windows.UI.Xaml.DependencyProperty
MinItemHeightProperty Windows.UI.Xaml.DependencyProperty
MinimumItemWidthProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
AdaptiveGridView ( ) : System

Protected Methods

Method Description
ArrangeOverride ( Size finalSize ) : Size
OnItemsChanged ( object e ) : void

Private Methods

Method Description
AdaptiveGridView_Loaded ( object sender, RoutedEventArgs e ) : void

Method Details

AdaptiveGridView() public method

public AdaptiveGridView ( ) : System
return System

ArrangeOverride() protected method

protected ArrangeOverride ( Size finalSize ) : Size
finalSize Windows.Foundation.Size
return Windows.Foundation.Size

OnItemsChanged() protected method

protected OnItemsChanged ( object e ) : void
e object
return void

Property Details

HasItemsProperty public static property

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

MinItemHeightProperty public static property

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

MinimumItemWidthProperty public static property

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