private void pgStyles_PropertyValueChanged(object s, PropertyValueChangedEventArgs e) { PreviewStyle(); }