Property | Type | Description |
---|
Method | Description | |
---|---|---|
GetFieldEditor ( |
Gets the field editor required for the specified control. When you are embedding an Eto control inside a native NSWindow, certain events for the TextBox and similar controls may not fire as they are handled through a custom field editor. You must wire up your native NSWindowDelegate to handle windowWillReturnFieldEditor:toObject: and call this method with the handle of the client object. |
|
ToEto ( this view ) : |
Wraps the specified view to an Eto control that can be used directly in Eto.Forms code.
|
|
ToEtoWindow ( this window ) : |
Wraps the specified Cocoa window in an Eto control so it can be used as a parent when showing dialogs, etc.
|
|
ToNative ( this control, bool attach = false ) : MonoMac.AppKit.NSView |
Gets the native Mac NSView that contains the Eto.Forms control. Note for some controls, this will not be the 'main' native control. For example, a GridView on OS X will return a NSScrollView instead of a NSTableView, since the table view itself does not scroll. When you intend on using the control inside an existing native application, set attach to true so that it can prepare for attaching to the native application by sending OnPreLoad/Load/LoadComplete events. |
|
ToNative ( this window ) : |
Gets the native NSWindow from a Window
|
public static GetFieldEditor ( |
||
clientHandle | Handle to the client object from the 2nd parameter of windowWillReturnFieldEditor:toObject: | |
return |
public static ToEto ( this view ) : |
||
view | this | Native control to wrap. |
return |
public static ToEtoWindow ( this window ) : |
||
window | this | Cocoa Window to wrap. |
return |
public static ToNative ( this control, bool attach = false ) : MonoMac.AppKit.NSView | ||
control | this | Control to get the native control for. |
attach | bool | If set to |
return | MonoMac.AppKit.NSView |
public static ToNative ( this window ) : |
||
window | this | Eto window object to get the native window handle from. |
return |