แก้ไข

แชร์ผ่าน


ActivityPreviewDesignerTheme Class

Definition

Caution

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

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
public 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
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityPreviewDesignerTheme = class
    inherit CompositeDesignerTheme
Public Class ActivityPreviewDesignerTheme
Inherits CompositeDesignerTheme
Inheritance
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. 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 contains the properties that provide these preview-area specific settings.

Activities that provide a preview mode when they are added to the workflow design surface include ConditionedActivityGroup and EventHandlersActivity.

Constructors

ActivityPreviewDesignerTheme(WorkflowTheme)

Initializes a new instance of the ActivityPreviewDesignerTheme class.

Properties

ApplyTo

Gets or sets the unqualified name of the designer type to which the designer theme is applied.

(Inherited from DesignerTheme)
BackColorEnd

Gets or sets the Color to end with when using a color gradient for the background color.

(Inherited from ActivityDesignerTheme)
BackColorStart

Gets or sets the starting color of the background when using a color gradient on the background.

(Inherited from ActivityDesignerTheme)
BackgroundStyle

Gets or sets the background style.

(Inherited from ActivityDesignerTheme)
BoldFont

Gets the font for the theme.

(Inherited from ActivityDesignerTheme)
BorderColor

Gets or sets the BorderColor for the theme.

(Inherited from ActivityDesignerTheme)
BorderPen

Gets the BorderPen for the theme.

(Inherited from ActivityDesignerTheme)
BorderStyle

Gets or sets the style used for the border.

(Inherited from ActivityDesignerTheme)
BorderWidth

Gets the width of the border in pixels.

(Inherited from ActivityDesignerTheme)
ConnectorEndCap

Gets or sets a value that determines the shape that appears at the end of a connector.

(Inherited from CompositeDesignerTheme)
ConnectorSize

Gets the Size of the connector.

(Inherited from CompositeDesignerTheme)
ConnectorStartCap

Gets or sets a value that determines the shape that appears at the beginning of a connector.

(Inherited from CompositeDesignerTheme)
ContainingTheme

Gets the workflow theme that encapsulates the designer theme.

(Inherited from DesignerTheme)
DesignerGeometry

Gets the geometry of the designer.

(Inherited from ActivityDesignerTheme)
DesignerImage

Gets the image associated with the designer.

(Inherited from ActivityDesignerTheme)
DesignerImagePath

Gets or sets the image path for the designer.

(Inherited from ActivityDesignerTheme)
DesignerType

Gets or sets the type of the designer associated with the designer theme.

(Inherited from DesignerTheme)
ExpandButtonSize

Gets the Size of the expand button on the composite activity designer.

(Inherited from CompositeDesignerTheme)
Font

Gets the font of the text used by the theme.

(Inherited from ActivityDesignerTheme)
ForeColor

Gets or sets the color of the foreground.

(Inherited from ActivityDesignerTheme)
ForegroundBrush

Gets the Brush object associated with the theme.

(Inherited from ActivityDesignerTheme)
ForegroundPen

Gets the Pen used for painting the foreground of the theme.

(Inherited from ActivityDesignerTheme)
ImageSize

Gets the size of the image of the theme.

(Inherited from 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.

(Inherited from DesignerTheme)
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

Gets the size of the designer.

(Inherited from ActivityDesignerTheme)
WatermarkAlignment

Gets or sets the alignment of the watermark image in the CompositeActivityDesigner.

(Inherited from CompositeDesignerTheme)
WatermarkImage

Gets the watermark image to use on the composite activity designer.

(Inherited from CompositeDesignerTheme)
WatermarkImagePath

Gets or sets the relative path to the watermark image to use on the composite activity designer.

(Inherited from CompositeDesignerTheme)

Methods

Dispose(Boolean)

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.

(Inherited from Object)
GetBackgroundBrush(Rectangle)

Gets a brush used to paint the area specified by the rectangle passed.

(Inherited from ActivityDesignerTheme)
GetExpandButtonBackgroundBrush(Rectangle)

Retrieves a brush that defines the background display properties of the expand button on the composite activity designer.

(Inherited from CompositeDesignerTheme)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
Initialize()

Performs any additional initialization tasks for ActivityPreviewDesignerTheme that is not performed by ActivityPreviewDesignerTheme(WorkflowTheme).

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnAmbientPropertyChanged(AmbientProperty)

Notifies the ActivityPreviewDesignerTheme that the ambient property settings for the designer have changed.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IDisposable.Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from DesignerTheme)

Applies to