This documentation is archived and is not being maintained.

DataPagerFieldTypeEditor::GetEditStyle Method (ITypeDescriptorContext)

Gets the style that the editor will use.

Namespace:  System.Web.UI.Design.WebControls
Assembly:  System.Web.Extensions.Design (in System.Web.Extensions.Design.dll)

[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")]
public:
virtual UITypeEditorEditStyle GetEditStyle(
	ITypeDescriptorContext^ context
) override

Parameters

context
Type: System.ComponentModel::ITypeDescriptorContext

Context information about the design environment.

Return Value

Type: System.Drawing.Design::UITypeEditorEditStyle
One of the enumeration values that indicates the type of style that the editor will use.

This method indicates the editor style that is used by the EditValue method and will always return UITypeEditorEditStyle.Modal.

  • LinkDemand 

    for full trust for the immediate caller. This member cannot be used by partially trusted code.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Show: