DesignerActionUIService 클래스

정의

스마트 태그 패널에 대한 UI(사용자 인터페이스)를 관리합니다. 이 클래스는 상속될 수 없습니다.

public ref class DesignerActionUIService sealed : IDisposable
public sealed class DesignerActionUIService : IDisposable
type DesignerActionUIService = class
    interface IDisposable
Public NotInheritable Class DesignerActionUIService
Implements IDisposable
상속
DesignerActionUIService
구현

예제

다음 코드 예제에서는 사용 하는 방법을 보여 줍니다.는 Refresh 메서드는 스마트 태그 패널을 업데이트 합니다. 이 예제는에서 사용할 수 있는 보다 큰 예제의 일부는 DesignerActionService 클래스 개요입니다.

// Boolean properties are automatically displayed with binary 
// UI (such as a checkbox).
public bool LockColors
{
    get
    {
        return colLabel.ColorLocked;
    }
    set
    {
        GetPropertyByName("ColorLocked").SetValue(colLabel, value);

        // Refresh the list.
        this.designerActionUISvc.Refresh(this.Component);
    }
}
'Boolean properties are automatically displayed with binary 
' UI (such as a checkbox).
Public Property LockColors() As Boolean
    Get
        Return colLabel.ColorLocked
    End Get
    Set(ByVal value As Boolean)
        GetPropertyByName("ColorLocked").SetValue(colLabel, value)

        ' Refresh the list.
        Me.designerActionUISvc.Refresh(Me.Component)
    End Set
End Property

설명

디자이너의 표시를 제어할 수 있습니다 ActionListsDesignerActionUIService 클래스입니다. DesignerActionUIService 다음과 같은 메서드 및 이벤트를 포함 하 여 각 구성 요소에 대 한 항목을 표시 하기 위한 간단한 인터페이스를 제공 합니다.

  • ShowUIHideUI 메서드에 표시 하 고 구성 요소에 대 한 항목은 숨깁니다.

  • DesignerActionUIStateChange 구성 요소에 대 한 UI 변경 될 때 이벤트를 나타냅니다.

사용 하는 DesignerActionService 를 관리 하는 DesignerActionList 구성 요소와 관련 된 컬렉션.

메서드

Dispose()

DesignerActionUIService 클래스에서 사용하는 모든 리소스를 해제합니다.

Equals(Object)

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

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

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

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

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

(다음에서 상속됨 Object)
HideUI(IComponent)

구성 요소에 대한 스마트 태그 패널을 숨깁니다.

MemberwiseClone()

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

(다음에서 상속됨 Object)
Refresh(IComponent)

스마트 태그 패널을 업데이트합니다.

ShouldAutoShow(IComponent)

스마트 태그 패널을 자동으로 표시할지 여부를 나타냅니다.

ShowUI(IComponent)

구성 요소에 대한 스마트 태그 패널을 표시합니다.

ToString()

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

(다음에서 상속됨 Object)

이벤트

DesignerActionUIStateChange

스마트 태그 패널을 표시하거나 숨기도록 요청되면 발생합니다.

적용 대상

추가 정보