ActivityPreviewDesignerTheme 類別

定義

警告

此 API 現已淘汰。

提供活動設計工具的主題設定,這些設計工具會在工作流程設計介面上使用預覽模式。Provides theme settings for activity designers that use a preview mode on the workflow design surface. 這個類別無法被繼承。This class cannot be inherited.

public ref class ActivityPreviewDesignerTheme : System::Workflow::ComponentModel::Design::CompositeDesignerTheme
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class ActivityPreviewDesignerTheme : System.Workflow.ComponentModel.Design.CompositeDesignerTheme
type ActivityPreviewDesignerTheme = class
    inherit CompositeDesignerTheme
Public Class ActivityPreviewDesignerTheme
Inherits CompositeDesignerTheme
繼承
屬性

備註

注意

此資料討論已被汰換的類型及命名空間。This material discusses types and namespaces that are obsolete. 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

在工作流程設計介面上使用預覽模式的活動設計工具可以擁有預覽顯示區域特定的主題設定。Activity designers that use preview mode on the workflow design surface can have theme settings specific to the preview display area. ActivityPreviewDesignerTheme 包含提供這些預覽區域特定設定的屬性。ActivityPreviewDesignerTheme contains the properties that provide these preview-area specific settings.

會在加入至工作流程設計介面時提供預覽模式的活動包括 ConditionedActivityGroupEventHandlersActivityActivities that provide a preview mode when they are added to the workflow design surface include ConditionedActivityGroup and EventHandlersActivity.

建構函式

ActivityPreviewDesignerTheme(WorkflowTheme)

初始化 ActivityPreviewDesignerTheme 類別的新執行個體。Initializes a new instance of the ActivityPreviewDesignerTheme class.

屬性

ApplyTo

取得或設定設計工具主題要套用之設計工具類型的不合格名稱。Gets or sets the unqualified name of the designer type to which the designer theme is applied.

(繼承來源 DesignerTheme)
BackColorEnd

取得或設定 Color,做為在背景色彩中使用色彩漸層時的結束色彩。Gets or sets the Color to end with when using a color gradient for the background color.

(繼承來源 ActivityDesignerTheme)
BackColorStart

取得或設定在背景中使用色彩漸層時的背景開始色彩。Gets or sets the starting color of the background when using a color gradient on the background.

(繼承來源 ActivityDesignerTheme)
BackgroundStyle

取得或設定背景樣式。Gets or sets the background style.

(繼承來源 ActivityDesignerTheme)
BoldFont

取得主題的字型。Gets the font for the theme.

(繼承來源 ActivityDesignerTheme)
BorderColor

取得或設定主題的 BorderColorGets or sets the BorderColor for the theme.

(繼承來源 ActivityDesignerTheme)
BorderPen

取得主題的 BorderPen。Gets the BorderPen for the theme.

(繼承來源 ActivityDesignerTheme)
BorderStyle

取得或設定用於框線的樣式。Gets or sets the style used for the border.

(繼承來源 ActivityDesignerTheme)
BorderWidth

取得框線的寬度 (以像素為單位)。Gets the width of the border in pixels.

(繼承來源 ActivityDesignerTheme)
ConnectorEndCap

取得或設定決定出現在接點端點圖形的值。Gets or sets a value that determines the shape that appears at the end of a connector.

(繼承來源 CompositeDesignerTheme)
ConnectorSize

取得接點的 SizeGets the Size of the connector.

(繼承來源 CompositeDesignerTheme)
ConnectorStartCap

取得或設定決定出現在接點起點圖形的值。Gets or sets a value that determines the shape that appears at the beginning of a connector.

(繼承來源 CompositeDesignerTheme)
ContainingTheme

取得封裝設計工具主題的工作流程主題。Gets the workflow theme that encapsulates the designer theme.

(繼承來源 DesignerTheme)
DesignerGeometry

取得設計工具的幾何圖形。Gets the geometry of the designer.

(繼承來源 ActivityDesignerTheme)
DesignerImage

取得與設計工具關聯的影像。Gets the image associated with the designer.

(繼承來源 ActivityDesignerTheme)
DesignerImagePath

取得或設定設計工具的影像路徑。Gets or sets the image path for the designer.

(繼承來源 ActivityDesignerTheme)
DesignerType

