public void SetAttributeAllValuesVisibility(bool isVisible) { if (isVisible) { Visibility.Clear(); } else { foreach (string strValue in _values) { Visibility[strValue] = false; } } AdvancedPropertyChangedEventArgs eventArgs = new AdvancedPropertyChangedEventArgs( this, "AllVisibility", new AttributeConfigurationChangeEventArgs(this, "AllVisibility") { Value = null, Visibility = isVisible }); RaisePropertyChanged(this, eventArgs); }
/// <summary> /// The turn to default. /// </summary> public void TurnToDefault() { Colors.Clear(); Visibility.Clear(); }