C# Class ClassLibrary.Common.Screen

Show file Open project: justijndepover/Soundcloudplus

Public Methods

Method Description
GetLimitItems ( double screenHeight, double screenWidth, int itemWidth, int minItemWidth, int itemHeight, int minItemHeight ) : int
MakeResponsive ( SizeChangedEventArgs e, int itemWidth, int minItemWidth, GridView gridView ) : void

Private Methods

Method Description
GetNumberOfColumns ( double screenWidth, int itemWidth, int minItemWidth ) : int
GetNumberOfRows ( double screenHeight, int itemWidth, int minItemWidth ) : int

Method Details

GetLimitItems() public static method

public static GetLimitItems ( double screenHeight, double screenWidth, int itemWidth, int minItemWidth, int itemHeight, int minItemHeight ) : int
screenHeight double
screenWidth double
itemWidth int
minItemWidth int
itemHeight int
minItemHeight int
return int

MakeResponsive() public static method

public static MakeResponsive ( SizeChangedEventArgs e, int itemWidth, int minItemWidth, GridView gridView ) : void
e Windows.UI.Xaml.SizeChangedEventArgs
itemWidth int
minItemWidth int
gridView Windows.UI.Xaml.Controls.GridView
return void