Edit

Share via


AmbientTheme Class

Definition

Caution

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

Provides the look and feel property settings to a top-level workflow in a design-time environment.

public ref class AmbientTheme : System::Workflow::ComponentModel::Design::DesignerTheme
public class AmbientTheme : System.Workflow.ComponentModel.Design.DesignerTheme
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class AmbientTheme : System.Workflow.ComponentModel.Design.DesignerTheme
type AmbientTheme = class
    inherit DesignerTheme
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type AmbientTheme = class
    inherit DesignerTheme
Public Class AmbientTheme
Inherits DesignerTheme
Inheritance
AmbientTheme
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

Workflow themes define the look and feel of a workflow design surface. This includes any background styles, foreground styles, fonts, and icons defined for the workflow design surface. An ambient theme contains the default display properties for the workflow design surface. It provides settings to be used across the entire design surface (for example, the grid, background and foreground colors, read-only designer color, and so on). It can use either user-selected values or the values from the operational system.

Constructors

AmbientTheme(WorkflowTheme)

Initializes a new instance of the AmbientTheme class by using a WorkflowTheme.

Properties

ApplyTo

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

(Inherited from DesignerTheme)
BackColor

Gets or sets the ambient back color on a workflow design surface.

BackgroundBrush

Gets the ambient brush used to fill graphical shapes displayed on the workflow design surface.

BoldFont

Gets the ambient bold font setting for the workflow design surface.

BorderWidth

Gets the ambient border width for objects that are placed onto the workflow design surface.

CommentIndicatorBrush

Gets the ambient brush associated with commented designers on the workflow design surface.

CommentIndicatorColor

Gets or sets the ambient color associated with commented designers on the workflow design surface.

CommentIndicatorPen

Gets the ambient pen associated with commented designers on the workflow design surface.

ContainingTheme

Gets the workflow theme that encapsulates the designer theme.

(Inherited from DesignerTheme)
DesignerSize

Gets or sets the ambient size settings for activity designers on the workflow design surface.

DesignerType

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

(Inherited from DesignerTheme)
DrawGrayscale

Gets or sets a value indicating whether the ambient theme associated with the workflow design surface draws grayscales.

DrawRounded

Gets or sets a value indicating whether the ambient theme associated with the workflow design surface draws rounded shapes.

DrawShadow

Gets or sets a value indicating whether the ambient theme associated with the workflow design surface draws shadows.

DropIndicatorBrush

Gets the ambient brush associated with an object that you drag onto the workflow design surface.

DropIndicatorColor

Gets or sets the ambient color associated with an object that you drags onto the workflow design surface.

DropIndicatorPen

Gets the ambient pen associated with an object that you drag onto the workflow design surface.

Font

Gets the ambient font settings for the workflow design surface.

FontName

Gets or sets the ambient font name for the workflow design surface.

ForeColor

Gets or sets the ambient fore color property for the workflow design surface.

ForegroundBrush

Gets the ambient foreground brush for the workflow design surface.

ForegroundPen

Gets the ambient foreground pen for the workflow design surface.

GlyphSize

Gets the ambient height and width of glyphs on the workflow design surface.

GridColor

Gets or sets the ambient grid color for the workflow design surface.

GridSize

Gets the ambient size of the grid to display on the workflow design surface.

GridStyle

Gets or sets the ambient grid style for the workflow design surface.

MajorGridBrush

Gets the ambient brush settings for major grids on the workflow design surface.

MajorGridPen

Gets the ambient pen settings for major grids on the workflow design surface.

Margin

Gets the ambient margin settings for the workflow design surface.

MinorGridPen

Gets the ambient pen settings for minor grids on the workflow design surface.

ReadOnly

Gets a value that indicates whether the designer theme is read-only.

(Inherited from DesignerTheme)
ReadonlyIndicatorBrush

Gets the ambient brush used to fill graphical shapes associated with read-only items displayed on the workflow design surface.

ReadonlyIndicatorColor

Gets or sets the ambient color for read-only items on the workflow design surface.

SelectionForeColor

Gets or sets the ambient color for selected items on the workflow design surface.

SelectionForegroundBrush

Gets the ambient foreground brush used to fill graphical shapes associated with selected items displayed on the workflow design surface.

SelectionForegroundPen

Gets the ambient foreground pen settings for selected items on the workflow design surface.

SelectionPatternColor

Gets or sets the ambient pattern color for items that you select on the workflow design surface.

SelectionPatternPen

Gets the ambient pen settings for the pattern associated with selected items on the workflow design surface.

SelectionSize

Gets the ambient size of a selected item on the workflow design surface.

ShowConfigErrors

Gets or sets a value that indicates whether the workflow design surface displays configuration errors.

ShowDesignerBorder

Gets or sets a value indicating whether the workflow design surface displays designer borders.

ShowGrid

Gets or sets a value indicating whether grids will be shown on the workflow design surface.

TextQuality

Gets or sets the text quality to display on the workflow design surface.

UseOperatingSystemSettings

Gets or sets a value indicating whether the AmbientTheme uses the theme settings of the operating system.

WatermarkAlignment

Gets or sets the ambient alignment settings for watermark images on the workflow design surface.

WatermarkImagePath

Gets or sets the ambient path to the image to display as a watermark on the workflow design surface.

WorkflowWatermarkImage

Gets the ambient image to associate with the workflow design surface as its watermark.

Methods

Dispose(Boolean)

Releases the unmanaged resources used by the AmbientTheme and optionally releases the managed resources.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
Initialize()

Performs additional initialization tasks for the AmbientTheme class that are not performed by the AmbientTheme(WorkflowTheme).

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnAmbientPropertyChanged(AmbientProperty)

Notifies the AmbientTheme when the value of the AmbientProperty enumeration changes.

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