MS\Internal\AutomationProxies\MSAANativeProvider.cs (58)
666return (ControlType.RadioButton == ControlType) ?
836ControlType ctrlType = ControlType;
910ControlType ctype = ControlType;
991private ControlType ControlType
1003_controlType = _acc.IsReadOnly ? ControlType.Text : _controlType = ControlType.Edit;
1238public RoleCtrlType(AccessibleRole role, ControlType ctrlType)
1245public ControlType _ctrlType; // UIAutomation ControlType
1252new RoleCtrlType(AccessibleRole.Application, ControlType.Window),
1253new RoleCtrlType(AccessibleRole.ButtonDropDown, ControlType.SplitButton),
1254new RoleCtrlType(AccessibleRole.ButtonMenu, ControlType.MenuItem),
1255new RoleCtrlType(AccessibleRole.CheckButton, ControlType.CheckBox),
1256new RoleCtrlType(AccessibleRole.ColumnHeader, ControlType.Header),
1257new RoleCtrlType(AccessibleRole.Combobox, ControlType.ComboBox),
1258new RoleCtrlType(AccessibleRole.Document, ControlType.Document),
1259new RoleCtrlType(AccessibleRole.Graphic, ControlType.Image),
1260new RoleCtrlType(AccessibleRole.Link, ControlType.Hyperlink),
1261new RoleCtrlType(AccessibleRole.List, ControlType.List),
1262new RoleCtrlType(AccessibleRole.ListItem, ControlType.ListItem),
1263new RoleCtrlType(AccessibleRole.MenuBar, ControlType.MenuBar),
1264new RoleCtrlType(AccessibleRole.MenuItem, ControlType.MenuItem),
1265new RoleCtrlType(AccessibleRole.MenuPopup, ControlType.Menu),
1266new RoleCtrlType(AccessibleRole.Outline, ControlType.Tree),
1267new RoleCtrlType(AccessibleRole.OutlineItem, ControlType.TreeItem),
1268new RoleCtrlType(AccessibleRole.PageTab, ControlType.TabItem),
1269new RoleCtrlType(AccessibleRole.PageTabList, ControlType.Tab),
1270new RoleCtrlType(AccessibleRole.Pane, ControlType.Pane),
1271new RoleCtrlType(AccessibleRole.ProgressBar, ControlType.ProgressBar),
1272new RoleCtrlType(AccessibleRole.PushButton, ControlType.Button),
1273new RoleCtrlType(AccessibleRole.RadioButton, ControlType.RadioButton),
1274new RoleCtrlType(AccessibleRole.RowHeader, ControlType.Header),
1275new RoleCtrlType(AccessibleRole.ScrollBar, ControlType.ScrollBar),
1276new RoleCtrlType(AccessibleRole.Separator, ControlType.Separator),
1277new RoleCtrlType(AccessibleRole.Slider, ControlType.Slider),
1278new RoleCtrlType(AccessibleRole.SpinButton, ControlType.Spinner),
1279new RoleCtrlType(AccessibleRole.SplitButton, ControlType.SplitButton),
1280new RoleCtrlType(AccessibleRole.StaticText, ControlType.Text),
1281new RoleCtrlType(AccessibleRole.StatusBar, ControlType.StatusBar),
1282new RoleCtrlType(AccessibleRole.Table, ControlType.Table),
1284new RoleCtrlType(AccessibleRole.TitleBar, ControlType.TitleBar),
1285new RoleCtrlType(AccessibleRole.ToolBar, ControlType.ToolBar),
1286new RoleCtrlType(AccessibleRole.Tooltip, ControlType.ToolTip),
1287new RoleCtrlType(AccessibleRole.Window, ControlType.Window)
1293public CtrlTypePatterns(ControlType ctrlType, params AutomationPattern[] patterns)
1299public ControlType _ctrlType;
1307new CtrlTypePatterns(ControlType.Button, InvokePattern.Pattern),
1308new CtrlTypePatterns(ControlType.CheckBox, TogglePattern.Pattern),
1309new CtrlTypePatterns(ControlType.ComboBox, ValuePattern.Pattern),
1310new CtrlTypePatterns(ControlType.Document, TextPattern.Pattern),
1311new CtrlTypePatterns(ControlType.Edit, ValuePattern.Pattern),
1312new CtrlTypePatterns(ControlType.Hyperlink, InvokePattern.Pattern),
1313new CtrlTypePatterns(ControlType.List, SelectionPattern.Pattern),
1314new CtrlTypePatterns(ControlType.ListItem, SelectionItemPattern.Pattern),
1315new CtrlTypePatterns(ControlType.MenuItem, InvokePattern.Pattern),
1316new CtrlTypePatterns(ControlType.ProgressBar, ValuePattern.Pattern),
1317new CtrlTypePatterns(ControlType.RadioButton, SelectionItemPattern.Pattern),
1320new CtrlTypePatterns(ControlType.SplitButton, InvokePattern.Pattern)
1345private ControlType _controlType; // cached control type; it doesn't change