blob: a7ac0d1a8aca5477dd8a7bb240fe4fcb3fe79989 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
using System;
using AppKit;
using Xamarin.PropertyEditing.ViewModels;
namespace Xamarin.PropertyEditing.Mac
{
internal interface IEditorView
: INativeContainer
{
EditorViewModel ViewModel { get; set; }
bool NeedsPropertyButton { get; }
bool IsDynamicallySized { get; }
nint GetHeight (EditorViewModel vm);
}
internal interface IValueView
: INativeContainer
{
void SetValue (object value);
}
internal interface INativeContainer
{
/// <summary>
/// Gets the native view.
/// </summary>
/// <value>Generally just `this`.</value>
NSView NativeView { get; }
}
}
|