Table of Contents

Class Byte4TypeConverter

Namespace
Microsoft.Xna.Framework.Design
Assembly
MonoGame.Framework.dll

Provides a unified way of converting Byte4 value to other types, as well as for accessing standard values and subproperties.

public sealed class Byte4TypeConverter : TypeConverter
Inheritance
Byte4TypeConverter
Inherited Members

Constructors

Byte4TypeConverter()

public Byte4TypeConverter()

Methods

CanConvertFrom(ITypeDescriptorContext, Type)

public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)

Parameters

context ITypeDescriptorContext
sourceType Type

Returns

bool

CanConvertTo(ITypeDescriptorContext, Type)

public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)

Parameters

context ITypeDescriptorContext
destinationType Type

Returns

bool

ConvertFrom(ITypeDescriptorContext, CultureInfo, object)

public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)

Parameters

context ITypeDescriptorContext
culture CultureInfo
value object

Returns

object

ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)

public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)

Parameters

context ITypeDescriptorContext
culture CultureInfo
value object
destinationType Type

Returns

object