Table of Contents

Class SizeValueSerializer

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

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

public class SizeValueSerializer : ValueSerializer
Inheritance
SizeValueSerializer

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 Size.

ConvertToString(object, IValueSerializerContext)

Converts the value into a string.