The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

SizeExtensions Class

Summary

A set of extension methods which will convert between System.Drawing size's and a native size classes.
Namespace
Splat
Base Types
  • object
graph BT Type-->Base0["object"] Type["SizeExtensions"] class Type type-node

Syntax

public static class SizeExtensions

Methods

Name Value Summary
FromNative(Size) Drawing.SizeF
Converts a Size to a System.Drawing.SizeF.
static
FromNative(Size) Drawing.SizeF
Converts a Size to a System.Drawing.SizeF.
static
FromNative(Size) Drawing.SizeF
Converts a Size to a System.Drawing.SizeF.
static
ToNative(Drawing.Size) Size
Convert a System.Drawing.Size to the android native Size.
static
ToNative(Drawing.Size) Size
Convert a System.Drawing.Size to the android native Size.
static
ToNative(Drawing.Size) Size
Convert a System.Drawing.Size to the android native Size.
static
ToNative(Drawing.SizeF) Size
Convert a System.Drawing.SizeF to the android native Size.
static
ToNative(Drawing.SizeF) Size
Convert a System.Drawing.SizeF to the android native Size.
static
ToNative(Drawing.SizeF) Size
Convert a System.Drawing.SizeF to the android native Size.
static

Extension Methods

Name Value Summary
InvokeViewModelAction<T>(Action<T>) object
This is a thing I lifted from Prism.