ActivityDesigner 類別

定義

警告

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

為所有的活動設計工具元件提供強制基底類別 (Base Class)。

public ref class ActivityDesigner : IDisposable, System::ComponentModel::Design::IDesignerFilter, System::ComponentModel::Design::IRootDesigner, System::Drawing::Design::IToolboxUser, System::Workflow::ComponentModel::Design::IPersistUIState, System::Workflow::ComponentModel::Design::IWorkflowRootDesigner
[System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.ActivityDesignerTheme))]
public class ActivityDesigner : IDisposable, System.ComponentModel.Design.IDesignerFilter, System.ComponentModel.Design.IRootDesigner, System.Drawing.Design.IToolboxUser, System.Workflow.ComponentModel.Design.IPersistUIState, System.Workflow.ComponentModel.Design.IWorkflowRootDesigner
[System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.ActivityDesignerTheme))]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class ActivityDesigner : IDisposable, System.ComponentModel.Design.IDesignerFilter, System.ComponentModel.Design.IRootDesigner, System.Drawing.Design.IToolboxUser, System.Workflow.ComponentModel.Design.IPersistUIState, System.Workflow.ComponentModel.Design.IWorkflowRootDesigner
[<System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.ActivityDesignerTheme))>]
type ActivityDesigner = class
    interface IDesignerFilter
    interface IToolboxUser
    interface IPersistUIState
    interface IWorkflowRootDesigner
    interface IRootDesigner
    interface IDesigner
    interface IDisposable
[<System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.ActivityDesignerTheme))>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityDesigner = class
    interface IDesignerFilter
    interface IToolboxUser
    interface IPersistUIState
    interface IWorkflowRootDesigner
    interface IRootDesigner
    interface IDesigner
    interface IDisposable
[<System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.ActivityDesignerTheme))>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityDesigner = class
    interface IDisposable
    interface IDesignerFilter
    interface IDesigner
    interface IToolboxUser
    interface IPersistUIState
    interface IWorkflowRootDesigner
    interface IRootDesigner
Public Class ActivityDesigner
Implements IDesignerFilter, IDisposable, IPersistUIState, IRootDesigner, IToolboxUser, IWorkflowRootDesigner
繼承
ActivityDesigner
衍生
屬性
實作

範例

下列範例顯示自訂活動的 ActivityDesigner 完整實作。 設計工具擁有一個旗標,這個旗標可以切換以允許 ActivityDesigner 基底類別控制繪製或利用 ActivityDesignerPaint 類別用來繪製活動的各種方法。

[ActivityDesignerTheme(typeof(CustomCompositeActivityDesignerTheme))]
public class CustomActivityDesigner : ActivityDesigner
{
    public override bool CanBeParentedTo(CompositeActivityDesigner parentActivityDesigner)
    {
        if (parentActivityDesigner.GetType().ToString() == "System.Workflow.Activities.IfElseBranchDesigner")
            return false;

        return true;
    }

    private ActivityDesignerVerbCollection verbs = null;

    protected override ActivityDesignerVerbCollection Verbs
    {
        get
        {
            if (this.verbs == null)
                CreateActivityVerbs();

            return this.verbs;
        }
    }

    private void CreateActivityVerbs()
    {
        this.verbs = new ActivityDesignerVerbCollection();

        ActivityDesignerVerb addBranchVerb = new ActivityDesignerVerb(this,
            DesignerVerbGroup.View, "Add New Parallel Branch", new EventHandler(OnAddParallelBranch));
        this.verbs.Clear();

        this.verbs.Add(addBranchVerb);
    }

    protected void OnAddParallelBranch(object sender, EventArgs e)
    {
        // Code for adding a new branch to the parallel activity goes here
    }

    protected override Rectangle ImageRectangle
    {
        get
        {
            Rectangle bounds = this.Bounds;
            Size sz = new Size(24, 24);

            Rectangle imageRect = new Rectangle();
            imageRect.X = bounds.Left + ((bounds.Width - sz.Width) / 2);
            imageRect.Y = bounds.Top + 4;
            imageRect.Size = sz;

            return imageRect;
        }
    }

