ActivityPreviewDesignerTheme ActivityPreviewDesignerTheme ActivityPreviewDesignerTheme ActivityPreviewDesignerTheme Class

定義

警告

此 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(WorkflowTheme) ActivityPreviewDesignerTheme(WorkflowTheme) ActivityPreviewDesignerTheme(WorkflowTheme)

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

屬性

ApplyTo ApplyTo ApplyTo ApplyTo

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

(Inherited from DesignerTheme)
BackColorEnd BackColorEnd BackColorEnd BackColorEnd

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

(Inherited from ActivityDesignerTheme)
BackColorStart BackColorStart BackColorStart BackColorStart

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

(Inherited from ActivityDesignerTheme)
BackgroundStyle BackgroundStyle BackgroundStyle BackgroundStyle

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

(Inherited from ActivityDesignerTheme)
BoldFont BoldFont BoldFont BoldFont

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

(Inherited from ActivityDesignerTheme)
BorderColor BorderColor BorderColor BorderColor

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

(Inherited from ActivityDesignerTheme)
BorderPen BorderPen BorderPen BorderPen

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

(Inherited from ActivityDesignerTheme)
BorderStyle BorderStyle BorderStyle BorderStyle

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

(Inherited from ActivityDesignerTheme)
BorderWidth BorderWidth BorderWidth BorderWidth

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

(Inherited from ActivityDesignerTheme)
ConnectorEndCap ConnectorEndCap ConnectorEndCap ConnectorEndCap

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

(Inherited from CompositeDesignerTheme)
ConnectorSize ConnectorSize ConnectorSize ConnectorSize

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

(Inherited from CompositeDesignerTheme)
ConnectorStartCap ConnectorStartCap ConnectorStartCap ConnectorStartCap

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

(Inherited from CompositeDesignerTheme)
ContainingTheme ContainingTheme ContainingTheme ContainingTheme

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

(Inherited from DesignerTheme)
DesignerGeometry DesignerGeometry DesignerGeometry DesignerGeometry

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

(Inherited from ActivityDesignerTheme)
DesignerImage DesignerImage DesignerImage DesignerImage

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

(Inherited from ActivityDesignerTheme)
DesignerImagePath DesignerImagePath DesignerImagePath DesignerImagePath

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

(Inherited from ActivityDesignerTheme)
DesignerType DesignerType DesignerType DesignerType

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

(Inherited from DesignerTheme)
ExpandButtonSize ExpandButtonSize ExpandButtonSize ExpandButtonSize

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

(Inherited from CompositeDesignerTheme)
Font Font Font Font

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

(Inherited from ActivityDesignerTheme)
ForeColor ForeColor ForeColor ForeColor

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

(Inherited from ActivityDesignerTheme)
ForegroundBrush ForegroundBrush ForegroundBrush ForegroundBrush

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

(Inherited from ActivityDesignerTheme)
ForegroundPen ForegroundPen ForegroundPen ForegroundPen

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

(Inherited from ActivityDesignerTheme)
ImageSize ImageSize ImageSize ImageSize

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

(Inherited from ActivityDesignerTheme)
PreviewBackColor PreviewBackColor PreviewBackColor PreviewBackColor

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

PreviewBorderColor PreviewBorderColor PreviewBorderColor PreviewBorderColor

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

PreviewForeColor PreviewForeColor PreviewForeColor PreviewForeColor

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

ReadOnly ReadOnly ReadOnly ReadOnly

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

(Inherited from DesignerTheme)
ShowDropShadow ShowDropShadow ShowDropShadow ShowDropShadow

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

(Inherited from CompositeDesignerTheme)
Size Size Size Size

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

(Inherited from ActivityDesignerTheme)
WatermarkAlignment WatermarkAlignment WatermarkAlignment WatermarkAlignment

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

(Inherited from CompositeDesignerTheme)
WatermarkImage WatermarkImage WatermarkImage WatermarkImage

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

(Inherited from CompositeDesignerTheme)
WatermarkImagePath WatermarkImagePath WatermarkImagePath WatermarkImagePath

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

(Inherited from CompositeDesignerTheme)

方法

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

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

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetBackgroundBrush(Rectangle) GetBackgroundBrush(Rectangle) GetBackgroundBrush(Rectangle) GetBackgroundBrush(Rectangle)

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

(Inherited from ActivityDesignerTheme)
GetExpandButtonBackgroundBrush(Rectangle) GetExpandButtonBackgroundBrush(Rectangle) GetExpandButtonBackgroundBrush(Rectangle) GetExpandButtonBackgroundBrush(Rectangle)

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

(Inherited from CompositeDesignerTheme)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

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

(Inherited from Object)
GetType() GetType() GetType() GetType()

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

(Inherited from Object)
Initialize() Initialize() Initialize() Initialize()

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

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

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

(Inherited from Object)
OnAmbientPropertyChanged(AmbientProperty) OnAmbientPropertyChanged(AmbientProperty) OnAmbientPropertyChanged(AmbientProperty) OnAmbientPropertyChanged(AmbientProperty)

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

ToString() ToString() ToString() ToString()

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

(Inherited from Object)

明確介面實作

IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose()

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

(Inherited from DesignerTheme)

適用於