Class SvgUnitConverter
Inherited Members
System.ComponentModel.TypeConverter.ConvertFrom(System.Object)
System.ComponentModel.TypeConverter.ConvertToInvariantString(System.Object)
System.ComponentModel.TypeConverter.ConvertToString(System.ComponentModel.ITypeDescriptorContext, System.Globalization.CultureInfo, System.Object)
System.ComponentModel.TypeConverter.ConvertToString(System.Object)
System.ComponentModel.TypeConverter.GetProperties(System.ComponentModel.ITypeDescriptorContext, System.Object)
System.ComponentModel.TypeConverter.GetProperties(System.ComponentModel.ITypeDescriptorContext, System.Object, System.Attribute[])
System.ComponentModel.TypeConverter.GetPropertiesSupported(System.ComponentModel.ITypeDescriptorContext)
System.ComponentModel.TypeConverter.GetStandardValues()
System.ComponentModel.TypeConverter.GetStandardValuesExclusive()
System.ComponentModel.TypeConverter.GetStandardValuesSupported()
System.ComponentModel.TypeConverter.IsValid(System.ComponentModel.ITypeDescriptorContext, System.Object)
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Svg
Assembly: Svg.dll
Syntax
public sealed class SvgUnitConverter : TypeConverter
Methods
| Improve this Doc View SourceCanConvertFrom(ITypeDescriptorContext, Type)
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.ComponentModel.ITypeDescriptorContext | context | |
| Type | sourceType |
Returns
| Type | Description |
|---|---|
| Boolean |
Overrides
| Improve this Doc View SourceCanConvertTo(ITypeDescriptorContext, Type)
Declaration
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.ComponentModel.ITypeDescriptorContext | context | |
| Type | destinationType |
Returns
| Type | Description |
|---|---|
| Boolean |
Overrides
System.ComponentModel.TypeConverter.CanConvertTo(System.ComponentModel.ITypeDescriptorContext, System.Type)
|
Improve this Doc
View Source
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.ComponentModel.ITypeDescriptorContext | context | |
| CultureInfo | culture | |
| Object | value |
Returns
| Type | Description |
|---|---|
| Object |
Overrides
| Improve this Doc View SourceConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)
Declaration
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.ComponentModel.ITypeDescriptorContext | context | |
| CultureInfo | culture | |
| Object | value | |
| Type | destinationType |
Returns
| Type | Description |
|---|---|
| Object |
Overrides
| Improve this Doc View SourceParse(ReadOnlySpan<Char>)
Declaration
public static SvgUnit Parse(ReadOnlySpan<char> unit)
Parameters
| Type | Name | Description |
|---|---|---|
| ReadOnlySpan<System.Char> | unit |
Returns
| Type | Description |
|---|---|
| SvgUnit |