OpacityConverter OpacityConverter OpacityConverter Constructor

定义

初始化 OpacityConverter 类的实例。Initializes an instance of the OpacityConverter class.

public:
 OpacityConverter();
public OpacityConverter ();
Public Sub New ()

注解

这是编译器提供的无参数的构造函数。This is the parameterless constructor supplied by the compiler.

通常, 您不会直接创建的实例OpacityConverterTypically, you do not directly create an instance of an OpacityConverter. 相反, 调用GetConverter TypeDescriptor类的方法。Instead, call the GetConverter method of TypeDescriptor class. 有关详细信息, 请参阅TypeConverter基类中的代码示例。For more information, see the code examples in the TypeConverter base class.

适用于

另请参阅