    protected override Rectangle TextRectangle
    {
        get
        {
            return new Rectangle(
                this.Bounds.Left + 2,
                this.ImageRectangle.Bottom,
                this.Bounds.Width - 4,
                this.Bounds.Height - this.ImageRectangle.Height - 1);
        }
    }

    protected override void Initialize(Activity activity)
    {
        base.Initialize(activity);
        Bitmap bmp = Resources.ToolboxImage;
        bmp.MakeTransparent();
        this.Image = bmp;
    }

    readonly static Size BaseSize = new Size(64, 64);
    protected override Size OnLayoutSize(ActivityDesignerLayoutEventArgs e)
    {
        return BaseSize;
    }

    private bool expanded = true;
    private bool useBasePaint = false;

    public bool UseBasePaint
    {
        get { return this.useBasePaint; }
        set { this.useBasePaint = value; }
    }

    public bool Expanded
    {
        get { return this.expanded; }
        set { this.expanded = value; }
    }

    protected override void OnPaint(ActivityDesignerPaintEventArgs e)
    {
        if (this.UseBasePaint == true)
        {
            base.OnPaint(e);
            return;
        }

        DrawCustomActivity(e);
    }

    private void DrawCustomActivity(ActivityDesignerPaintEventArgs e)
    {
        Graphics graphics = e.Graphics;

        CompositeDesignerTheme compositeDesignerTheme = (CompositeDesignerTheme)e.DesignerTheme;

        ActivityDesignerPaint.DrawRoundedRectangle(graphics, compositeDesignerTheme.BorderPen, this.Bounds, compositeDesignerTheme.BorderWidth);

        string text = this.Text;
        Rectangle textRectangle = this.TextRectangle;
        if (!string.IsNullOrEmpty(text) && !textRectangle.IsEmpty)
        {
            ActivityDesignerPaint.DrawText(graphics, compositeDesignerTheme.Font, text, textRectangle, StringAlignment.Center, e.AmbientTheme.TextQuality, compositeDesignerTheme.ForegroundBrush);
        }

        System.Drawing.Image image = this.Image;
        Rectangle imageRectangle = this.ImageRectangle;
        if (image != null && !imageRectangle.IsEmpty)
        {
            ActivityDesignerPaint.DrawImage(graphics, image, imageRectangle, DesignerContentAlignment.Fill);
        }

        ActivityDesignerPaint.DrawExpandButton(graphics,
            new Rectangle(this.Location.X, this.Location.Y, 10, 10),
            this.Expanded,
            compositeDesignerTheme);
    }
}
<ActivityDesignerTheme(GetType(CustomCompositeActivityDesignerTheme))> _
Public Class CustomActivityDesigner
    Inherits ActivityDesigner

   
    Public Overrides Function CanBeParentedTo(ByVal parentActivityDesigner As CompositeActivityDesigner) As Boolean
        If parentActivityDesigner.GetType().ToString() = "System.Workflow.Activities.IfElseBranchDesigner" Then
            Return False
        End If
        Return True
    End Function

    Private verbsValue As ActivityDesignerVerbCollection = Nothing

    Protected Overrides ReadOnly Property Verbs() As ActivityDesignerVerbCollection
        Get
            If verbsValue Is Nothing Then
                CreateActivityVerbs()
            End If
            Return Me.verbsValue

        End Get
    End Property

    Private Sub CreateActivityVerbs()
        Me.verbsValue = New ActivityDesignerVerbCollection()

        Dim addBranchVerb As New ActivityDesignerVerb(Me, DesignerVerbGroup.View, "Add New Parallel Branch", AddressOf OnAddParallelBranch)

        Me.verbsValue.Clear()

        Me.verbsValue.Add(addBranchVerb)
    End Sub

    Protected Sub OnAddParallelBranch(ByVal sender As Object, ByVal e As EventArgs)
        ' Code for adding a new branch to the parallel activity goes here
    End Sub

    Protected Overrides ReadOnly Property ImageRectangle() As Rectangle

        Get
            Dim Bounds As Rectangle = Me.Bounds
            Dim sz As New Size(24, 24)

            Dim imageRect As New Rectangle()
            imageRect.X = Bounds.Left + ((Bounds.Width - sz.Width) / 2)
            imageRect.Y = Bounds.Top + 4
            imageRect.Size = sz

            Return imageRect
        End Get
    End Property

    Protected Overrides ReadOnly Property TextRectangle() As Rectangle
        Get
            Return New Rectangle( _
                Me.Bounds.Left + 2, _
                 Me.ImageRectangle.Bottom, _
                Me.Bounds.Width - 4, _
                Me.Bounds.Height - Me.ImageRectangle.Height - 1)
        End Get
    End Property


    Protected Overrides Sub Initialize(ByVal activity As Activity)

        MyBase.Initialize(activity)
        Dim bmp As Bitmap = Resources.ToolboxImage
        bmp.MakeTransparent()
        Me.Image = bmp
    End Sub

    Shared ReadOnly BaseSize As New Size(64, 64)
    Protected Overrides Function OnLayoutSize(ByVal e As ActivityDesignerLayoutEventArgs) As Size
        Return BaseSize
    End Function

    Private expandedValue As Boolean = True
    Private useBasePaintValue As Boolean = False

    Public Property UseBasePaint() As Boolean
        Get
            Return Me.useBasePaintValue
        End Get

        Set(ByVal value As Boolean)
            Me.useBasePaintValue = value
        End Set
    End Property

    Public Property Expanded() As Boolean
        Get
            Return Me.expandedValue
        End Get
        Set(ByVal value As Boolean)
            Me.expandedValue = value
        End Set
    End Property


    Protected Overrides Sub OnPaint(ByVal e As ActivityDesignerPaintEventArgs)
        If Me.UseBasePaint = True Then
            MyBase.OnPaint(e)
            Return
        End If

        DrawCustomActivity(e)
    End Sub

    Private Sub DrawCustomActivity(ByVal e As ActivityDesignerPaintEventArgs)
        Dim graphics As Graphics = e.Graphics

        Dim compositeDesignerTheme As CompositeDesignerTheme = CType(e.DesignerTheme, CompositeDesignerTheme)

        ActivityDesignerPaint.DrawRoundedRectangle(graphics, compositeDesignerTheme.BorderPen, Me.Bounds, compositeDesignerTheme.BorderWidth)

        Dim text As String = Me.Text
        Dim TextRectangle As Rectangle = Me.TextRectangle
        If Not String.IsNullOrEmpty(text) And Not TextRectangle.IsEmpty Then
            ActivityDesignerPaint.DrawText(graphics, compositeDesignerTheme.Font, text, TextRectangle, StringAlignment.Center, e.AmbientTheme.TextQuality, compositeDesignerTheme.ForegroundBrush)
        End If

        Dim Image As System.Drawing.Image = Me.Image
        Dim ImageRectangle As Rectangle = Me.ImageRectangle
        If Image IsNot Nothing And Not ImageRectangle.IsEmpty Then
            ActivityDesignerPaint.DrawImage(graphics, Image, ImageRectangle, DesignerContentAlignment.Fill)
        End If

        ActivityDesignerPaint.DrawExpandButton(graphics, _
            New Rectangle(Me.Location.X, Me.Location.Y, 10, 10), _
            Me.Expanded, _
            compositeDesignerTheme)
    End Sub
