Show / Hide Table of Contents

Class EdgeExtensions

Provides some extension methods for the Edge enum.

Inheritance
System.Object
EdgeExtensions
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public static class EdgeExtensions

Methods

View Source

IsHorizontal(Edge)

Checks if an edge is horizontal (Top or Bottom).

Declaration
public static bool IsHorizontal(this Edge edge)
Parameters
Type Name Description
Edge edge

The edge to check.

Returns
Type Description
System.Boolean

True if the edge is horizontal.

View Source

IsVertical(Edge)

Checks if an edge is vertical (Left or Right).

Declaration
public static bool IsVertical(this Edge edge)
Parameters
Type Name Description
Edge edge

The edge to check.

Returns
Type Description
System.Boolean

True if the edge is vertical.

  • View Source
Back to top Generated by DocFX