Created
October 1, 2013 15:10
-
-
Save deapsquatter/6779997 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using MonoMac.AppKit; | |
using MonoMac.Foundation; | |
namespace CentraStage.Mac | |
{ | |
[Register("CsTableColumn")] | |
public class CsTableColumn : NSTableColumn | |
{ | |
#region Constructors | |
// Called when created from unmanaged code | |
public CsTableColumn (IntPtr handle) : base (handle) | |
{ | |
Initialize (); | |
} | |
// Called when created directly from a XIB file | |
[Export ("initWithCoder:")] | |
public CsTableColumn (NSCoder coder) : base (coder) | |
{ | |
Initialize (); | |
} | |
// Shared initialization code | |
void Initialize () | |
{ | |
} | |
#endregion | |
public string BindingText { | |
get; | |
private set; | |
} | |
public override void SetValueForKey (NSObject value, NSString key) | |
{ | |
if (key == "bindingText") | |
BindingText = value.ToString (); | |
} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment