DesignerTheme.OnAmbientPropertyChanged Method (AmbientProperty)

 

Notifies the designer theme class 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 virtual void OnAmbientPropertyChanged(
	AmbientProperty ambientProperty
)

Parameters

ambientProperty
Type: System.Workflow.ComponentModel.Design.AmbientProperty

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

Classes that inherit from DesignerTheme use this method to make necessary changes when the AmbientProperty enumeration value changes from DesignerSize to OperatingSystemSetting or OperatingSystemSetting to DesignerSize.

The AmbientProperty enumeration determines where a designer theme obtains its ambient property settings. If the DesignerSize value is set, the designer theme class obtains its ambient settings from the AmbientTheme property. If the OperatingSystemSetting value is set, the designer theme class obtains its ambient settings from the operating system on which the designer is installed.

.NET Framework
Available since 3.0
Return to top
Show: