IconConverter

IconConverter

System.Drawing (system.drawing.dll) class

This class, derived from System.ComponentModel.ExpandableObjectConverter (a kind of TypeConverter ), is used to convert icons to and from other typesspecifically, it can convert to strings and byte arrays, for persistence and design-time scenarios.

 public class  IconConverter  : System.ComponentModel.ExpandableObjectConverter {  // Public Constructors  public  IconConverter  ();  // Public Instance Methods  public override bool  CanConvertFrom  (System.ComponentModel.ITypeDescriptorContext  context  ,          Type  sourceType  );  // overrides System.ComponentModel.TypeConverter  public override bool  CanConvertTo  (System.ComponentModel.ITypeDescriptorContext  context  ,         Type  destinationType  );  // overrides System.ComponentModel.TypeConverter  public override object  ConvertFrom  (System.ComponentModel.ITypeDescriptorContext  context  ,          System.Globalization.CultureInfo  culture  , object  value  );  // overrides System.ComponentModel.TypeConverter  public override object  ConvertTo  (System.ComponentModel.ITypeDescriptorContext  context  ,         System.Globalization.CultureInfo  culture  , object  value  ,          Type  destinationType  );  // overrides System.ComponentModel.TypeConverter  } 

Hierarchy

System.Object System.ComponentModel.TypeConverter System.ComponentModel.ExpandableObjectConverter IconConverter



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net