'Declaration <ExtensionAttribute()> Public Shared Function GetRoot( _ ByVal element As ILayoutElement _ ) As ILayoutRoot
'Usage Dim element As ILayoutElement Dim value As ILayoutRoot value = Extensions.GetRoot(element)
[Extension()] public static ILayoutRoot GetRoot( ILayoutElement element )
Parameters
- element
- The ILayoutElement whose root will be returned. If element is root, element itself is returned.
Return Value
The root of the specified ILayoutElement.