Show / Hide Table of Contents

Class WpfSizeExtensions

Extensions for the Size class for WPF.

Inheritance
object
WpfSizeExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TheXDS.MCART.Types.Extensions
Assembly: MCART.Wpf.Common.dll
Syntax
public static class WpfSizeExtensions

Methods

| Edit this page View Source

ToMcartSize(Size)

Converts a W.Size to a Size.

Declaration
public static Size ToMcartSize(this Size size)
Parameters
Type Name Description
Size size

The W.Size to convert.

Returns
Type Description
Size

A new Size created from the specified W.Size.

| Edit this page View Source

ToSize(Size)

Converts a Size to a W.Size.

Declaration
public static Size ToSize(this Size size)
Parameters
Type Name Description
Size size

The Size to convert.

Returns
Type Description
Size

A new W.Size created from the specified Size.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX