Name

OpacityConverter

Synopsis

This System.ComponentModel.TypeConverter can convert from an opacity value to a string. It is used in serialization and design-time scenarios and should not normally be called directly from your code.


public class OpacityConverter : System.ComponentModel.TypeConverter {

// Public Constructors

   public OpacityConverter();

// Public Instance Methods

   public override bool CanConvertFrom( System.ComponentModel.ITypeDescriptorContext context, 

        Type sourceType);  // 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 OpacityConverter

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.