SkinIDTypeConverter.GetStandardValues(ITypeDescriptorContext) 方法

定义

返回可以应用于用给定格式上下文表示的控件的一组 SkinID 对象。Returns a set of SkinID objects that can be applied to the control that is represented by the given format context.

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提供表示所设计控件的格式上下文的。An ITypeDescriptorContext that provides a format context that represents the control being designed. contextcontext 的属性可以为 nullcontext or properties of context can be null.

返回

TypeConverter.StandardValuesCollection

TypeConverter.StandardValuesCollection,它保存一组 SkinID 对象;否则,如果该控件不支持外观,则为 nullA TypeConverter.StandardValuesCollection that holds a set of SkinID objects; otherwise, null, if the control does not support skins.

适用于