End Class

備註

注意

此資料討論已被汰換的類型及命名空間。 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型

所有的活動設計工具元件會衍生自 ActivityDesignerActivityDesigner 提供了較簡單的設計工具,這個工具可讓使用者在設計模式中以視覺方式設計活動。

ActivityDesigner 為活動提供了簡易的機制,讓它們可以參與在設計介面上呈現工作流程。

ActivityDesigner 讓使用者可以自訂與活動相關聯的配置和繪製。

ActivityDesigner 讓使用者可以延伸與活動相關聯的中繼資料。

建構函式

ActivityDesigner()
已淘汰.

初始化 ActivityDesigner 類別的新執行個體。

屬性

AccessibilityObject
已淘汰.

取得協助工具應用程式用來為殘障使用者調整應用程式 UI 的 AccessibleObject

Activity
已淘汰.

取得與設計工具關聯的 Activity

Bounds
已淘汰.

取得 Rectangle,其包含設計工具封入矩形的邏輯座標值。

DesignerActions
已淘汰.

取得與組態錯誤相關聯的動作陣列。

DesignerTheme
已淘汰.

取得活動設計工具目前的設計工具主題。

EnableVisualResizing
已淘汰.

取得值,這個值表示活動設計工具是否可以在不限格式的設計工具中調整大小。

