private static OnShowAttributesOnAddPropertyChanged ( |
||
d | ||
e | System.Windows.DependencyPropertyChangedEventArgs | |
Résultat | void |
private static void OnShowAttributesOnAddPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
bool newValue = (bool)e.NewValue;
EditorWidget widget = (EditorWidget)d;
if (widget != null && widget.TemplatePicker != null)
widget.TemplatePicker.ShowAttributesOnAdd = newValue;
}