AmbientTheme AmbientTheme AmbientTheme AmbientTheme Class

Definition

Warning

This API is now obsolete.

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
[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
Public Class AmbientTheme
Inherits DesignerTheme
Inheritance
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) AmbientTheme(WorkflowTheme) AmbientTheme(WorkflowTheme) AmbientTheme(WorkflowTheme)

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

Properties

ApplyTo ApplyTo ApplyTo ApplyTo

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

(Inherited from DesignerTheme)
BackColor BackColor BackColor BackColor

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

BackgroundBrush BackgroundBrush BackgroundBrush BackgroundBrush

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

BoldFont BoldFont BoldFont BoldFont

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

BorderWidth BorderWidth BorderWidth BorderWidth

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

CommentIndicatorBrush CommentIndicatorBrush CommentIndicatorBrush CommentIndicatorBrush

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

CommentIndicatorColor CommentIndicatorColor CommentIndicatorColor CommentIndicatorColor

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

CommentIndicatorPen CommentIndicatorPen CommentIndicatorPen CommentIndicatorPen

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

ContainingTheme ContainingTheme ContainingTheme ContainingTheme

Gets the workflow theme that encapsulates the designer theme.

(Inherited from DesignerTheme)
DesignerSize DesignerSize DesignerSize DesignerSize

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

DesignerType DesignerType DesignerType DesignerType

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

(Inherited from DesignerTheme)
DrawGrayscale DrawGrayscale DrawGrayscale DrawGrayscale

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

DrawRounded DrawRounded DrawRounded DrawRounded

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

DrawShadow DrawShadow DrawShadow DrawShadow

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

DropIndicatorBrush DropIndicatorBrush DropIndicatorBrush DropIndicatorBrush

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

DropIndicatorColor DropIndicatorColor DropIndicatorColor DropIndicatorColor

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

DropIndicatorPen DropIndicatorPen DropIndicatorPen DropIndicatorPen

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

Font Font Font Font

Gets the ambient font settings for the workflow design surface.

FontName FontName FontName FontName

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

ForeColor ForeColor ForeColor ForeColor

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

ForegroundBrush ForegroundBrush ForegroundBrush ForegroundBrush

Gets the ambient foreground brush for the workflow design surface.

ForegroundPen ForegroundPen ForegroundPen ForegroundPen

Gets the ambient foreground pen for the workflow design surface.

GlyphSize GlyphSize GlyphSize GlyphSize

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

GridColor GridColor GridColor GridColor

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

GridSize GridSize GridSize GridSize

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

GridStyle GridStyle GridStyle GridStyle

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

MajorGridBrush MajorGridBrush MajorGridBrush MajorGridBrush

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

MajorGridPen MajorGridPen MajorGridPen MajorGridPen

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

Margin Margin Margin Margin

Gets the ambient margin settings for the workflow design surface.

MinorGridPen MinorGridPen MinorGridPen MinorGridPen

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

ReadOnly ReadOnly ReadOnly ReadOnly

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

(Inherited from DesignerTheme)
ReadonlyIndicatorBrush ReadonlyIndicatorBrush ReadonlyIndicatorBrush ReadonlyIndicatorBrush

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

ReadonlyIndicatorColor ReadonlyIndicatorColor ReadonlyIndicatorColor ReadonlyIndicatorColor

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

SelectionForeColor SelectionForeColor SelectionForeColor SelectionForeColor

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

SelectionForegroundBrush SelectionForegroundBrush SelectionForegroundBrush SelectionForegroundBrush

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

SelectionForegroundPen SelectionForegroundPen SelectionForegroundPen SelectionForegroundPen

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

SelectionPatternColor SelectionPatternColor SelectionPatternColor SelectionPatternColor

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

SelectionPatternPen SelectionPatternPen SelectionPatternPen SelectionPatternPen

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

SelectionSize SelectionSize SelectionSize SelectionSize

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

ShowConfigErrors ShowConfigErrors ShowConfigErrors ShowConfigErrors

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

ShowDesignerBorder ShowDesignerBorder ShowDesignerBorder ShowDesignerBorder

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

ShowGrid ShowGrid ShowGrid ShowGrid

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

TextQuality TextQuality TextQuality TextQuality

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

UseOperatingSystemSettings UseOperatingSystemSettings UseOperatingSystemSettings UseOperatingSystemSettings

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

WatermarkAlignment WatermarkAlignment WatermarkAlignment WatermarkAlignment

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

WatermarkImagePath WatermarkImagePath WatermarkImagePath WatermarkImagePath

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

WorkflowWatermarkImage WorkflowWatermarkImage WorkflowWatermarkImage WorkflowWatermarkImage

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

Methods

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

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

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
Initialize() Initialize() Initialize() Initialize()

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

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnAmbientPropertyChanged(AmbientProperty) OnAmbientPropertyChanged(AmbientProperty) OnAmbientPropertyChanged(AmbientProperty) OnAmbientPropertyChanged(AmbientProperty)

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

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from DesignerTheme)

Applies to