Class WpfSizeExtensions
Extensions for the Size class for WPF.
Inherited Members
Namespace: TheXDS.MCART.Types.Extensions
Assembly: MCART.Wpf.Common.dll
Syntax
public static class WpfSizeExtensions
Methods
| Edit this page View SourceToMcartSize(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. |
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. |