maui-linux/System.Maui.Platform.Tizen/Renderers/IVisualElementRenderer.cs

42 строки
895 B
C#

using System;
using ElmSharp;
namespace System.Maui.Platform.Tizen
{
/// <summary>
/// Base interface for VisualElement renderer.
/// </summary>
public interface IVisualElementRenderer : IRegisterable, IDisposable
{
/// <summary>
/// Gets the VisualElement associated with this renderer.
/// </summary>
/// <value>The VisualElement.</value>
VisualElement Element
{
get;
}
/// <summary>
/// Gets the native view associated with this renderer.
/// </summary>
/// <value>The native view.</value>
EvasObject NativeView
{
get;
}
/// <summary>
/// Sets the VisualElement associated with this renderer.
/// </summary>
/// <param name="element">New element.</param>
void SetElement(VisualElement element);
SizeRequest GetDesiredSize(double widthConstraint, double heightConstraint);
void UpdateLayout();
Rect GetNativeContentGeometry();
}
}