зеркало из https://github.com/DeGsoft/maui-linux.git
34 строки
877 B
C#
34 строки
877 B
C#
using System;
|
|
using System.ComponentModel;
|
|
using Android.Views;
|
|
using AView = Android.Views.View;
|
|
using ALayoutChangeEventArgs = Android.Views.View.LayoutChangeEventArgs;
|
|
|
|
namespace Xamarin.Forms.Platform.Android
|
|
{
|
|
public interface IVisualElementRenderer : IRegisterable, IDisposable
|
|
{
|
|
VisualElement Element { get; }
|
|
|
|
VisualElementTracker Tracker { get; }
|
|
|
|
[Obsolete("ViewGroup is obsolete as of version 2.3.5. Please use View instead.")]
|
|
ViewGroup ViewGroup { get; }
|
|
|
|
AView View { get; }
|
|
|
|
event EventHandler<VisualElementChangedEventArgs> ElementChanged;
|
|
|
|
event EventHandler<PropertyChangedEventArgs> ElementPropertyChanged;
|
|
|
|
SizeRequest GetDesiredSize(int widthConstraint, int heightConstraint);
|
|
|
|
void SetElement(VisualElement element);
|
|
|
|
void SetLabelFor(int? id);
|
|
|
|
void UpdateLayout();
|
|
|
|
event EventHandler<ALayoutChangeEventArgs> LayoutChange;
|
|
}
|
|
} |