public override void OnAmbientPropertyChanged(AmbientProperty ambientProperty) { base.OnAmbientPropertyChanged(ambientProperty); if (ambientProperty == AmbientProperty.OperatingSystemSetting) { this.ApplySystemColors(); } }
public override void OnAmbientPropertyChanged(AmbientProperty ambientProperty) { base.OnAmbientPropertyChanged(ambientProperty); if (ambientProperty == AmbientProperty.DesignerSize) { this.PreviewBorderColor = this.previewBorderColor; } else if (ambientProperty == AmbientProperty.OperatingSystemSetting) { this.ApplySystemColors(); } }
public override void OnAmbientPropertyChanged(AmbientProperty ambientProperty) { if (ambientProperty == AmbientProperty.DesignerSize) { this.ForeColor = this.foreColor; this.BorderColor = this.borderColor; } else if (ambientProperty == AmbientProperty.OperatingSystemSetting) { this.ApplySystemColors(); } }
public virtual void OnAmbientPropertyChanged(AmbientProperty ambientProperty) { }