iOS Guides | Samples

UIKit.IUILayoutSupport

Interface representing the required methods (if any) of the protocol UILayoutSupport.

See Also: IUILayoutSupport

Syntax

[Foundation.Protocol(Name="UILayoutSupport", WrapperType=typeof(UIKit.UILayoutSupportWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="length", IsProperty=true, IsRequired=true, IsStatic=false, Name="Length", PropertyType=typeof(System.nfloat), Selector="length")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="topAnchor", IsProperty=true, IsRequired=false, IsStatic=false, Name="TopAnchor", PropertyType=typeof(UIKit.NSLayoutYAxisAnchor), Selector="topAnchor")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="bottomAnchor", IsProperty=true, IsRequired=false, IsStatic=false, Name="BottomAnchor", PropertyType=typeof(UIKit.NSLayoutYAxisAnchor), Selector="bottomAnchor")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="heightAnchor", IsProperty=true, IsRequired=false, IsStatic=false, Name="HeightAnchor", PropertyType=typeof(UIKit.NSLayoutDimension), Selector="heightAnchor")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUILayoutSupport : INativeObject, IDisposable

Remarks

This interface contains the required methods (if any) from the protocol defined by UILayoutSupport.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the UILayoutSupport protocol.

Optional methods (if any) are provided by the UILayoutSupport_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Requirements

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

The members of UIKit.IUILayoutSupport are listed below.

Public Properties

[read-only]
Lengthnfloat. Gets the length of the part of a view controller's area that is covered with see-through UIKit bars.