Share via


UITypeEditor.GetEditStyle Metoda

Definice

Získá styl editoru používaný metodou EditValue(IServiceProvider, Object) .

Přetížení

GetEditStyle()

Získá styl editoru používaný metodou EditValue(IServiceProvider, Object) .

GetEditStyle(ITypeDescriptorContext)

Získá styl editoru používaný metodou EditValue(IServiceProvider, Object) .

GetEditStyle()

Získá styl editoru používaný metodou EditValue(IServiceProvider, Object) .

public:
 System::Drawing::Design::UITypeEditorEditStyle GetEditStyle();
public System.Drawing.Design.UITypeEditorEditStyle GetEditStyle ();
member this.GetEditStyle : unit -> System.Drawing.Design.UITypeEditorEditStyle
Public Function GetEditStyle () As UITypeEditorEditStyle

Návraty

Hodnota UITypeEditorEditStyle výčtu, která označuje styl editoru používaného aktuálním UITypeEditorobjektem . Ve výchozím nastavení tato metoda vrátí None.

Poznámky

UITypeEditor Pokud metoda nepřepíše a implementuje tuto metodu, GetEditStyle vrátí None se ve výchozím nastavení.

Viz také

Platí pro

GetEditStyle(ITypeDescriptorContext)

Získá styl editoru používaný metodou EditValue(IServiceProvider, Object) .

public:
 virtual System::Drawing::Design::UITypeEditorEditStyle GetEditStyle(System::ComponentModel::ITypeDescriptorContext ^ context);
public virtual System.Drawing.Design.UITypeEditorEditStyle GetEditStyle (System.ComponentModel.ITypeDescriptorContext context);
public virtual System.Drawing.Design.UITypeEditorEditStyle GetEditStyle (System.ComponentModel.ITypeDescriptorContext? context);
abstract member GetEditStyle : System.ComponentModel.ITypeDescriptorContext -> System.Drawing.Design.UITypeEditorEditStyle
override this.GetEditStyle : System.ComponentModel.ITypeDescriptorContext -> System.Drawing.Design.UITypeEditorEditStyle
Public Overridable Function GetEditStyle (context As ITypeDescriptorContext) As UITypeEditorEditStyle

Parametry

context
ITypeDescriptorContext

Objekt ITypeDescriptorContext , který lze použít k získání dalších kontextových informací.

Návraty

Hodnota UITypeEditorEditStyle , která označuje styl editoru používaného metodou EditValue(IServiceProvider, Object) . Pokud metoda tuto metodu UITypeEditor nepodporuje, GetEditStyle() vrátí se None.

Viz také

Platí pro