CompositeActivityDesigner.OnThemeChange(ActivityDesignerTheme) 方法

定義

通知設計工具相關的主題已改變。Notifies the designer that the associated theme has changed.

protected:
 override void OnThemeChange(System::Workflow::ComponentModel::Design::ActivityDesignerTheme ^ designerTheme);
protected override void OnThemeChange (System.Workflow.ComponentModel.Design.ActivityDesignerTheme designerTheme);
override this.OnThemeChange : System.Workflow.ComponentModel.Design.ActivityDesignerTheme -> unit
Protected Overrides Sub OnThemeChange (designerTheme As ActivityDesignerTheme)

參數

designerTheme
ActivityDesignerTheme

ActivityDesignerTheme,其中包含事件資料。A ActivityDesignerTheme that contains the event data.

備註

每當與設計工具相關聯的主題變更時,便會發生 OnThemeChangeOnThemeChange occurs any time the theme associated with the designer changes. 當主題變更時,設計工具的外觀及操作可能也需要變更。When the theme changes it is likely that the designer look and feel needs to change.

適用於