DesignerActionUIService クラス
アセンブリ: System.Design (system.design.dll 内)
構文
Public NotInheritable Class DesignerActionUIService Implements IDisposable
public sealed class DesignerActionUIService : IDisposable
public final class DesignerActionUIService implements IDisposable
public final class DesignerActionUIService implements IDisposable
DesignerActionUIService クラスを使用して、デザイナの ActionLists の表示を制御できます。DesignerActionUIService は、次のメソッドとイベントを含む、各コンポーネントの項目を表示するためのわかりやすいインターフェイスを提供します。
DesignerActionService を使用して、コンポーネントに関連付けられている DesignerActionList コレクションを管理します。
Refresh メソッドを使用してスマート タグ パネルを更新する方法を次のコード例に示します。この例は DesignerActionService クラスの概要で取り上げているコード例の一部です。
'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
System.ComponentModel.Design.DesignerActionUIService
プラットフォーム
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
DesignerActionUIService メンバ
System.ComponentModel.Design 名前空間
ShowUI
System.ComponentModel.Design.DesignerActionService.Add
System.ComponentModel.Design.DesignerActionService.Remove
ComponentDesigner.ActionLists プロパティ
その他の技術情報
Windows フォームのデザイナ コマンドと DesignerAction オブジェクト モデル
- DesignerActionUIService クラスのページへのリンク