ExpressionsCollectionEditor.GetEditStyle(ITypeDescriptorContext) Metod

Definition

Hämtar redigeringsformatet som är associerat med den här redigeraren för den angivna kontexten.

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

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

Returer

Ett UITypeEditorEditStyle uppräkningsvärde som anger redigeringsformatet för det angivna användargränssnittet.

Kommentarer

Metoden GetEditStyle returnerar värdet Modal som standard.

Om GetEditStyle inte stöds i den angivna kontexten GetEditStyle returnerar None.

Gäller för

Se även