Class PointerDirectionExtensions
Pointer direction extensions.
Inherited Members
Namespace: Forms9Patch
Assembly: Forms9Patch.dll
Syntax
public static class PointerDirectionExtensions
Methods
DownAllowed(PointerDirection)
Determines if a pointer is allowed to down.
Declaration
public static bool DownAllowed(this PointerDirection dir)
Parameters
Type | Name | Description |
---|---|---|
PointerDirection | dir | Dir. |
Returns
Type | Description |
---|---|
Boolean |
|
IsHorizontal(PointerDirection)
Determines if pointer direction is horizontal.
Declaration
public static bool IsHorizontal(this PointerDirection dir)
Parameters
Type | Name | Description |
---|---|---|
PointerDirection | dir | Dir. |
Returns
Type | Description |
---|---|
Boolean |
|
IsVertical(PointerDirection)
Determines if pointer direction is vertical.
Declaration
public static bool IsVertical(this PointerDirection dir)
Parameters
Type | Name | Description |
---|---|---|
PointerDirection | dir | Dir. |
Returns
Type | Description |
---|---|
Boolean |
|
LeftAllowed(PointerDirection)
Determines if a pointer is allowed to point left.
Declaration
public static bool LeftAllowed(this PointerDirection dir)
Parameters
Type | Name | Description |
---|---|---|
PointerDirection | dir | Dir. |
Returns
Type | Description |
---|---|
Boolean |
|
RightAllowed(PointerDirection)
Determines if a pointer is allowed to point right.
Declaration
public static bool RightAllowed(this PointerDirection dir)
Parameters
Type | Name | Description |
---|---|---|
PointerDirection | dir | Dir. |
Returns
Type | Description |
---|---|
Boolean |
|
UpAllowed(PointerDirection)
Determines if a pointer is allowed to point up.
Declaration
public static bool UpAllowed(this PointerDirection dir)
Parameters
Type | Name | Description |
---|---|---|
PointerDirection | dir | Dir. |
Returns
Type | Description |
---|---|
Boolean |
|