ParameterCollectionEditor 클래스

정의

연결된 데이터 소스 컨트롤의 Parameters 속성으로 지정되는 ParameterCollection 개체에 대한 구성 요소 편집기를 제공합니다.

public ref class ParameterCollectionEditor : System::Drawing::Design::UITypeEditor
public class ParameterCollectionEditor : System.Drawing.Design.UITypeEditor
type ParameterCollectionEditor = class
    inherit UITypeEditor
Public Class ParameterCollectionEditor
Inherits UITypeEditor
상속
ParameterCollectionEditor

예제

다음 코드 예제를 사용 하는 방법을 보여 줍니다는 EditorAttribute 연결할 특성을 ParameterCollectionEditorUITypeEditor (컬렉션 편집기 기본 클래스) 클래스와 SelectParameters 사용자 지정 컨트롤의 속성입니다.

private ParameterCollection selectParams;

// Associate the ParameterCollectionEditor with the SelectParameters. 
[Editor(typeof(System.Web.UI.Design.WebControls.
    ParameterCollectionEditor),
    typeof(UITypeEditor))]
public ParameterCollection SelectParameters
{
    get
    {
        // If there is no selectParams collection, create it.
        if (selectParams == null)
            selectParams = new ParameterCollection();

        return selectParams;
    }
    set { selectParams = value; }
} // SelectParameters
Private selectParams As ParameterCollection

' Associate the ParameterCollectionEditor with the SelectParameters. 
<EditorAttribute(GetType(System.Web.UI.Design.WebControls. _
    ParameterCollectionEditor), _
    GetType(UITypeEditor))> _
Public Property SelectParameters() As ParameterCollection
    Get
        If selectParams Is Nothing Then
            selectParams = New ParameterCollection()
        End If
        Return selectParams
    End Get
    Set(ByVal value As ParameterCollection)
        selectParams = value
    End Set
End Property ' SelectParameters

설명

ParameterCollectionEditor 편집에 대 한 사용자 인터페이스를 제공 하는 클래스를 Parameter 의 요소를 ParameterCollection 중 하나에 지정 된 대로 디자인 타임에 개체를 Parameters 속성. Parameters 속성에 포함 됩니다는 DeleteParameters, FilterParameters, InsertParameters, SelectParametersUpdateParameters 의 속성을 ObjectDataSource, SqlDataSource, 및 다른 데이터 소스 컨트롤.

합니다 ParameterCollectionEditor 줄임표를 선택 하 여 호출 됩니다 (... ) 단추 중 하나에 Parameters 속성에는 속성 비주얼 디자이너의 모눈입니다.

EditValue 메서드 편집 합니다 Parameter 의 요소를 ParameterCollection 연결 된 데이터 소스 컨트롤에 대 한 합니다. GetEditStyle 메서드가이 편집기와 연결 된 편집 스타일을 가져옵니다.

생성자

ParameterCollectionEditor()

ParameterCollectionEditor 클래스의 새 인스턴스를 초기화합니다.

속성

IsDropDownResizable

드롭다운 편집기를 사용자가 크기 조정할 수 있는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 UITypeEditor)

메서드

EditValue(IServiceProvider, Object)

GetEditStyle() 메서드에 표시된 편집기 스타일을 사용하여 지정된 개체의 값을 편집합니다.

(다음에서 상속됨 UITypeEditor)
EditValue(ITypeDescriptorContext, IServiceProvider, Object)

연결된 데이터 소스 컨트롤에 대한 ParameterCollection 개체의 요소를 편집합니다.

Equals(Object)

지정된 개체가 현재 개체와 같은지 확인합니다.

(다음에서 상속됨 Object)
GetEditStyle()

EditValue(IServiceProvider, Object) 메서드에서 사용하는 편집기 스타일을 가져옵니다.

(다음에서 상속됨 UITypeEditor)
GetEditStyle(ITypeDescriptorContext)

이 편집기와 연결된 편집 스타일을 가져옵니다.

GetHashCode()

기본 해시 함수로 작동합니다.

(다음에서 상속됨 Object)
GetPaintValueSupported()

이 편집기에서 개체 값 표현를 칠할 수 있는지 여부를 나타냅니다.

(다음에서 상속됨 UITypeEditor)
GetPaintValueSupported(ITypeDescriptorContext)

지정된 컨텍스트에서 지정된 컨텍스트 내의 개체 값 표현를 칠할 수 있는지 여부를 나타냅니다.

(다음에서 상속됨 UITypeEditor)
GetType()

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
PaintValue(Object, Graphics, Rectangle)

지정된 개체의 값 표시를 지정된 캔버스에 칠합니다.

(다음에서 상속됨 UITypeEditor)
PaintValue(PaintValueEventArgs)

지정된 PaintValueEventArgs를 사용하여 개체 값 표현를 칠합니다.

(다음에서 상속됨 UITypeEditor)
ToString()

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)

적용 대상

추가 정보