Glyphs
已淘汰.

取得圖像集合,透過它可以裝飾設計工具。

Image
已淘汰.

取得或設定與設計工具相關聯的 Image

ImageRectangle
已淘汰.

取得影像包圍界線的邏輯座標值,這個影像則與設計工具相關聯。

InvokingDesigner
已淘汰.

取得或設定活動設計工具,它會叫用與目前的活動設計工具關聯的活動。

IsLocked
已淘汰.

取得值,這個值表示與設計工具關聯的活動是否可以修改。

IsPrimarySelection
已淘汰.

取得值,指出與設計工具相關聯的活動是否為主要選取範圍。

IsRootDesigner
已淘汰.

取得值,這個值表示設計工具是否為根目錄設計工具。

IsSelected
已淘汰.

取得值,指出是否已選取與設計工具相關聯的活動。

IsVisible
已淘汰.

取得值,指出是否可以在工作流程中看見與設計工具相關聯的活動。

Location
已淘汰.

取得或設定設計工具的邏輯座標位置。

MessageFilters
已淘汰.

取得與活動設計工具關聯的訊息篩選器唯讀集合。

MinimumSize
已淘汰.

取得活動設計工具的最小大小。

ParentDesigner
已淘汰.

取得現有設計工具的父設計工具。

ParentView
已淘汰.

取得包含目前活動設計工具的工作流程檢視。

ShowSmartTag
已淘汰.

取得值,指出活動是否應顯示智慧標籤。

Size
已淘汰.

取得或設定 ActivityDesigner 的大小。

SmartTagRectangle
已淘汰.

取得應顯示智慧標籤的矩形。

SmartTagVerbs
已淘汰.

取得要與活動設計工具上智慧標籤產生關聯之設計工具動作的唯讀集合。

Text
已淘汰.

取得或設定與設計工具相關聯的文字。

TextRectangle
已淘汰.

取得文字矩形的邏輯座標值。

Verbs
已淘汰.

取得要與設計工具產生關聯的動詞集合。

方法

CanBeParentedTo(CompositeActivityDesigner)
已淘汰.

傳回值,這個值表示 CompositeActivity 是否可以設定為與設計工具相關聯之活動的父系。

CanConnect(ConnectionPoint, ConnectionPoint)
已淘汰.

傳回值,這個值表示是否能在目前活動設計工具的指定連線點和目標活動設計工具的指定連線點之間建立連線。

CreateView(ViewTechnology)
已淘汰.

使用指定的 ViewTechnology 為目前的活動設計工具建立工作流程檢視。

Dispose()
已淘汰.

釋放 ActivityDesigner 所使用的 Unmanaged 資源,並選擇性地釋放 Managed 資源。

Dispose(Boolean)
已淘汰.

釋放 ActivityDesigner 類別所使用的資源。

DoDefaultAction()
已淘汰.

執行與設計工具關聯的預設 UI 動作。

EnsureVisible()
已淘汰.

移動螢幕的可見區域,以確定能夠看見指定的設計工具。

Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
Finalize()
已淘汰.

