Mac Guides | Samples

MonoMac.Foundation.OutletAttribute Class

Exposes the given property as an outlet to the Objective-C world.

See Also: OutletAttribute


public sealed class OutletAttribute : ExportAttribute


This property is used to flag properties that need to be exposed as outlets to the Objective-C world. This is used both by the designer support as well connecting the managed object with the unmanaged Objective-C outlet.

C# Example

	    [Outlet ("mainWindow")]
	    UIWindows mainWindow  { get; set; }


Namespace: MonoMac.Foundation
Assembly: XamMac (in XamMac.dll)
Assembly Versions:

The members of MonoMac.Foundation.OutletAttribute are listed below.

See Also: ExportAttribute

Public Constructors

Default constructor
Links the managed property with the specified Objective-C outlet.