Class Canvas
A Canvas provides a class which can be a container for other controls.
Implements
IContainable<EvasObject>
Inherited Members
Namespace: Tizen.UIExtensions.ElmSharp
Assembly: Tizen.UIExtensions.ElmSharp.dll
Syntax
public class Canvas : Box, IContainable<EvasObject>
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
Canvas(EvasObject)
Initializes a new instance of the Canvas class.
Declaration
public Canvas(EvasObject parent)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | parent | Parent of this instance. |
Remarks
Canvas doesn't support replacing its children, this will be ignored.
Properties
Children
Gets list of native elements that are placed in the canvas.
Declaration
public IList<EvasObject> Children { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<EvasObject> |
Methods
OnUnrealize()
Provides destruction for native element and contained elements.
Declaration
protected override void OnUnrealize()