SkinIDTypeConverter.GetStandardValues(ITypeDescriptorContext) 方法
定义
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. context 或 context 的属性可以为 null。context or properties of context can be null.
返回
TypeConverter.StandardValuesCollection,它保存一组 SkinID 对象;否则,如果该控件不支持外观,则为 null。A TypeConverter.StandardValuesCollection that holds a set of SkinID objects; otherwise, null, if the control does not support skins.