Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Drawing.SizeConverter Class Reference

Public Member Functions

override bool CanConvertFrom (ITypeDescriptorContext? context, Type sourceType)
 
override bool CanConvertTo (ITypeDescriptorContext? context, Type? destinationType)
 
override? object ConvertFrom (ITypeDescriptorContext? context, CultureInfo? culture, object value)
 
override? object ConvertTo (ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
 
override object CreateInstance (ITypeDescriptorContext? context, IDictionary propertyValues)
 
override bool GetCreateInstanceSupported (ITypeDescriptorContext? context)
 
override PropertyDescriptorCollection GetProperties (ITypeDescriptorContext? context, object value, Attribute[]? attributes)
 
override bool GetPropertiesSupported (ITypeDescriptorContext? context)
 
bool CanConvertFrom (Type sourceType)
 
bool CanConvertTo (Type destinationType)
 
object? ConvertFrom (object value)
 
object? ConvertFromInvariantString (string text)
 
object? ConvertFromInvariantString (ITypeDescriptorContext? context, string text)
 
object? ConvertFromString (string text)
 
object? ConvertFromString (ITypeDescriptorContext? context, string text)
 
object? ConvertFromString (ITypeDescriptorContext? context, CultureInfo? culture, string text)
 
object? ConvertTo (object? value, Type destinationType)
 
stringConvertToInvariantString (object? value)
 
stringConvertToInvariantString (ITypeDescriptorContext? context, object? value)
 
stringConvertToString (object? value)
 
stringConvertToString (ITypeDescriptorContext? context, object? value)
 
stringConvertToString (ITypeDescriptorContext? context, CultureInfo? culture, object? value)
 
object? CreateInstance (IDictionary propertyValues)
 
bool GetCreateInstanceSupported ()
 
PropertyDescriptorCollection? GetProperties (object value)
 
PropertyDescriptorCollection? GetProperties (ITypeDescriptorContext? context, object value)
 
bool GetPropertiesSupported ()
 
ICollectionGetStandardValues ()
 
virtual ? StandardValuesCollection GetStandardValues (ITypeDescriptorContext? context)
 
bool GetStandardValuesExclusive ()
 
virtual bool GetStandardValuesExclusive (ITypeDescriptorContext? context)
 
bool GetStandardValuesSupported ()
 
virtual bool GetStandardValuesSupported (ITypeDescriptorContext? context)
 
bool IsValid (object value)
 
virtual bool IsValid (ITypeDescriptorContext? context, object value)
 

Protected Member Functions

Exception GetConvertFromException (object? value)
 
Exception GetConvertToException (object? value, Type destinationType)
 
PropertyDescriptorCollection SortProperties (PropertyDescriptorCollection props, string[] names)
 

Static Private Attributes

static readonly string[] s_propertySort = new string[2] { "Width", "Height" }
 

Detailed Description

Definition at line 10 of file SizeConverter.cs.


The documentation for this class was generated from the following file: