Пример #1
0
 static int GetContentChildCount(ContentViewHandler contentViewHandler)
 {
     if (contentViewHandler.PlatformView.GetChildAt(0) is LayoutViewGroup childLayoutViewGroup)
     {
         return(childLayoutViewGroup.ChildCount);
     }
     else
     {
         return(0);
     }
 }
Пример #2
0
 static int GetContentChildCount(ContentViewHandler contentViewHandler)
 {
     if (contentViewHandler.PlatformView.Children[0] is LayoutPanel childLayoutPanel)
     {
         return(childLayoutPanel.Children.Count);
     }
     else
     {
         return(0);
     }
 }
Пример #3
0
		static int GetChildCount(ContentViewHandler contentViewHandler) =>
			contentViewHandler.PlatformView.ChildCount;
Пример #4
0
		static View GetChild(ContentViewHandler contentViewHandler, int index = 0) =>
			contentViewHandler.PlatformView.GetChildAt(index);
Пример #5
0
 static int GetChildCount(ContentViewHandler contentViewHandler) =>
 contentViewHandler.PlatformView.Subviews.Length;
Пример #6
0
 static UIView GetChild(ContentViewHandler contentViewHandler, int index = 0) =>
 contentViewHandler.PlatformView.Subviews[index];
Пример #7
0
 static int GetChildCount(ContentViewHandler contentViewHandler)
 {
     return(contentViewHandler.PlatformView.ChildCount);
 }
Пример #8
0
 static UIElement GetChild(ContentViewHandler contentViewHandler, int index = 0) =>
 contentViewHandler.PlatformView.Children[index];
Пример #9
0
 static int GetChildCount(ContentViewHandler contentViewHandler)
 {
     return(contentViewHandler.PlatformView.Subviews.Length);
 }