取得或設定與設計工具主題關聯的設計工具類型。Gets or sets the type of the designer associated with the designer theme.

(繼承來源 DesignerTheme)
ExpandButtonSize

取得複合活動設計工具上展開按鈕的 SizeGets the Size of the expand button on the composite activity designer.

(繼承來源 CompositeDesignerTheme)
Font

取得主題所使用的文字字型。Gets the font of the text used by the theme.

(繼承來源 ActivityDesignerTheme)
ForeColor

取得或設定前景色彩。Gets or sets the color of the foreground.

(繼承來源 ActivityDesignerTheme)
ForegroundBrush

取得與主題相關聯的 Brush 物件。Gets the Brush object associated with the theme.

(繼承來源 ActivityDesignerTheme)
ForegroundPen

取得 Pen,以用於繪製主題前景。Gets the Pen used for painting the foreground of the theme.

(繼承來源 ActivityDesignerTheme)
ImageSize

取得主題影像的大小。Gets the size of the image of the theme.

(繼承來源 ActivityDesignerTheme)
PreviewBackColor

取得或設定色彩設定,使其與設計工具的活動預覽區段背景關聯。Gets or sets the color set to associate with the background of the activity preview section of the designer.

PreviewBorderColor

取得或設定色彩設定,使其與設計工具的活動預覽區段框線關聯。Gets or sets the color set to associate with the border of the activity preview section of the designer.

PreviewForeColor

取得或設定色彩設定,使其與設計工具的活動預覽區段前景關聯。Gets or sets the color set to associate with the foreground of the activity preview section of the designer.

ReadOnly

取得值,這個值會指出設計工具主題是否為唯讀。Gets a value that indicates whether the designer theme is read-only.

(繼承來源 DesignerTheme)
ShowDropShadow

取得或設定值,表示複合設計工具主題是否在複合活動設計工具周圍顯示延伸陰影。Gets or sets a value indicating whether the composite designer theme will display drop shadows around the composite activity designer.

(繼承來源 CompositeDesignerTheme)
Size

取得設計工具的大小。Gets the size of the designer.

(繼承來源 ActivityDesignerTheme)
WatermarkAlignment

取得或設定 CompositeActivityDesigner 中浮水印影像的對齊方式。Gets or sets the alignment of the watermark image in the CompositeActivityDesigner.

(繼承來源 CompositeDesignerTheme)
WatermarkImage

取得複合活動設計工具上的浮水印影像。Gets the watermark image to use on the composite activity designer.

(繼承來源 CompositeDesignerTheme)
WatermarkImagePath

取得或設定複合活動設計工具上使用之浮水印影像的相對路徑。Gets or sets the relative path to the watermark image to use on the composite activity designer.

(繼承來源 CompositeDesignerTheme)

方法

Dispose(Boolean)

釋放 ActivityPreviewDesignerTheme 所使用的 Unmanaged 資源,並選擇性地釋放 Managed 資源。Releases the unmanaged resources used by the ActivityPreviewDesignerTheme and optionally releases the managed resources.

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetBackgroundBrush(Rectangle)

取得筆刷,用於繪製傳遞之矩形所指定的區域。Gets a brush used to paint the area specified by the rectangle passed.

(繼承來源 ActivityDesignerTheme)
GetExpandButtonBackgroundBrush(Rectangle)

取得定義複合活動設計工具上展開按鈕之背景顯示屬性的筆刷。Retrieves a brush that defines the background display properties of the expand button on the composite activity designer.

(繼承來源 CompositeDesignerTheme)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
Initialize()

執行 ActivityPreviewDesignerTheme 不會執行的任何其他 ActivityPreviewDesignerTheme(WorkflowTheme) 初始化工作。Performs any additional initialization tasks for ActivityPreviewDesignerTheme that is not performed by ActivityPreviewDesignerTheme(WorkflowTheme).

MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(繼承來源 Object)
OnAmbientPropertyChanged(AmbientProperty)

通知 ActivityPreviewDesignerTheme,設計工具的環境屬性設定已改變。Notifies the ActivityPreviewDesignerTheme that the ambient property settings for the designer have changed.

ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

明確介面實作

IDisposable.Dispose()

執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(繼承來源 DesignerTheme)

適用於