C# Class ClassLibrary.Common.Screen

Afficher le fichier Open project: justijndepover/Soundcloudplus

Méthodes publiques

Méthode 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

Méthode Description
GetNumberOfColumns ( double screenWidth, int itemWidth, int minItemWidth ) : int
GetNumberOfRows ( double screenHeight, int itemWidth, int minItemWidth ) : int

Method Details

GetLimitItems() public static méthode

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
Résultat int

MakeResponsive() public static méthode

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
Résultat void