Språk

XmlFileEditor.GetEditStyle(ITypeDescriptorContext) Metod

Definition

Hämtar redigeringsformatet som är associerat med den här redigeraren med det angivna ITypeDescriptorContext objektet.

public:
 override System::Drawing::Design::UITypeEditorEditStyle GetEditStyle(System::ComponentModel::ITypeDescriptorContext ^ context);
public override System.Drawing.Design.UITypeEditorEditStyle GetEditStyle(System.ComponentModel.ITypeDescriptorContext context);
override this.GetEditStyle : System.ComponentModel.ITypeDescriptorContext -> System.Drawing.Design.UITypeEditorEditStyle
Public Overrides Function GetEditStyle (context As ITypeDescriptorContext) As UITypeEditorEditStyle

Parametrar

context
ITypeDescriptorContext

En ITypeDescriptorContext som kan användas för att få ytterligare kontextinformation.

Returer

Ett UITypeEditorEditStyle uppräkningsvärde som anger det angivna redigeringsformatet. Om metoden inte stöds i den angivna kontexten returneras identifieraren None .

Gäller för