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

See Also: OutletAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Property)]
public sealed class OutletAttribute : ExportAttribute

Remarks

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; }
	  

Requirements

Namespace: Foundation
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0