在衍生類別中覆寫時,可讓物件決定性地清除任何資源。

GetConnectionPoints(DesignerEdges)
已淘汰.

傳回沿著指定的 DesignerEdges 的活動設計工具所屬連接點的唯讀集合。

GetConnections(DesignerEdges)
已淘汰.

傳回設計工具用來連線的點唯讀集合。

GetHashCode()
已淘汰.

做為預設雜湊函式。

(繼承來源 Object)
GetPreviewImage(Graphics)
已淘汰.

取得指定之 Graphics 上活動設計工具的影像。

GetRootDesigner(IServiceProvider)
已淘汰.

傳回與工作流程設計介面相關聯的設計工具。

GetService(Type)
已淘汰.

嘗試從與設計工具關聯之活動的設計模式站台,擷取指定的服務類型。

GetType()
已淘汰.

取得目前執行個體的 Type

(繼承來源 Object)
HitTest(Point)
已淘汰.

取得畫面上指定點中 ActivityDesigner 的相關資訊。

Initialize(Activity)
已淘汰.

使用相關聯的 Activity 初始化設計工具。

Invalidate()
已淘汰.

使設計工具失效。

Invalidate(Rectangle)
已淘汰.

使設計工具的指定矩形無效。

IsCommentedActivity(Activity)
已淘汰.

傳回值,這個值指示目前設計工具的活動是否已加上註解或在已加上註解的活動內。

IsSupportedActivityType(Type)
已淘汰.

傳回值,這個值表示如果活動設計工具為根目錄設計工具時是否支援指定的活動類型。

LoadViewState(BinaryReader)
已淘汰.

從二進位資料流載入設計工具的檢視狀態。

MemberwiseClone()
已淘汰.

建立目前 Object 的淺層複製。

(繼承來源 Object)
OnActivityChanged(ActivityChangedEventArgs)
已淘汰.

當活動與變更關聯時,通知 ActivityDesigner

OnBeginResizing(ActivityDesignerResizeEventArgs)
已淘汰.

當設計工具為 ActivityDesigner,而使用者開始以視覺方法調整活動設計工具的大小時,通知 FreeformActivityDesigner

OnConnected(ConnectionPoint, ConnectionPoint)
已淘汰.

當在兩個連線點之間建立連線時,通知 ActivityDesigner

OnDragDrop(ActivityDragEventArgs)
已淘汰.

當在設計工具界限內完成拖放作業時發生。

OnDragEnter(ActivityDragEventArgs)
已淘汰.

當正在進行拖放作業且指標進入設計工具界限內時發生。

OnDragLeave()
已淘汰.

當正在進行拖放作業且指標離開設計工具界限時發生。

OnDragOver(ActivityDragEventArgs)
已淘汰.

當正在進行拖放作業且指標位於設計工具界限內時發生。

OnEndResizing()
已淘汰.

當設計工具為 ActivityDesigner,而使用者完成以視覺方法調整活動設計工具的大小時,通知 FreeformActivityDesigner

OnExecuteDesignerAction(DesignerAction)
已淘汰.

當使用者按一下與設計工具相關聯的組態錯誤時,通知 ActivityDesigner

OnGiveFeedback(GiveFeedbackEventArgs)
已淘汰.

更新當執行拖曳作業時提供給使用者的回應視覺提示。

OnKeyDown(KeyEventArgs)
已淘汰.

發生於設計工具擁有鍵盤焦點,且按下按鍵時。

OnKeyUp(KeyEventArgs)
已淘汰.

發生於設計工具擁有鍵盤焦點,且釋放按鍵時。

OnLayoutPosition(ActivityDesignerLayoutEventArgs)
已淘汰.

當使用者重新調整其視覺提示或子活動設計工具的位置時,通知 ActivityDesigner

OnLayoutSize(ActivityDesignerLayoutEventArgs)
已淘汰.

傳回 ActivityDesigner 上的視覺提示或子活動設計工具的大小。

OnMouseCaptureChanged()
已淘汰.

