MtxVecBytesConverter Class

Source: MtxVecConverter.cs · Assembly: Dew.Math
TypeConverterMtxVecBytesConverter

public class MtxVecBytesConverter<T> : TypeConverter

Generic converter for types implementing Dew.Math.IMtxVecSerializable. Serializes to/from System.Byte[] and shows a concise, read-only preview string in the PropertyGrid. Uses ComplexValues / IntegerValues for known Dew types.

Methods

NameDescription
CanConvertFromReturns true if converting from System.Byte[].
CanConvertToReturns true if converting to System.Byte[] or System.String.
ConvertFromReconstructs the instance from a System.Byte[] blob.
ConvertToReturns a preview string for UI display or a byte[] for designer serialization.
GetPropertiesSupportedPrevents expansion in PropertyGrid.