This documentation is archived and is not being maintained.

CompositeDesignerTheme Class

Provides theme settings to CompositeActivityDesigner objects.

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

public ref class CompositeDesignerTheme : public ActivityDesignerTheme

The CompositeDesignerTheme type exposes the following members.

  NameDescription
Public methodCompositeDesignerThemeInitializes a new instance of the CompositeDesignerTheme 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.
Public propertyConnectorSizeGets the Size of the connector.
Public propertyConnectorStartCapGets or sets a value that determines the shape that appears at the beginning of a connector.
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.
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 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.
Public propertySizeGets the size of the designer. (Inherited from ActivityDesignerTheme.)
Public propertyWatermarkAlignmentGets or sets the alignment of the watermark image in the CompositeActivityDesigner.
Public propertyWatermarkImageGets the watermark image to use on the composite activity designer.
Public propertyWatermarkImagePathGets or sets the relative path to the watermark image to use on the composite activity designer.
Top

  NameDescription
Protected methodDisposeReleases the unmanaged resources used by the CompositeDesignerTheme and optionally releases the managed resources. (Overrides ActivityDesignerTheme::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.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInitializePerforms further initialization tasks beyond those provided by the CompositeDesignerTheme constructor. (Overrides ActivityDesignerTheme::Initialize().)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodOnAmbientPropertyChangedNotifies the CompositeDesignerTheme object that the ambient property settings for the designer have changed. (Overrides ActivityDesignerTheme::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

The CompositeDesignerTheme class controls the look and feel of a CompositeActivityDesigner object on a workflow design surface.

The following example shows how to create a custom CompositeDesignerTheme by deriving from the CompositeDesignerTheme class and setting the appropriate properties for the new theme.

No code example is currently available or this language may not be supported.

To use the theme on a CompositeActivityDesigner, apply the ActivityDesignerThemeAttribute to the CompositeActivityDesigner class.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4, 3.5, 3.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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: