语言

SkinIDTypeConverter.GetStandardValues(ITypeDescriptorContext) 方法

定义

返回一组 SkinID 对象,这些对象可以应用于由给定格式上下文表示的控件。

public:
 override System::ComponentModel::TypeConverter::StandardValuesCollection ^ GetStandardValues(System::ComponentModel::ITypeDescriptorContext ^ context);
public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues(System.ComponentModel.ITypeDescriptorContext context);
override this.GetStandardValues : System.ComponentModel.ITypeDescriptorContext -> System.ComponentModel.TypeConverter.StandardValuesCollection
Public Overrides Function GetStandardValues (context As ITypeDescriptorContext) As TypeConverter.StandardValuesCollection

参数

context
ITypeDescriptorContext

提供 ITypeDescriptorContext 表示所设计的控件的格式上下文。 context 或属性 context 可以是 null.

返回

TypeConverter.StandardValuesCollection一个包含一组SkinID对象;否则,null如果控件不支持皮肤。

适用于

另请参阅