Class LayoutOptionsExtensions
Layout options extensions.
Inherited Members
Namespace: Forms9Patch
Assembly: Forms9Patch.dll
Syntax
public static class LayoutOptionsExtensions
Methods
IsEqualTo(LayoutOptions, LayoutOptions)
Determines if two LayoutOptinos are the same
Declaration
public static bool IsEqualTo(this LayoutOptions o1, LayoutOptions o2)
Parameters
| Type | Name | Description |
|---|---|---|
| LayoutOptions | o1 | |
| LayoutOptions | o2 |
Returns
| Type | Description |
|---|---|
| Boolean |
ToString(LayoutOptions)
Because this should have been done by Xamarin
Declaration
public static string ToString(this LayoutOptions layoutOptions)
Parameters
| Type | Name | Description |
|---|---|---|
| LayoutOptions | layoutOptions |
Returns
| Type | Description |
|---|---|
| String |
ToTextAlignment(LayoutOptions)
Tos the text alignment.
Declaration
public static TextAlignment ToTextAlignment(this LayoutOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| LayoutOptions | options | Options. |
Returns
| Type | Description |
|---|---|
| TextAlignment | The text alignment. |