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
OutletAttribute
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()

Default constructor

OutletAttribute(String)

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

Properties

ArgumentSemantic

The semantics for object ownership on setter properties or methods.

(Inherited from ExportAttribute)
IsVariadic (Inherited from ExportAttribute)
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) (Inherited from ExportAttribute)
ToSetter(PropertyInfo) (Inherited from ExportAttribute)

Applies to