Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AmbientTheme Class

Note: This API is now obsolete.

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

System.Object
  System.Workflow.ComponentModel.Design.DesignerTheme
    System.Workflow.ComponentModel.Design.AmbientTheme

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

[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class AmbientTheme : DesignerTheme

The AmbientTheme type exposes the following members.

  NameDescription
Public methodAmbientThemeInitializes a new instance of the AmbientTheme class by using a WorkflowTheme.
Top

  NameDescription
Public propertyApplyToGets or sets the unqualified name of the designer type to which the designer theme is applied. (Inherited from DesignerTheme.)
Public propertyBackColorGets or sets the ambient back color on a workflow design surface.
Public propertyBackgroundBrushGets the ambient brush used to fill graphical shapes displayed on the workflow design surface.
Public propertyBoldFontGets the ambient bold font setting for the workflow design surface.
Public propertyBorderWidthGets the ambient border width for objects that are placed onto the workflow design surface.
Public propertyCommentIndicatorBrushGets the ambient brush associated with commented designers on the workflow design surface.
Public propertyCommentIndicatorColorGets or sets the ambient color associated with commented designers on the workflow design surface.
Public propertyCommentIndicatorPenGets the ambient pen associated with commented designers on the workflow design surface.
Protected propertyContainingThemeGets the workflow theme that encapsulates the designer theme. (Inherited from DesignerTheme.)
Public propertyDesignerSizeGets or sets the ambient size settings for activity designers on the workflow design surface.
Public propertyDesignerTypeGets or sets the type of the designer associated with the designer theme. (Inherited from DesignerTheme.)
Public propertyDrawGrayscaleGets or sets a value indicating whether the ambient theme associated with the workflow design surface draws grayscales.
Public propertyDrawRoundedGets or sets a value indicating whether the ambient theme associated with the workflow design surface draws rounded shapes.
Public propertyDrawShadowGets or sets a value indicating whether the ambient theme associated with the workflow design surface draws shadows.
Public propertyDropIndicatorBrushGets the ambient brush associated with an object that you drag onto the workflow design surface.
Public propertyDropIndicatorColorGets or sets the ambient color associated with an object that you drags onto the workflow design surface.
Public propertyDropIndicatorPenGets the ambient pen associated with an object that you drag onto the workflow design surface.
Public propertyFontGets the ambient font settings for the workflow design surface.
Public propertyFontNameGets or sets the ambient font name for the workflow design surface.
Public propertyForeColorGets or sets the ambient fore color property for the workflow design surface.
Public propertyForegroundBrushGets the ambient foreground brush for the workflow design surface.
Public propertyForegroundPenGets the ambient foreground pen for the workflow design surface.
Public propertyGlyphSizeGets the ambient height and width of glyphs on the workflow design surface.
Public propertyGridColorGets or sets the ambient grid color for the workflow design surface.
Public propertyGridSizeGets the ambient size of the grid to display on the workflow design surface.
Public propertyGridStyleGets or sets the ambient grid style for the workflow design surface.
Public propertyMajorGridBrushGets the ambient brush settings for major grids on the workflow design surface.
Public propertyMajorGridPenGets the ambient pen settings for major grids on the workflow design surface.
Public propertyMarginGets the ambient margin settings for the workflow design surface.
Public propertyMinorGridPenGets the ambient pen settings for minor grids on the workflow design surface.
Public propertyReadOnlyGets a value that indicates whether the designer theme is read-only. (Inherited from DesignerTheme.)
Public propertyReadonlyIndicatorBrushGets the ambient brush used to fill graphical shapes associated with read-only items displayed on the workflow design surface.
Public propertyReadonlyIndicatorColorGets or sets the ambient color for read-only items on the workflow design surface.
Public propertySelectionForeColorGets or sets the ambient color for selected items on the workflow design surface.
Public propertySelectionForegroundBrushGets the ambient foreground brush used to fill graphical shapes associated with selected items displayed on the workflow design surface.
Public propertySelectionForegroundPenGets the ambient foreground pen settings for selected items on the workflow design surface.
Public propertySelectionPatternColorGets or sets the ambient pattern color for items that you select on the workflow design surface.
Public propertySelectionPatternPenGets the ambient pen settings for the pattern associated with selected items on the workflow design surface.
Public propertySelectionSizeGets the ambient size of a selected item on the workflow design surface.
Public propertyShowConfigErrorsGets or sets a value that indicates whether the workflow design surface displays configuration errors.
Public propertyShowDesignerBorderGets or sets a value indicating whether the workflow design surface displays designer borders.
Public propertyShowGridGets or sets a value indicating whether grids will be shown on the workflow design surface.
Public propertyTextQualityGets or sets the text quality to display on the workflow design surface.
Public propertyUseOperatingSystemSettingsGets or sets a value indicating whether the AmbientTheme uses the theme settings of the operating system.
Public propertyWatermarkAlignmentGets or sets the ambient alignment settings for watermark images on the workflow design surface.
Public propertyWatermarkImagePathGets or sets the ambient path to the image to display as a watermark on the workflow design surface.
Public propertyWorkflowWatermarkImageGets the ambient image to associate with the workflow design surface as its watermark.
Top

  NameDescription
Protected methodDisposeReleases the unmanaged resources used by the AmbientTheme and optionally releases the managed resources. (Overrides DesignerTheme.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 methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInitializePerforms additional initialization tasks for the AmbientTheme class that are not performed by the AmbientTheme. (Overrides DesignerTheme.Initialize().)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodOnAmbientPropertyChangedNotifies the AmbientTheme when the value of the AmbientProperty enumeration changes. (Overrides DesignerTheme.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

NoteNote

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.

.NET Framework

Supported in: 4, 3.5, 3.0
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.5
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5.2

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:
© 2015 Microsoft