UILayoutSupport_Extensions UILayoutSupport_Extensions Class


Extension methods to the IUILayoutSupport interface to support all the methods from the UILayoutSupport protocol.

public static class UILayoutSupport_Extensions
type UILayoutSupport_Extensions = class


The extension methods for IUILayoutSupport allow developers to treat instances of the interface as having all the optional methods of the original UILayoutSupport protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.


GetBottomAnchor(IUILayoutSupport) GetBottomAnchor(IUILayoutSupport)

Returns the bottom edge of the guide

GetHeightAnchor(IUILayoutSupport) GetHeightAnchor(IUILayoutSupport)

Returns the height of the guide.

GetTopAnchor(IUILayoutSupport) GetTopAnchor(IUILayoutSupport)

Returns the top edge of the guide.

Applies to