CompositeDesignerTheme.OnAmbientPropertyChanged(AmbientProperty) 方法

定義

通知 CompositeDesignerTheme 物件,設計工具的環境屬性設定已改變。Notifies the CompositeDesignerTheme object 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

參數

ambientProperty
AmbientProperty

複合設計工具主題現在應使用的 AmbientProperty 列舉值。The AmbientProperty enumeration value which the composite designer theme should now use.

備註

當呼叫此方法時,它將設定 BackColorStartBackColorEnd 屬性為 EmptyWhen this method is called it sets the BackColorStart and BackColorEnd properties to Empty.

AmbientProperty 列舉會決定設計工具主題取得其環境屬性設定的位置。The AmbientProperty enumeration determines where a designer theme obtains its ambient property settings. 如果已設定 DesignerSize 值,設計工具主題類別將從 AmbientTheme 屬性取得其環境設定。If the DesignerSize value is set, the designer theme class obtains its ambient settings from the AmbientTheme property. 如果已設定 DesignerSize 值,設計工具主題類別將從設計工具安裝的作業系統取得其環境設定。If the DesignerSize value is set, the designer theme class obtains its ambient settings from the operating system on which the designer is installed.

適用於