OutletAttribute OutletAttribute Class

Definition

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

[System.AttributeUsage(System.AttributeTargets.Property)]
public sealed class OutletAttribute : Foundation.ExportAttribute
type OutletAttribute = class
    inherit ExportAttribute
Inheritance
OutletAttributeOutletAttribute
Attributes

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.


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

Constructors

OutletAttribute() OutletAttribute()

Default constructor

OutletAttribute(String) OutletAttribute(String)

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

Properties

ArgumentSemantic ArgumentSemantic

The semantics for object ownership on setter properties or methods.

(Inherited from ExportAttribute)
IsVariadic IsVariadic Inherited from ExportAttribute
Selector Selector

The name of the C# selector if specified, or null if it is derived from the property name or method.

(Inherited from ExportAttribute)

Methods

ToGetter(PropertyInfo) ToGetter(PropertyInfo) Inherited from ExportAttribute
ToSetter(PropertyInfo) ToSetter(PropertyInfo) Inherited from ExportAttribute

Applies to