UITypeEditor.GetEditStyle Metoda

Definice

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

Přetížení

Name Description
GetEditStyle()

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

GetEditStyle(ITypeDescriptorContext)

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

GetEditStyle()

Zdroj:
UITypeEditor.cs
Zdroj:
UITypeEditor.cs
Zdroj:
UITypeEditor.cs
Zdroj:
UITypeEditor.cs
Zdroj:
UITypeEditor.cs

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 UITypeEditor. Ve výchozím nastavení tato metoda vrátí None.

Poznámky

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

Viz také

Platí pro

GetEditStyle(ITypeDescriptorContext)

Zdroj:
UITypeEditor.cs
Zdroj:
UITypeEditor.cs
Zdroj:
UITypeEditor.cs
Zdroj:
UITypeEditor.cs
Zdroj:
UITypeEditor.cs

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

ITypeDescriptorContext se 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) . UITypeEditor Pokud tato metoda nepodporuje, GetEditStyle() vrátí se None.

Viz také

Platí pro