private static void Clilocs_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) { ClilocWindow entry = d as ClilocWindow; if (entry != null) { entry.UpdateClilocs(); } }