CompositeDesignerTheme Class
Provides theme settings to CompositeActivityDesigner objects.
System.Workflow.ComponentModel.Design::DesignerTheme
System.Workflow.ComponentModel.Design::ActivityDesignerTheme
System.Workflow.ComponentModel.Design::CompositeDesignerTheme
System.Workflow.ComponentModel.Design::ActivityPreviewDesignerTheme
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
The CompositeDesignerTheme type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CompositeDesignerTheme | Initializes a new instance of the CompositeDesignerTheme class. |
| Name | Description | |
|---|---|---|
![]() | 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. |
![]() | ConnectorSize | Gets the Size of the connector. |
![]() | ConnectorStartCap | Gets or sets a value that determines the shape that appears at the beginning of a connector. |
![]() | 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. |
![]() | 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.) |
![]() | 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. |
![]() | Size | Gets the size of the designer. (Inherited from ActivityDesignerTheme.) |
![]() | WatermarkAlignment | Gets or sets the alignment of the watermark image in the CompositeActivityDesigner. |
![]() | WatermarkImage | Gets the watermark image to use on the composite activity designer. |
![]() | WatermarkImagePath | Gets or sets the relative path to the watermark image to use on the composite activity designer. |
| Name | Description | |
|---|---|---|
![]() | Dispose | Releases the unmanaged resources used by the CompositeDesignerTheme and optionally releases the managed resources. (Overrides ActivityDesignerTheme::Dispose(Boolean).) |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows the DesignerTheme to attempt to free resources and perform other clean-up operations before it is reclaimed by garbage collection. (Inherited from DesignerTheme.) |
![]() | GetBackgroundBrush | Gets a brush used to paint the area specified by the rectangle passed. (Inherited from ActivityDesignerTheme.) |
![]() | GetExpandButtonBackgroundBrush | Retrieves a brush that defines the background display properties of the expand button on the composite activity designer. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Initialize | Performs further initialization tasks beyond those provided by the CompositeDesignerTheme constructor. (Overrides ActivityDesignerTheme::Initialize().) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnAmbientPropertyChanged | Notifies the CompositeDesignerTheme object that the ambient property settings for the designer have changed. (Overrides ActivityDesignerTheme::OnAmbientPropertyChanged(AmbientProperty).) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IDisposable::Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from DesignerTheme.) |
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.
To use the theme on a CompositeActivityDesigner, apply the ActivityDesignerThemeAttribute to the CompositeActivityDesigner class.
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.
