зеркало из https://github.com/DeGsoft/maui-linux.git
28 строки
705 B
C#
28 строки
705 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
#if __MOBILE__
|
|
using NativeColor = UIKit.UIColor;
|
|
using NativeControl = UIKit.UIControl;
|
|
using NativeView = UIKit.UIView;
|
|
|
|
namespace Xamarin.Forms.Platform.iOS
|
|
#else
|
|
using NativeView = AppKit.NSView;
|
|
using NativeColor = CoreGraphics.CGColor;
|
|
using NativeControl = AppKit.NSControl;
|
|
namespace Xamarin.Forms.Platform.MacOS
|
|
#endif
|
|
{
|
|
public interface IVisualNativeElementRenderer : IVisualElementRenderer
|
|
{
|
|
event EventHandler<PropertyChangedEventArgs> ElementPropertyChanged;
|
|
event EventHandler ControlChanging;
|
|
event EventHandler ControlChanged;
|
|
|
|
NativeView Control { get; }
|
|
}
|
|
} |