ActivityPreviewDesignerTheme.OnAmbientPropertyChanged(AmbientProperty) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Notifies the ActivityPreviewDesignerTheme that the ambient property settings for the designer have changed.
public:
override void OnAmbientPropertyChanged(System::Workflow::ComponentModel::Design::AmbientProperty ambientProperty);
public override void OnAmbientPropertyChanged (System.Workflow.ComponentModel.Design.AmbientProperty ambientProperty);
override this.OnAmbientPropertyChanged : System.Workflow.ComponentModel.Design.AmbientProperty -> unit
Public Overrides Sub OnAmbientPropertyChanged (ambientProperty As AmbientProperty)
Parameters
- ambientProperty
- AmbientProperty
The AmbientProperty enumeration value that the activity preview designer theme should now use.
Remarks
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.