當滑鼠捕捉變更時出現。

OnMouseDoubleClick(MouseEventArgs)
已淘汰.

發生於當在設計工具上按下滑鼠按鈕多次時。

OnMouseDown(MouseEventArgs)
已淘汰.

發生於在指標位於設計工具界限上時按下滑鼠按鈕時。

OnMouseDragBegin(Point, MouseEventArgs)
已淘汰.

發生於當使用者開始在設計工具上拖曳滑鼠時。

OnMouseDragEnd()
已淘汰.

發生於當使用者停止在設計工具上拖曳滑鼠時。

OnMouseDragMove(MouseEventArgs)
已淘汰.

的任何滑鼠移動。

OnMouseEnter(MouseEventArgs)
已淘汰.

發生於當滑鼠初次進入設計工具界限時。

OnMouseHover(MouseEventArgs)
已淘汰.

發生於當指標位於設計工具界限內時。

OnMouseLeave()
已淘汰.

發生於當指標離開設計工具界限時。

OnMouseMove(MouseEventArgs)
已淘汰.

發生於當指標在設計工具界限內移動時。

OnMouseUp(MouseEventArgs)
已淘汰.

發生於在指標位於設計工具界限上時釋放滑鼠按鈕時。

OnPaint(ActivityDesignerPaintEventArgs)
已淘汰.

在設計階段繪製活動的視覺化表示。

OnProcessMessage(Message)
已淘汰.

允許設計工具處理原始的 Win32 訊息。

OnQueryContinueDrag(QueryContinueDragEventArgs)
已淘汰.

控制是否該繼續拖曳作業。

OnResizing(ActivityDesignerResizeEventArgs)
已淘汰.

當使用者在設計階段以視覺方式重新調整大小時,通知 ActivityDesigner。 只有在活動設計工具為子 FreeformActivityDesigner 時,才會呼叫這個方法

OnScroll(ScrollBar, Int32)
已淘汰.

當使用者變更捲軸的位置時,通知 ActivityDesigner

OnShowSmartTagVerbs(Point)
已淘汰.

顯示與指定點上智慧標籤相關聯的設計工具動詞。

OnSmartTagVisibilityChanged(Boolean)
已淘汰.

當顯示或隱藏智慧標籤時,通知 ActivityDesigner

OnThemeChange(ActivityDesignerTheme)
已淘汰.

通知設計工具相關的主題已改變。

PerformLayout()
已淘汰.

更新設計工具的配置。

PointToLogical(Point)
已淘汰.

將點從螢幕座標系統轉換至活動設計工具座標系統。

PointToScreen(Point)
已淘汰.

將點從活動設計工具座標系統轉換至螢幕座標系統。

PostFilterAttributes(IDictionary)
已淘汰.

在衍生類別中覆寫時,允許設計工具可以變更或移除透過 TypeDescriptor 所公開之屬性集中的項目。

PostFilterEvents(IDictionary)
已淘汰.

在衍生類別中覆寫時,允許設計工具可以變更或移除透過 TypeDescriptor 所公開之屬性集中的項目。

PostFilterProperties(IDictionary)
已淘汰.

在衍生類別中覆寫時,允許設計工具可以變更或移除透過 TypeDescriptor 所公開之屬性集中的項目。

PreFilterAttributes(IDictionary)
已淘汰.

在衍生類別中覆寫時,可讓設計工具將項目加入至其透過 TypeDescriptor 所公開 (Expose) 的屬性集合。

PreFilterEvents(IDictionary)
已淘汰.

在衍生類別中覆寫時,可讓設計工具將項目加入至其透過 TypeDescriptor 所公開的事件集合。

PreFilterProperties(IDictionary)
已淘汰.

在衍生類別中覆寫時,可讓設計工具將項目加入至其透過 TypeDescriptor 所公開的屬性集合。

RectangleToLogical(Rectangle)
已淘汰.

將矩形從螢幕座標系統轉換至活動設計工具座標系統。

