示例#1
0
        static public void Initilize(WPFEngine engine)
        {
            engine.AddInspectedComponentsForTypes(
                typeof(UIElement),
                typeof(FrameworkElement),

                typeof(Border),
                typeof(Button),
                typeof(ComboBox),
                typeof(ContentControl),
                typeof(Control),
                typeof(Decorator),
                typeof(TextBoxBase),
                typeof(TextBox),
                typeof(TextBlock),
                typeof(HeaderedContentControl),
                typeof(HeaderedItemsControl),
                typeof(Image),
                typeof(ItemsControl),
                typeof(Panel),
                typeof(StackPanel),
                typeof(Grid),
                typeof(DockPanel),
                typeof(Menu),
                typeof(MenuItem),
                typeof(ContextMenu),
                typeof(ScrollViewer),
                typeof(Selector),
                typeof(TabControl),
                typeof(TabItem),
                typeof(TreeView),
                typeof(TreeViewItem),
                typeof(Window)
                );
        }