UGrokItApiForms.UgiFormsUtil Class Reference
Overview
Utility functions for use in Xamarin.Forms apps
Class Methods | |
static void | LogViewTree (Element root, string message="") |
Log a tree of visual elements (for debugging) More... | |
static void | LogViewParents (Element e, string message="") |
Log the chain of visual parents of an element More... | |
static T | GetParentOfType< T > (Element e) |
Get the first visual parent of a given type More... | |
static Rectangle | GetAbsoluteBounds (VisualElement e) |
Gets the absolute bounds of a visual element More... | |
Instance Method Documentation
◆ LogViewTree()
|
inlinestatic |
Log a tree of visual elements (for debugging)
- Parameters
-
root Element to start at message Banner essage
◆ LogViewParents()
|
inlinestatic |
Log the chain of visual parents of an element
- Parameters
-
e Element to start from message Banner essage
◆ GetParentOfType< T >()
|
inlinestatic |
Get the first visual parent of a given type
- Returns
- The parent of the given type.
- Parameters
-
e Element to start from
- Template Parameters
-
T Parent type to look for.
- Type Constraints
-
T : Element
◆ GetAbsoluteBounds()
|
inlinestatic |
Gets the absolute bounds of a visual element
- Returns
- The absolute bounds of the element
- Parameters
-
e The visual element to get the bounds of
Copyright © 2012-2017 U Grok It, Inc. connect@UGrokIt.com U Grok It and the U Grok It logo are registered trademarks of U Grok It, Inc. All other trademarks and copyrights are the property of their respective owners |