Export (0) Print
Expand All

ActivityPreviewDesignerTheme Class

Note: This API is now obsolete.

Provides theme settings for activity designers that use a preview mode on the workflow design surface. This class cannot be inherited.

Namespace:  System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class ActivityPreviewDesignerTheme : CompositeDesignerTheme

The ActivityPreviewDesignerTheme type exposes the following members.

  NameDescription
Public methodActivityPreviewDesignerThemeInitializes a new instance of the ActivityPreviewDesignerTheme class.
Top

  NameDescription
Public propertyApplyToGets or sets the unqualified name of the designer type to which the designer theme is applied. (Inherited from DesignerTheme.)
Public propertyBackColorEndGets or sets the Color to end with when using a color gradient for the background color. (Inherited from ActivityDesignerTheme.)
Public propertyBackColorStartGets or sets the starting color of the background when using a color gradient on the background. (Inherited from ActivityDesignerTheme.)
Public propertyBackgroundStyleGets or sets the background style. (Inherited from ActivityDesignerTheme.)
Public propertyBoldFontGets the font for the theme. (Inherited from ActivityDesignerTheme.)
Public propertyBorderColorGets or sets the BorderColor for the theme. (Inherited from ActivityDesignerTheme.)
Public propertyBorderPenGets the BorderPen for the theme. (Inherited from ActivityDesignerTheme.)
Public propertyBorderStyleGets or sets the style used for the border. (Inherited from ActivityDesignerTheme.)
Public propertyBorderWidthGets the width of the border in pixels. (Inherited from ActivityDesignerTheme.)
Public propertyConnectorEndCapGets or sets a value that determines the shape that appears at the end of a connector. (Inherited from CompositeDesignerTheme.)
Public propertyConnectorSizeGets the Size of the connector. (Inherited from CompositeDesignerTheme.)
Public propertyConnectorStartCapGets or sets a value that determines the shape that appears at the beginning of a connector. (Inherited from CompositeDesignerTheme.)
Protected propertyContainingThemeGets the workflow theme that encapsulates the designer theme. (Inherited from DesignerTheme.)
Public propertyDesignerGeometryGets the geometry of the designer. (Inherited from ActivityDesignerTheme.)
Public propertyDesignerImageGets the image associated with the designer. (Inherited from ActivityDesignerTheme.)
Public propertyDesignerImagePathGets or sets the image path for the designer. (Inherited from ActivityDesignerTheme.)
Public propertyDesignerTypeGets or sets the type of the designer associated with the designer theme. (Inherited from DesignerTheme.)
Public propertyExpandButtonSizeGets the Size of the expand button on the composite activity designer. (Inherited from CompositeDesignerTheme.)
Public propertyFontGets the font of the text used by the theme. (Inherited from ActivityDesignerTheme.)
Public propertyForeColorGets or sets the color of the foreground. (Inherited from ActivityDesignerTheme.)
Public propertyForegroundBrushGets the Brush object associated with the theme. (Inherited from ActivityDesignerTheme.)
Public propertyForegroundPenGets the Pen used for painting the foreground of the theme. (Inherited from ActivityDesignerTheme.)
Public propertyImageSizeGets the size of the image of the theme. (Inherited from ActivityDesignerTheme.)
Public propertyPreviewBackColorGets or sets the color set to associate with the background of the activity preview section of the designer.
Public propertyPreviewBorderColorGets or sets the color set to associate with the border of the activity preview section of the designer.
Public propertyPreviewForeColorGets or sets the color set to associate with the foreground of the activity preview section of the designer.
Public propertyReadOnlyGets a value that indicates whether the designer theme is read-only. (Inherited from DesignerTheme.)
Public propertyShowDropShadowGets or sets a value indicating whether the composite designer theme will display drop shadows around the composite activity designer. (Inherited from CompositeDesignerTheme.)
Public propertySizeGets the size of the designer. (Inherited from ActivityDesignerTheme.)
Public propertyWatermarkAlignmentGets or sets the alignment of the watermark image in the CompositeActivityDesigner. (Inherited from CompositeDesignerTheme.)
Public propertyWatermarkImageGets the watermark image to use on the composite activity designer. (Inherited from CompositeDesignerTheme.)
Public propertyWatermarkImagePathGets or sets the relative path to the watermark image to use on the composite activity designer. (Inherited from CompositeDesignerTheme.)
Top

  NameDescription
Protected methodDisposeReleases the unmanaged resources used by the ActivityPreviewDesignerTheme and optionally releases the managed resources. (Overrides CompositeDesignerTheme.Dispose(Boolean).)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows the DesignerTheme to attempt to free resources and perform other clean-up operations before it is reclaimed by garbage collection. (Inherited from DesignerTheme.)
Public methodGetBackgroundBrushGets a brush used to paint the area specified by the rectangle passed. (Inherited from ActivityDesignerTheme.)
Public methodGetExpandButtonBackgroundBrushRetrieves a brush that defines the background display properties of the expand button on the composite activity designer. (Inherited from CompositeDesignerTheme.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInitializePerforms any additional initialization tasks for ActivityPreviewDesignerTheme that is not performed by ActivityPreviewDesignerTheme. (Overrides CompositeDesignerTheme.Initialize().)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodOnAmbientPropertyChangedNotifies the ActivityPreviewDesignerTheme that the ambient property settings for the designer have changed. (Overrides CompositeDesignerTheme.OnAmbientPropertyChanged(AmbientProperty).)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIDisposable.DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from DesignerTheme.)
Top

NoteNote

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.

.NET Framework

Supported in: 4, 3.5, 3.0
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.5
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5.2

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft