Show / Hide Table of Contents

Class SizeExtensions

Provides extension methods for the System.Windows.Size structure.

Inheritance
System.Object
SizeExtensions
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.Extensions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public static class SizeExtensions

Methods

View Source

IsClose(Size, Size)

Checks if the System.Windows.Size structure is close to another System.Windows.Size structure.

Declaration
public static bool IsClose(this Size size, Size other)
Parameters
Type Name Description
System.Windows.Size size

The first System.Windows.Size structure to compare.

System.Windows.Size other

The other System.Windows.Size structure to compare.

Returns
Type Description
System.Boolean

A value indicating if the two System.Windows.Sizes are close to each other.

  • View Source
Back to top Generated by DocFX