IUILayoutSupport Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides the Length property, which specifies the distance, in points, from the nearest screen edge to the guide.
[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.Runtime.InteropServices.NFloat), Selector="length")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="topAnchor", IsProperty=true, IsRequired=true, IsStatic=false, Name="TopAnchor", PropertyType=typeof(UIKit.NSLayoutYAxisAnchor), Selector="topAnchor")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="bottomAnchor", IsProperty=true, IsRequired=true, IsStatic=false, Name="BottomAnchor", PropertyType=typeof(UIKit.NSLayoutYAxisAnchor), Selector="bottomAnchor")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="heightAnchor", IsProperty=true, IsRequired=true, IsStatic=false, Name="HeightAnchor", PropertyType=typeof(UIKit.NSLayoutDimension), Selector="heightAnchor")]
public interface IUILayoutSupport : IDisposable, ObjCRuntime.INativeObject
[<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.Runtime.InteropServices.NFloat), Selector="length")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="topAnchor", IsProperty=true, IsRequired=true, IsStatic=false, Name="TopAnchor", PropertyType=typeof(UIKit.NSLayoutYAxisAnchor), Selector="topAnchor")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="bottomAnchor", IsProperty=true, IsRequired=true, IsStatic=false, Name="BottomAnchor", PropertyType=typeof(UIKit.NSLayoutYAxisAnchor), Selector="bottomAnchor")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="heightAnchor", IsProperty=true, IsRequired=true, IsStatic=false, Name="HeightAnchor", PropertyType=typeof(UIKit.NSLayoutDimension), Selector="heightAnchor")>]
type IUILayoutSupport = interface
interface INativeObject
interface IDisposable
- Derived
- Attributes
- Implements
Properties
| Name | Description |
|---|---|
| BottomAnchor |
Returns the bottom edge of the guide |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
| HeightAnchor |
Returns the height of the guide. |
| Length |
Gets the length of the part of a view controller's area that is covered with see-through UIKit bars. |
| TopAnchor |
Returns the top edge of the guide. |
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |