Welcome to mirror list, hosted at ThFree Co, Russian Federation.

MockedAppKitButton.cs « Xamarin.PropertyEditing.Mac.Standalone - github.com/xamarin/Xamarin.PropertyEditing.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 81e99571d148f56755d9ce0a3080581e54ac77c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
using Foundation;
using Xamarin.PropertyEditing.Tests.MockControls;

namespace Xamarin.PropertyEditing.Mac.Standalone
{
	[Foundation.Register ("MockedAppKitButton")]
	public class MockedAppKitButton : MockedControlButton<MockNSButton>
	{
		// Called when created from unmanaged code
		public MockedAppKitButton (IntPtr handle) : base (new MockNSButton (), handle)
		{
		}

		// Called when created directly from a XIB file
		[Export ("initWithCoder:")]
		public MockedAppKitButton (NSCoder coder) : base (new MockNSButton (), coder)
		{
		}
	}
}