internal void AmbientPropertyChanged(System.Workflow.ComponentModel.Design.AmbientProperty ambientProperty) { foreach (DesignerTheme theme in this.designerThemes) { bool readOnly = this.ReadOnly; this.ReadOnly = false; theme.OnAmbientPropertyChanged(ambientProperty); this.ReadOnly = readOnly; } }
public override void OnAmbientPropertyChanged(System.Workflow.ComponentModel.Design.AmbientProperty ambientProperty) { base.OnAmbientPropertyChanged(ambientProperty); if (ambientProperty == System.Workflow.ComponentModel.Design.AmbientProperty.DesignerSize) { this.DropIndicatorColor = this.dropIndicatorColor; this.FontName = this.fontName; } else if (ambientProperty == System.Workflow.ComponentModel.Design.AmbientProperty.OperatingSystemSetting) { this.ApplySystemColors(); } }