DataColumnSelectionConverter.GetStandardValuesSupported Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether this converter returns a set of available values for assignment to a control property, within the specified 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
Parameters
- context
- ITypeDescriptorContext
An ITypeDescriptorContext implementation that can be used to gain additional context information.
Returns
true
if this converter returns a standard set of available values for assignment to the associated control property; otherwise false
.
Remarks
The GetStandardValuesSupported method indicates whether the converter supports returning a list of available values through the GetStandardValues method.
The GetStandardValuesSupported method for the DataColumnSelectionConverter object returns true
if the specified context
object supplies an IComponent implementation in its Instance property. The GetStandardValues method uses the IComponent implementation to access the associated control at design time and retrieve the list of available bound column fields from the associated GridView component.
Applies to
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應