Class ViewGroup
A ViewGroup provides a class which can be a container for other controls.
Inheritance
System.Object
ViewGroup
Implements
IContainable<View>
Namespace: Tizen.UIExtensions.NUI
Assembly: Tizen.UIExtensions.NUI.dll
Syntax
public class ViewGroup : View, IContainable<View>
Remarks
This class is used as a container view for Layouts from Xamarin.Forms.Platform.Tizen framework. It is used for implementing xamarin pages and layouts.
Constructors
ViewGroup()
Initializes a new instance of the ViewGroup class.
Declaration
public ViewGroup()
Remarks
ViewGroup doesn't support replacing its children, this will be ignored.
Properties
Children
Gets list of native elements that are placed in the ViewGroup.
Declaration
public IList<View> Children { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<View> |
Methods
Add(View)
Declaration
public override void Add(View child)
Parameters
Type | Name | Description |
---|---|---|
View | child |
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Remove(View)
Declaration
public override void Remove(View child)
Parameters
Type | Name | Description |
---|---|---|
View | child |
Events
LayoutUpdated
Notifies that the layout has been updated.
Declaration
public event EventHandler<LayoutEventArgs> LayoutUpdated
Event Type
Type | Description |
---|---|
System.EventHandler<LayoutEventArgs> |
Explicit Interface Implementations
IContainable<View>.Children
Declaration
IList<View> IContainable<View>.Children { get; }
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<View> |