static BaseDebugTreeControl() { var parserContext = DebugContainerControl.GetParserContext(); s_defaultStyle = (Style)XamlReader.Parse( DefaultStyle, parserContext ); StyleProperty.OverrideMetadata(typeof(BaseDebugTreeControl), new FrameworkPropertyMetadata(s_defaultStyle)); }
static void ShowWindowImpl(DependencyObject dependencyObject, string title) { var debugContainerControl = new DebugContainerControl(); debugContainerControl.AttachTo(dependencyObject); var window = new Window { Title = title ?? "Debug", MinHeight = 200, MinWidth = 320, Content = debugContainerControl }; window.Show(); }
static void ShowWindowImpl(DependencyObject dependencyObject, string title) { var debugContainerControl = new DebugContainerControl (); debugContainerControl.AttachTo (dependencyObject); var window = new Window { Title = title ?? "Debug" , MinHeight = 200 , MinWidth = 320 , Content = debugContainerControl }; window.Show(); }