RectangleToScreen(Rectangle)
已淘汰.

將矩形從活動設計工具座標系統轉換至螢幕座標系統。

RefreshDesignerActions()
已淘汰.

重新整理與設計工具相關聯的組態錯誤。

RefreshDesignerVerbs()
已淘汰.

呼叫狀態處理常式可重新整理與設計工具相關聯的活動設計工具動詞。

SaveViewState(BinaryWriter)
已淘汰.

將設計工具的檢視狀態儲存到二進位資料流。

ShowInfoTip(String)
已淘汰.

顯示指定的資訊提示。

ShowInfoTip(String, String)
已淘汰.

以指定的標題和文字顯示 ActivityDesigner 的資訊提示。

ShowInPlaceTip(String, Rectangle)
已淘汰.

在定的矩形位置中顯示指定的工具提示。

ToString()
已淘汰.

傳回代表目前物件的字串。

(繼承來源 Object)

明確介面實作

IDesigner.Component
已淘汰.

取得與活動設計工具相關聯的基底元件。

IDesigner.DoDefaultAction()
已淘汰.

執行與設計工具相關聯的預設動作。

IDesigner.Initialize(IComponent)
已淘汰.

使用關聯的活動初始化設計工具。

IDesigner.Verbs
已淘汰.

傳回與活動設計工具相關聯的設計階段動詞。

IDesignerFilter.PostFilterAttributes(IDictionary)
已淘汰.

在衍生類別中覆寫時,允許設計工具可以變更或移除透過 TypeDescriptor 所公開之屬性集中的項目。

IDesignerFilter.PostFilterEvents(IDictionary)
已淘汰.

在衍生類別中覆寫時,允許設計工具可以變更或移除透過 TypeDescriptor 所公開之屬性集中的項目。

IDesignerFilter.PostFilterProperties(IDictionary)
已淘汰.

在衍生類別中覆寫時,允許設計工具可以變更或移除透過 TypeDescriptor 所公開之屬性集中的項目。

IDesignerFilter.PreFilterAttributes(IDictionary)
已淘汰.

在衍生類別中覆寫時,可讓設計工具將項目加入至其透過 TypeDescriptor 所公開 (Expose) 的屬性集合。

IDesignerFilter.PreFilterEvents(IDictionary)
已淘汰.

在衍生類別中覆寫時,可讓設計工具將項目加入至其透過 TypeDescriptor 所公開的事件集合。

IDesignerFilter.PreFilterProperties(IDictionary)
已淘汰.

在衍生類別中覆寫時,可讓設計工具將項目加入至其透過 TypeDescriptor 所公開的屬性集合。

IPersistUIState.LoadViewState(BinaryReader)
已淘汰.

從二進位資料流還原檢視狀態。

IPersistUIState.SaveViewState(BinaryWriter)
已淘汰.

將檢視狀態儲存到二進位資料流。

IRootDesigner.GetView(ViewTechnology)
已淘汰.

傳回指定之檢視技術的檢視物件。

IRootDesigner.SupportedTechnologies
已淘汰.

取得技術的陣列,該活動設計工具可支援其顯示。

IToolboxUser.GetToolSupported(ToolboxItem)
已淘汰.

判斷目前的活動設計工具是否支援指定的工具箱項目。

IToolboxUser.ToolPicked(ToolboxItem)
已淘汰.

選取指定的工具列項目。

IWorkflowRootDesigner.InvokingDesigner
已淘汰.

取得或設定 CompositeActivityDesigner,它會要求初始化活動設計工具。

IWorkflowRootDesigner.IsSupportedActivityType(Type)
已淘汰.

傳回值,這個值表示目前的 ActivityDesigner 是否支援指定型別。

IWorkflowRootDesigner.MessageFilters
已淘汰.

取得與活動設計工具相關聯的任何訊息篩選器。

IWorkflowRootDesigner.SupportsLayoutPersistence
已淘汰.

取得值,這個值會指出實際工作流程根目錄設計工具是否支援配置保存。

適用於