Editar

Compartir a través de


ActivityPreviewDesignerTheme.OnAmbientPropertyChanged(AmbientProperty) Method

Definition

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.

Applies to