private static void OnChildChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { WindowPanel windowPanel = d as WindowPanel; if (windowPanel._containerWindow != null) { windowPanel._containerWindow.Content = e.NewValue; } }
private static void OnIsTransparentChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { WindowPanel windowPanel = d as WindowPanel; if (e.NewValue != e.OldValue) { windowPanel.InitContainerWindow((bool)e.NewValue); } }
private static void OnIsTopmostChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { WindowPanel windowPanel = d as WindowPanel; if (windowPanel._containerWindow != null) { windowPanel._containerWindow.Topmost = (bool)e.NewValue; } }