Table of Contents

Class RectValueSerializer

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

RectValueSerializer - ValueSerializer class for converting instances of strings to and from Rect instances This is used by the MarkupWriter class.

public class RectValueSerializer : ValueSerializer
Inheritance
RectValueSerializer

Methods

CanConvertFromString(string, IValueSerializerContext)

Returns true.

CanConvertToString(object, IValueSerializerContext)

Returns true if the given value can be converted into a string

ConvertFromString(string, IValueSerializerContext)

Converts a string into a Rect.

ConvertToString(object, IValueSerializerContext)

Converts the value into a string.