Returns the editing style that is associated with the connection string editor for the specified context.
- context
An System.ComponentModel.ITypeDescriptorContext to use to gain additional context information.
![]()
An System.Drawing.Design.UITypeEditorEditStyle enumeration value that indicates the editing style for the provided user interface.
By default, the erload:System.Web.UI.Design.ConnectionStringEditor.GetEditStyle method of the System.Web.UI.Design.ConnectionStringEditor class returns the System.Drawing.Design.UITypeEditorEditStyle.Modal value. If an System.ComponentModel.Design.Data.IDataEnvironment service implementation is supported in the specified context, the erload:System.Web.UI.Design.ConnectionStringEditor.GetEditStyle method returns the System.Drawing.Design.UITypeEditorEditStyle.DropDown value.
If the erload:System.Web.UI.Design.ConnectionStringEditor.GetEditStyle method is not supported in the specified context, the erload:System.Web.UI.Design.ConnectionStringEditor.GetEditStyle method returns the System.Drawing.Design.UITypeEditorEditStyle.None value.