ActivityPreviewDesignerTheme.OnAmbientPropertyChanged Method (AmbientProperty)


Notifies the ActivityPreviewDesignerTheme that the ambient property settings for the designer have changed.

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

public override void OnAmbientPropertyChanged(
	AmbientProperty ambientProperty


Type: System.Workflow.ComponentModel.Design.AmbientProperty

The AmbientProperty enumeration value that the activity preview designer theme should now use.

OnAmbientPropertyChanged checks the value passed to ambientProperty and applies the appropriate ambient theme settings based on that value. If the value is DesignerSize, it applies the ambient styles provided by the designer. If the value is OperatingSystemSetting, it applies the ambient styles provided by the operating system.

.NET Framework
Available since 3.0
Return to top