ActivityPreviewDesigner.OnThemeChange(ActivityDesignerTheme) 方法

定义

ActivityPreviewDesigner 通知它关联的主题已发生更改。

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

参数

newTheme
ActivityDesignerTheme

包含更新后的主题属性设置的 ActivityDesignerTheme

注解

OnThemeChange 不仅更新 ActivityPreviewDesigner 的主题属性设置,还会在预览窗口中呈现新设置。

适用于