ActivityDesignerTheme Class
Provides the look and feel property settings to a designer in a design-time environment.
System.Workflow.ComponentModel.Design::DesignerTheme
System.Workflow.ComponentModel.Design::ActivityDesignerTheme
System.Workflow.ComponentModel.Design::CompositeDesignerTheme
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
The ActivityDesignerTheme type exposes the following members.
| 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. |
![]() | BackColorStart | Gets or sets the starting color of the background when using a color gradient on the background. |
![]() | BackgroundStyle | Gets or sets the background style. |
![]() | BoldFont | Gets the font for the theme. |
![]() | BorderColor | Gets or sets the BorderColor for the theme. |
![]() | BorderPen | Gets the BorderPen for the theme. |
![]() | BorderStyle | Gets or sets the style used for the border. |
![]() | BorderWidth | Gets the width of the border in pixels. |
![]() | ContainingTheme | Gets the workflow theme that encapsulates the designer theme. (Inherited from DesignerTheme.) |
![]() | DesignerGeometry | Gets the geometry of the designer. |
![]() | DesignerImage | Gets the image associated with the designer. |
![]() | DesignerImagePath | Gets or sets the image path for the designer. |
![]() | DesignerType | Gets or sets the type of the designer associated with the designer theme. (Inherited from DesignerTheme.) |
![]() | Font | Gets the font of the text used by the theme. |
![]() | ForeColor | Gets or sets the color of the foreground. |
![]() | ForegroundBrush | Gets the Brush object associated with the theme. |
![]() | ForegroundPen | Gets the Pen used for painting the foreground of the theme. |
![]() | ImageSize | Gets the size of the image of the theme. |
![]() | ReadOnly | Gets a value that indicates whether the designer theme is read-only. (Inherited from DesignerTheme.) |
![]() | Size | Gets the size of the designer. |
| Name | Description | |
|---|---|---|
![]() | Dispose | Releases the unmanaged resources and optionally releases the managed resources used by ActivityDesignerTheme. (Overrides DesignerTheme::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. |
![]() | 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 | Initializes the designer theme. (Overrides DesignerTheme::Initialize().) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnAmbientPropertyChanged | Called to signal changes to ambient settings. (Overrides DesignerTheme::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.) |
Designer themes define the look and feel of a designer. This includes any background styles, foreground styles, fonts, and icons defined for the designer.
You can create a custom designer theme if you want to provide configuration abilities to properties unique to your designer. If you do not specify a designer theme for a custom designer, the theme from the base class is used.
The following example shows how to create a custom ActivityDesignerTheme by deriving from the ActivityDesignerTheme class and setting the appropriate properties for the new theme.
To use the theme on an ActivityDesigner, apply the ActivityDesignerThemeAttribute to the ActivityDesigner 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.
