private void Detach() { MaximumFrequencyProperty.Detach(OnRequireUpdateLayout); MinimumFrequencyProperty.Detach(OnRequireUpdateLayout); BarCountProperty.Detach(OnRequireUpdateLayout); BarSpacingProperty.Detach(OnRequireUpdateLayout); IsFrequencyScaleLinearProperty.Detach(OnRequireUpdateLayout); BarStyleProperty.Detach(OnRequireUpdateLayout); PeakStyleProperty.Detach(OnRequireUpdateLayout); RefreshIntervalProperty.Detach(OnRefreshIntervalChanged); TemplateProperty.Detach(OnSpectrumTemplateChanged); }
set => SetValue(MinimumFrequencyProperty, value);