223 references to SR
UIAutomationClientSideProviders (223)
MS\Internal\AutomationProxies\Accessible.cs (3)
534throw new InvalidOperationException(SR.OperationCannotBePerformed, e); 1130throw new InvalidOperationException(SR.OperationCannotBePerformed, e); 1360throw new ArgumentException(SR.InvalidParameter);
MS\Internal\AutomationProxies\Misc.cs (1)
48return SR.KeyAlt + "+" + s[iPosShortCut + 1];
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
1211throw new InvalidOperationException(SR.OperationCannotBePerformed, e);
MS\Internal\AutomationProxies\ProxySimple.cs (1)
553throw new InvalidOperationException(SR.SetFocusFailed);
MS\Internal\AutomationProxies\WindowsButton.cs (4)
256return SR.KeyCtrl + " + " + SR.KeyEsc; 370throw new InvalidOperationException(SR.DoesNotSupportMultipleSelection); 376throw new InvalidOperationException(SR.DoesNotSupportMultipleSelection);
MS\Internal\AutomationProxies\WindowsComboBox.cs (2)
399throw new InvalidOperationException(SR.OperationCannotBePerformed); 936return SR.LocalizedNameWindowsComboButton;
MS\Internal\AutomationProxies\WindowsContainer.cs (2)
33_sType = SR.LocalizedControlTypeDialog; 37_sType = SR.LocalizedControlTypeContainer;
MS\Internal\AutomationProxies\WindowsEditBox.cs (7)
272throw new InvalidOperationException(SR.ValueReadonly); 283throw new ArgumentException(SR.Format(SR.NotAValidValue, str), "val"); 294throw new InvalidOperationException (SR.OperationCannotBePerformed); 301throw new InvalidOperationException(SR.OperationCannotBePerformed); 344throw new InvalidOperationException(SR.Format(SR.EditControlsHaveNoChildren, GetType().FullName));
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (10)
38throw new InvalidOperationException(SR.Format(SR.InvalidTextRangeOffset, GetType().FullName)); 1066throw new InvalidOperationException(SR.Format(SR.InvalidTextRangeOffset, GetType().FullName)); 1078throw new InvalidOperationException(SR.Format(SR.InvalidRangeEndpoint, GetType().FullName)); 1112throw new InvalidOperationException(SR.Format(SR.InvalidTextRangeOffset, GetType().FullName)); 1143throw new InvalidOperationException(SR.Format(SR.InvalidTextRangeOffset, GetType().FullName));
MS\Internal\AutomationProxies\WindowsFormsLinkLabel.cs (1)
120throw new InvalidOperationException(SR.OperationCannotBePerformed);
MS\Internal\AutomationProxies\WindowsGrip.cs (1)
27_sType = SR.LocalizedControlTypeGrip;
MS\Internal\AutomationProxies\WindowsHyperlink.cs (1)
434throw new InvalidOperationException(SR.OperationCannotBePerformed);
MS\Internal\AutomationProxies\WindowsIPAddress.cs (7)
34_sType = SR.LocalizedControlTypeIPAddress; 144throw new InvalidOperationException (SR.OperationCannotBePerformed); 176throw new ArgumentOutOfRangeException("row", row, SR.GridRowOutOfRange); 181throw new ArgumentOutOfRangeException("column", column, SR.GridColumnOutOfRange); 307_sType = SR.LocalizedControlTypeOctet; 373throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMax); 377throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMin);
MS\Internal\AutomationProxies\WindowsListBox.cs (8)
810throw new InvalidOperationException(SR.OperationCannotBePerformed); 843throw new InvalidOperationException(SR.DoesNotSupportMultipleSelection); 862throw new InvalidOperationException(SR.OperationCannotBePerformed); 888throw new InvalidOperationException(SR.SelectionRequired); 893throw new InvalidOperationException(SR.OperationCannotBePerformed); 924throw new InvalidOperationException(SR.OperationCannotBePerformed); 929throw new InvalidOperationException(SR.OperationCannotBePerformed); 950throw new InvalidOperationException(SR.OperationCannotBePerformed);
MS\Internal\AutomationProxies\WindowsListView.cs (7)
224throw new InvalidOperationException(SR.OperationCannotBePerformed); 667throw new InvalidOperationException(SR.OperationCannotBePerformed); 742throw new ArgumentOutOfRangeException("row", row, SR.GridRowOutOfRange); 747throw new ArgumentOutOfRangeException("column", column, SR.GridColumnOutOfRange); 826throw new ArgumentException(SR.InvalidParameter); 835throw new ArgumentException(SR.InvalidParameter); 1661throw new ArgumentOutOfRangeException(sbFlag == NativeMethods.SB_HORZ ? "horizontalPercent" : "verticalPercent", SR.ScrollBarOutOfRange);
MS\Internal\AutomationProxies\WindowsListViewGroup.cs (8)
201throw new InvalidOperationException(SR.OperationCannotBePerformed); 367throw new ArgumentOutOfRangeException("row", row, SR.GridRowOutOfRange); 372throw new ArgumentOutOfRangeException("column", column, SR.GridColumnOutOfRange); 573throw new InvalidOperationException(SR.OperationCannotBePerformed); 603throw new InvalidOperationException(SR.OperationCannotBePerformed); 616throw new InvalidOperationException(SR.OperationCannotBePerformed); 674throw new InvalidOperationException(SR.OperationCannotBePerformed); 712throw new InvalidOperationException(SR.OperationCannotBePerformed);
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (2)
62throw new InvalidOperationException(SR.OperationCannotBePerformed); 76throw new InvalidOperationException(SR.OperationCannotBePerformed);
MS\Internal\AutomationProxies\WindowsListViewItem.cs (10)
402throw new InvalidOperationException(SR.OperationCannotBePerformed); 431throw new InvalidOperationException(SR.DoesNotSupportMultipleSelection); 440throw new InvalidOperationException(SR.OperationCannotBePerformed); 469throw new InvalidOperationException(SR.SelectionRequired); 476throw new InvalidOperationException(SR.OperationCannotBePerformed); 533throw new InvalidOperationException(SR.OperationCannotBePerformed); 666throw new InvalidOperationException(SR.OperationCannotBePerformed); 752throw new InvalidOperationException(SR.ValueReadonly); 765throw new InvalidOperationException(SR.OperationCannotBePerformed); 806throw new InvalidOperationException(SR.OperationCannotBePerformed);
MS\Internal\AutomationProxies\WindowsListViewItemCheckBox.cs (1)
219throw new InvalidOperationException(SR.OperationCannotBePerformed);
MS\Internal\AutomationProxies\WindowsListViewItemStartMenu.cs (1)
93return SR.KeyAlt + "+" + key;
MS\Internal\AutomationProxies\WindowsListViewScroll.cs (2)
70throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMax); 74throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMin);
MS\Internal\AutomationProxies\WindowsMenu.cs (43)
381return SR.GetResourceString(GetLocalizedNameFromType()); 850return nameof(SR.LocalizedNameWindowsMenuBar); 853return nameof(SR.LocalizedNameWindowsSystemMenuBar); 856return nameof(SR.LocalizedNameWindowsMenu); 859return nameof(SR.LocalizedNameWindowsMenu); 862return nameof(SR.LocalizedNameWindowsMenu); 1296return SR.LocalizedNameWindowsSystemMenuItem; 1321string keyCtrl = SR.KeyCtrl; 1322string keyControl = SR.KeyControl; 1323string keyAlt = SR.KeyAlt; 1324string keyShift = SR.KeyShift; 1325string keyWin = SR.KeyWinKey; 1531return SR.KeyAlt + " + " + SR.KeySpace; 1705throw new InvalidOperationException(SR.OperationCannotBePerformed); 1714throw new InvalidOperationException(SR.OperationCannotBePerformed); 1722throw new InvalidOperationException(SR.OperationCannotBePerformed); 1748throw new InvalidOperationException(SR.OperationCannotBePerformed); 1757throw new InvalidOperationException(SR.OperationCannotBePerformed); 1766throw new InvalidOperationException(SR.OperationCannotBePerformed); 1800throw new InvalidOperationException(SR.DoesNotSupportMultipleSelection); 1806throw new InvalidOperationException(SR.DoesNotSupportMultipleSelection); 1919SR.KeyHome, 1920SR.KeyEnd, 1921SR.KeyDel, 1922SR.KeyDelete, 1923SR.KeyIns, 1924SR.KeyInsert, 1925SR.KeyPageUp, 1926SR.KeyPageDown, 1927SR.KeyEsc, 1928SR.KeyScrLk, 1929SR.KeyPause, 1930SR.KeySysRq, 1931SR.KeyPrtScn, 1932SR.KeyTab, 1933SR.KeyHelp, 2563return SR.LocalizedNameWindowsMenuSeparator; 2745string keyCtrl = SR.KeyCtrl; 2746string keyControl = SR.KeyControl; 2747string keyAlt = SR.KeyAlt; 2748string keyShift = SR.KeyShift; 2749string keyWin = SR.KeyWinKey;
MS\Internal\AutomationProxies\WindowsProgressbar.cs (1)
87throw new InvalidOperationException(SR.ValueReadonly);
MS\Internal\AutomationProxies\WindowsRebar.cs (3)
29_sType = SR.LocalizedControlTypeRebar; 261_sType = SR.LocalizedControlTypeRebarBand; 299return SR.LocalizedNameWindowsReBarBandItem;
MS\Internal\AutomationProxies\WindowsRichEdit.cs (9)
170throw new InvalidOperationException(SR.ValueReadonly); 181throw new ArgumentException(SR.Format(SR.NotAValidValue, str), "val"); 192throw new InvalidOperationException (SR.OperationCannotBePerformed); 199throw new InvalidOperationException(SR.OperationCannotBePerformed); 261throw new InvalidOperationException(SR.Format(SR.RichEditTextPatternHasNoChildren, GetType().FullName)); 486throw new System.NotImplementedException(SR.NoITextDocumentFromRichEdit); 495throw new System.NotImplementedException(SR.NoITextDocumentFromRichEdit);
MS\Internal\AutomationProxies\WindowsScroll.cs (5)
32throw new InvalidOperationException(SR.OperationCannotBePerformed); 57throw new InvalidOperationException(SR.OperationCannotBePerformed); 65throw new InvalidOperationException(SR.OperationCannotBePerformed); 74throw new InvalidOperationException(SR.OperationCannotBePerformed); 284throw new ArgumentOutOfRangeException(sbFlag == NativeMethods.SB_HORZ ? "horizontalPercent" : "verticalPercent", SR.ScrollBarOutOfRange);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (5)
264? SR.LocalizedNameWindowsVerticalScrollBar 265: SR.LocalizedNameWindowsHorizontalScrollBar; 630throw new InvalidOperationException(SR.OperationCannotBePerformed); 680throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMax); 684throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMin);
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (6)
136return SR.GetResourceString(_asNames[_item]); 583nameof(SR.LocalizedNameWindowsScrollBarBitsBackBySmallAmount), 584nameof(SR.LocalizedNameWindowsScrollBarBitsBackByLargeAmount), 585nameof(SR.LocalizedNameWindowsScrollBarBitsThumb), 586nameof(SR.LocalizedNameWindowsScrollBarBitsForwardByLargeAmount), 587nameof(SR.LocalizedNameWindowsScrollBarBitsForwardBySmallAmount)
MS\Internal\AutomationProxies\WindowsSlider.cs (6)
277throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMax); 281throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMin); 419return SR.GetResourceString(_asNames[_item]); 541nameof(SR.LocalizedNameWindowsSliderItemBackByLargeAmount), 542nameof(SR.LocalizedNameWindowsSliderItemThumb), 543nameof(SR.LocalizedNameWindowsSliderItemForwardByLargeAmount)
MS\Internal\AutomationProxies\WindowsStatusBar.cs (4)
256throw new ArgumentOutOfRangeException("row", row, SR.GridRowOutOfRange); 261throw new ArgumentOutOfRangeException("column", column, SR.GridColumnOutOfRange); 525throw new InvalidOperationException(SR.OperationCannotBePerformed); 755_sType = SR.LocalizedControlTypeGrip;
MS\Internal\AutomationProxies\WindowsSysHeader.cs (2)
205return SR.LocalizedNameWindowsSysHeader; 476throw new InvalidOperationException(SR.OperationCannotBePerformed);
MS\Internal\AutomationProxies\WindowsTab.cs (16)
460throw new InvalidOperationException(SR.OperationCannotBePerformed); 465throw new InvalidOperationException(SR.OperationCannotBePerformed); 470throw new InvalidOperationException(SR.OperationCannotBePerformed); 484throw new InvalidOperationException(SR.OperationCannotBePerformed); 489throw new InvalidOperationException(SR.OperationCannotBePerformed); 497throw new ArgumentOutOfRangeException("horizontalPercent", SR.ScrollBarOutOfRange); 505throw new InvalidOperationException(SR.OperationCannotBePerformed); 683throw new InvalidOperationException(SR.OperationCannotBePerformed); 820throw new InvalidOperationException(SR.OperationCannotBePerformed); 1070throw new InvalidOperationException(SR.OperationCannotBePerformed); 1091throw new InvalidOperationException(SR.OperationCannotBePerformed); 1113throw new InvalidOperationException(SR.OperationCannotBePerformed); 1118throw new InvalidOperationException(SR.DoesNotSupportMultipleSelection); 1149throw new InvalidOperationException(SR.OperationCannotBePerformed); 1158throw new InvalidOperationException(SR.OperationCannotBePerformed); 1217throw new InvalidOperationException(SR.OperationCannotBePerformed);
MS\Internal\AutomationProxies\WindowsTitleBar.cs (7)
373return SR.LocalizedNameWindowsTitleBarButtonRestore; 375return SR.LocalizedNameWindowsTitleBarButtonMinimize; 378return SR.LocalizedNameWindowsTitleBarButtonContextHelp; 382return SR.LocalizedNameWindowsTitleBarButtonRestore; 384return SR.LocalizedNameWindowsTitleBarButtonMaximize; 387return SR.LocalizedNameWindowsTitleBarButtonClose; 390return SR.LocalizedNameWindowsTitleBarButtonUnknown;
MS\Internal\AutomationProxies\WindowsToolbar.cs (2)
653throw new InvalidOperationException(SR.OperationCannotBePerformed); 663throw new InvalidOperationException(SR.OperationCannotBePerformed);
MS\Internal\AutomationProxies\WindowsTooltip.cs (14)
267return SR.LocalizedNameWindowsTitleBarButtonRestore; 269return SR.LocalizedNameWindowsTitleBarButtonMinimize; 272return SR.LocalizedNameWindowsTitleBarButtonContextHelp; 276return SR.LocalizedNameWindowsTitleBarButtonRestore; 278return SR.LocalizedNameWindowsTitleBarButtonMaximize; 281return SR.LocalizedNameWindowsTitleBarButtonClose; 311return SR.LocalizedNameWindowsTitleBarButtonRestore; 313return SR.LocalizedNameWindowsTitleBarButtonMinimize; 317return SR.LocalizedNameWindowsTitleBarButtonRestore; 319return SR.LocalizedNameWindowsTitleBarButtonMaximize; 323return SR.LocalizedNameWindowsTitleBarButtonClose; 326return SR.LocalizedNameWindowsTitleBarButtonContextHelp; 329return SR.LocalizedNameWindowsTitleBarButtonMinimize; 332return SR.LocalizedNameWindowsTitleBarButtonMaximize;
MS\Internal\AutomationProxies\WindowsTreeView.cs (12)
612throw new InvalidOperationException(SR.OperationCannotBePerformed); 636throw new InvalidOperationException(SR.OperationCannotBePerformed); 981throw new InvalidOperationException(SR.OperationCannotBePerformed); 1011throw new InvalidOperationException(SR.DoesNotSupportMultipleSelection); 1017throw new InvalidOperationException(SR.OperationCannotBePerformed); 1035throw new InvalidOperationException(SR.SelectionRequired); 1087throw new InvalidOperationException (SR.OperationCannotBePerformed); 1116throw new InvalidOperationException (SR.OperationCannotBePerformed); 1155throw new InvalidOperationException(SR.OperationCannotBePerformed); 1223throw new InvalidOperationException(SR.OperationCannotBePerformed); 1413throw new InvalidOperationException(SR.OperationCannotBePerformed); 1460throw new InvalidOperationException(SR.OperationCannotBePerformed);
MS\Internal\AutomationProxies\WindowsUpDown.cs (8)
133return SR.LocalizedNameWindowsUpDown; 211throw new ArgumentException(SR.InvalidParameter); 216throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMax); 220throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMin); 497return SR.GetResourceString(_asNames[item]); 535throw new InvalidOperationException(SR.OperationCannotBePerformed); 650nameof(SR.LocalizedNameWindowsSpinButtonItemForward), 651nameof(SR.LocalizedNameWindowsSpinButtonItemBackward)