DataColumnSelectionConverter.GetStandardValuesSupported 方法

定義

指出這個轉換子是否傳回一組可用值,以指派給指定內容 (Context) 內的控制項屬性。

public:
 override bool GetStandardValuesSupported(System::ComponentModel::ITypeDescriptorContext ^ context);
public override bool GetStandardValuesSupported (System.ComponentModel.ITypeDescriptorContext context);
override this.GetStandardValuesSupported : System.ComponentModel.ITypeDescriptorContext -> bool
Public Overrides Function GetStandardValuesSupported (context As ITypeDescriptorContext) As Boolean

參數

context
ITypeDescriptorContext

ITypeDescriptorContext 實作,可以用來取得其他內容資訊。

傳回

Boolean

如果這個轉換子傳回一組標準可用值,以指派給關聯的控制項屬性則為 true,否則為 false

備註

GetStandardValuesSupported方法會指出轉換器是否支援透過方法傳回可用值的清單 GetStandardValues

GetStandardValuesSupported DataColumnSelectionConverter true 如果指定的 context 物件 IComponent 在其屬性中提供實執行 Instance ,則物件的方法會傳回。 GetStandardValues方法會 IComponent 在設計階段使用實作為存取相關聯的控制項,並從相關聯的元件取出可用系結資料列欄位的清單 GridView

適用於

另請參閱