public OutputUIMap() { //_outputPane = VisualTreeWalker.GetControl("UI_DocManager_AutoID", "OutputPane", "DebugOutput"); //_outputEdit = VisualTreeWalker.GetControl("UI_DocManager_AutoID", "OutputPane", "Edit"); //_outputStatus = VisualTreeWalker.GetControl("UI_DocManager_AutoID", "OutputPane", "Edit", "Dev2StatusBarAutomationID", "StatusBar"); //_outputPane = VisualTreeWalker.GetControlFromRoot(true, 1, null, "UI_DocManager_AutoID", "Z96bb9badc4b148518ea4eff80920f8d9", "Zfb2fe4b8a0e84c8fb3fda8601e62a61e", "Zae7dc5529efd48379e593356fee56c4c", "OutputPane", "DebugOutput"); if (_outputPane == null) { _outputPane = VisualTreeWalker.GetControlFromRoot(true, 0, null, "UI_DocManager_AutoID", "Z96bb9badc4b148518ea4eff80920f8d9", "OutputPane", "DebugOutput"); } //_outputEdit = VisualTreeWalker.GetControlFromRoot(0, false, 1, "Uia.SplitPane", "Z96bb9badc4b148518ea4eff80920f8d9", "Zfb2fe4b8a0e84c8fb3fda8601e62a61e", "Zae7dc5529efd48379e593356fee56c4c", "OutputPane", "DebugOutput", "Edit"); if (_outputStatus == null) { _outputStatus = VisualTreeWalker.GetControlFromRoot(true, 0, _outputPane, "Dev2StatusBarAutomationID").GetChildren()[0]; } }
public VariablesUIMap() { _variableExplorer = VisualTreeWalker.GetControlFromRoot(true, 0, null, new string[] { "UI_DocManager_AutoID", "Variables", "UI_DataListView_AutoID" }); }
public ToolboxUIMap() { _toolTree = VisualTreeWalker.GetControlFromRoot(true, 0, null, "UI_ToolboxPane_AutoID", "UI_ToolboxControl_AutoID", "PART_Tools"); _toolSearch = VisualTreeWalker.GetControlFromRoot(true, 0, null, "UI_ToolboxPane_AutoID", "UI_ToolboxControl_AutoID", "PART_SearchBox"); }