Edytuj

Udostępnij za pośrednictwem


ExpressionsCollectionEditor.GetEditStyle(ITypeDescriptorContext) Method

Definition

Gets the editing style that is associated with this editor for the specified context.

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

Parameters

context
ITypeDescriptorContext

An ITypeDescriptorContext object that can be used to gain additional context information.

Returns

An UITypeEditorEditStyle enumeration value indicating the editing style for the provided user interface.

Remarks

The GetEditStyle method returns the Modal value by default.

If GetEditStyle is not supported in the specified context, the GetEditStyle returns None.

Applies to

See also