зеркало из https://github.com/DeGsoft/maui-linux.git
20 строки
579 B
C#
20 строки
579 B
C#
using System.ComponentModel;
|
|
using System.Runtime.CompilerServices;
|
|
|
|
namespace Xamarin.Forms
|
|
{
|
|
public sealed class ChildGestureRecognizer : IGestureRecognizer
|
|
{
|
|
private IGestureRecognizer _gestureRecognizer;
|
|
public IGestureRecognizer GestureRecognizer
|
|
{
|
|
get => _gestureRecognizer;
|
|
set { _gestureRecognizer = value; OnPropertyChanged(); }
|
|
}
|
|
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
|
|
public void OnPropertyChanged([CallerMemberName]string propertyName = "") =>
|
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
|
}
|
|
} |