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

RectExtensions Class

Summary

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

Syntax

public static class RectExtensions

Methods

Name Value Summary
FromNative(Rect) Drawing.Rectangle
Converts a Rect to a System.Drawing.Rectangle.
static
FromNative(Rect) Drawing.RectangleF
Converts a Point to a System.Drawing.RectangleF.
static
FromNative(Rect) Drawing.RectangleF
Converts a Point to a System.Drawing.RectangleF.
static
FromNative(Rect) Drawing.RectangleF
Converts a Point to a System.Drawing.RectangleF.
static
FromNative(RectF) Drawing.RectangleF
Converts a RectF to a System.Drawing.RectangleF.
static
ToNative(Drawing.Rectangle) Rect
Convert a System.Drawing.Rectangle to the android native Rect.
static
ToNative(Drawing.Rectangle) Rect
Convert a System.Drawing.Rectangle to the android native Rect.
static
ToNative(Drawing.Rectangle) Rect
Convert a System.Drawing.Rectangle to the android native Rect.
static
ToNative(Drawing.Rectangle) Rect
Convert a System.Drawing.Rectangle to the android native Rect.
static
ToNative(Drawing.RectangleF) RectF
Convert a System.Drawing.RectangleF to the android native RectF.
static
ToNative(Drawing.RectangleF) Rect
Convert a System.Drawing.RectangleF to the android native Rect.
static
ToNative(Drawing.RectangleF) Rect
Convert a System.Drawing.RectangleF to the android native Rect.
static
ToNative(Drawing.RectangleF) Rect
Convert a System.Drawing.RectangleF to the android native Rect.
static

Extension Methods

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