maui-linux/Xamarin.Forms.Platform.WPF/IVisualElementRenderer.cs

24 строки
529 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace Xamarin.Forms.Platform.WPF
{
public interface IVisualElementRenderer : IRegisterable, IDisposable
{
FrameworkElement GetNativeElement();
VisualElement Element { get; }
event EventHandler<VisualElementChangedEventArgs> ElementChanged;
SizeRequest GetDesiredSize(double widthConstraint, double heightConstraint);
void SetElement(VisualElement element);
}
}