Merge branch 'hotfix/#194' into develmaster
This commit is contained in:
@@ -143,6 +143,12 @@ namespace CampusAppWP8.Utility
|
||||
public static void SetElementVisibility(DependencyObject rootObj, string parentGridName, string elemName, Visibility vis, int index = 0)
|
||||
{
|
||||
List<DependencyObject> l = Utilities.GetChild(rootObj, parentGridName);
|
||||
|
||||
// hotfix: OutofRangeIndex Assert
|
||||
if (index > l.Count - 1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
Grid parentGrid = l[index] as Grid;
|
||||
FrameworkElement elem = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user