223 references to SR
UIAutomationClientSideProviders (223)
MS\Internal\AutomationProxies\Accessible.cs (3)
549throw new InvalidOperationException(SR.OperationCannotBePerformed, e); 1155throw new InvalidOperationException(SR.OperationCannotBePerformed, e); 1385throw new ArgumentException(SR.InvalidParameter);
MS\Internal\AutomationProxies\Misc.cs (1)
52return SR.KeyAlt + "+" + s[iPosShortCut + 1];
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
1216throw new InvalidOperationException(SR.OperationCannotBePerformed, e);
MS\Internal\AutomationProxies\ProxySimple.cs (1)
559throw 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); 939return 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)
41throw new InvalidOperationException(SR.Format(SR.InvalidTextRangeOffset, GetType().FullName)); 1069throw new InvalidOperationException(SR.Format(SR.InvalidTextRangeOffset, GetType().FullName)); 1081throw new InvalidOperationException(SR.Format(SR.InvalidRangeEndpoint, GetType().FullName)); 1115throw new InvalidOperationException(SR.Format(SR.InvalidTextRangeOffset, GetType().FullName)); 1146throw new InvalidOperationException(SR.Format(SR.InvalidTextRangeOffset, GetType().FullName));
MS\Internal\AutomationProxies\WindowsFormsLinkLabel.cs (1)
123throw new InvalidOperationException(SR.OperationCannotBePerformed);
MS\Internal\AutomationProxies\WindowsGrip.cs (1)
27_sType = SR.LocalizedControlTypeGrip;
MS\Internal\AutomationProxies\WindowsHyperlink.cs (1)
433throw 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)
819throw new InvalidOperationException(SR.OperationCannotBePerformed); 852throw new InvalidOperationException(SR.DoesNotSupportMultipleSelection); 871throw new InvalidOperationException(SR.OperationCannotBePerformed); 897throw new InvalidOperationException(SR.SelectionRequired); 902throw new InvalidOperationException(SR.OperationCannotBePerformed); 933throw new InvalidOperationException(SR.OperationCannotBePerformed); 938throw new InvalidOperationException(SR.OperationCannotBePerformed); 959throw new InvalidOperationException(SR.OperationCannotBePerformed);
MS\Internal\AutomationProxies\WindowsListView.cs (7)
227throw new InvalidOperationException(SR.OperationCannotBePerformed); 670throw new InvalidOperationException(SR.OperationCannotBePerformed); 745throw new ArgumentOutOfRangeException("row", row, SR.GridRowOutOfRange); 750throw new ArgumentOutOfRangeException("column", column, SR.GridColumnOutOfRange); 829throw new ArgumentException(SR.InvalidParameter); 838throw new ArgumentException(SR.InvalidParameter); 1663throw 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); 572throw new InvalidOperationException(SR.OperationCannotBePerformed); 602throw new InvalidOperationException(SR.OperationCannotBePerformed); 615throw new InvalidOperationException(SR.OperationCannotBePerformed); 673throw new InvalidOperationException(SR.OperationCannotBePerformed); 711throw 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)
404throw new InvalidOperationException(SR.OperationCannotBePerformed); 433throw new InvalidOperationException(SR.DoesNotSupportMultipleSelection); 442throw new InvalidOperationException(SR.OperationCannotBePerformed); 471throw new InvalidOperationException(SR.SelectionRequired); 478throw new InvalidOperationException(SR.OperationCannotBePerformed); 535throw new InvalidOperationException(SR.OperationCannotBePerformed); 668throw new InvalidOperationException(SR.OperationCannotBePerformed); 755throw new InvalidOperationException(SR.ValueReadonly); 768throw new InvalidOperationException(SR.OperationCannotBePerformed); 809throw 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)
68throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMax); 72throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMin);
MS\Internal\AutomationProxies\WindowsMenu.cs (43)
384return SR.GetResourceString(GetLocalizedNameFromType()); 853return nameof(SR.LocalizedNameWindowsMenuBar); 856return nameof(SR.LocalizedNameWindowsSystemMenuBar); 859return nameof(SR.LocalizedNameWindowsMenu); 862return nameof(SR.LocalizedNameWindowsMenu); 865return nameof(SR.LocalizedNameWindowsMenu); 1301return SR.LocalizedNameWindowsSystemMenuItem; 1326string keyCtrl = SR.KeyCtrl; 1327string keyControl = SR.KeyControl; 1328string keyAlt = SR.KeyAlt; 1329string keyShift = SR.KeyShift; 1330string keyWin = SR.KeyWinKey; 1536return SR.KeyAlt + " + " + SR.KeySpace; 1710throw new InvalidOperationException(SR.OperationCannotBePerformed); 1719throw new InvalidOperationException(SR.OperationCannotBePerformed); 1727throw new InvalidOperationException(SR.OperationCannotBePerformed); 1753throw new InvalidOperationException(SR.OperationCannotBePerformed); 1762throw new InvalidOperationException(SR.OperationCannotBePerformed); 1771throw new InvalidOperationException(SR.OperationCannotBePerformed); 1805throw new InvalidOperationException(SR.DoesNotSupportMultipleSelection); 1811throw new InvalidOperationException(SR.DoesNotSupportMultipleSelection); 1924SR.KeyHome, 1925SR.KeyEnd, 1926SR.KeyDel, 1927SR.KeyDelete, 1928SR.KeyIns, 1929SR.KeyInsert, 1930SR.KeyPageUp, 1931SR.KeyPageDown, 1932SR.KeyEsc, 1933SR.KeyScrLk, 1934SR.KeyPause, 1935SR.KeySysRq, 1936SR.KeyPrtScn, 1937SR.KeyTab, 1938SR.KeyHelp, 2568return SR.LocalizedNameWindowsMenuSeparator; 2750string keyCtrl = SR.KeyCtrl; 2751string keyControl = SR.KeyControl; 2752string keyAlt = SR.KeyAlt; 2753string keyShift = SR.KeyShift; 2754string keyWin = SR.KeyWinKey;
MS\Internal\AutomationProxies\WindowsProgressbar.cs (1)
87throw new InvalidOperationException(SR.ValueReadonly);
MS\Internal\AutomationProxies\WindowsRebar.cs (3)
29_sType = SR.LocalizedControlTypeRebar; 259_sType = SR.LocalizedControlTypeRebarBand; 297return 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); 283throw new ArgumentOutOfRangeException(sbFlag == NativeMethods.SB_HORZ ? "horizontalPercent" : "verticalPercent", SR.ScrollBarOutOfRange);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (5)
267? SR.LocalizedNameWindowsVerticalScrollBar 268: SR.LocalizedNameWindowsHorizontalScrollBar; 629throw new InvalidOperationException(SR.OperationCannotBePerformed); 679throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMax); 683throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMin);
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (6)
136return SR.GetResourceString(_asNames[_item]); 581nameof(SR.LocalizedNameWindowsScrollBarBitsBackBySmallAmount), 582nameof(SR.LocalizedNameWindowsScrollBarBitsBackByLargeAmount), 583nameof(SR.LocalizedNameWindowsScrollBarBitsThumb), 584nameof(SR.LocalizedNameWindowsScrollBarBitsForwardByLargeAmount), 585nameof(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); 524throw new InvalidOperationException(SR.OperationCannotBePerformed); 754_sType = SR.LocalizedControlTypeGrip;
MS\Internal\AutomationProxies\WindowsSysHeader.cs (2)
207return SR.LocalizedNameWindowsSysHeader; 481throw new InvalidOperationException(SR.OperationCannotBePerformed);
MS\Internal\AutomationProxies\WindowsTab.cs (16)
462throw new InvalidOperationException(SR.OperationCannotBePerformed); 467throw new InvalidOperationException(SR.OperationCannotBePerformed); 472throw new InvalidOperationException(SR.OperationCannotBePerformed); 486throw new InvalidOperationException(SR.OperationCannotBePerformed); 491throw new InvalidOperationException(SR.OperationCannotBePerformed); 499throw new ArgumentOutOfRangeException("horizontalPercent", SR.ScrollBarOutOfRange); 507throw new InvalidOperationException(SR.OperationCannotBePerformed); 684throw new InvalidOperationException(SR.OperationCannotBePerformed); 821throw new InvalidOperationException(SR.OperationCannotBePerformed); 1071throw new InvalidOperationException(SR.OperationCannotBePerformed); 1092throw new InvalidOperationException(SR.OperationCannotBePerformed); 1114throw new InvalidOperationException(SR.OperationCannotBePerformed); 1119throw new InvalidOperationException(SR.DoesNotSupportMultipleSelection); 1150throw new InvalidOperationException(SR.OperationCannotBePerformed); 1159throw new InvalidOperationException(SR.OperationCannotBePerformed); 1218throw 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)
656throw new InvalidOperationException(SR.OperationCannotBePerformed); 666throw new InvalidOperationException(SR.OperationCannotBePerformed);
MS\Internal\AutomationProxies\WindowsTooltip.cs (14)
270return SR.LocalizedNameWindowsTitleBarButtonRestore; 272return SR.LocalizedNameWindowsTitleBarButtonMinimize; 275return SR.LocalizedNameWindowsTitleBarButtonContextHelp; 279return SR.LocalizedNameWindowsTitleBarButtonRestore; 281return SR.LocalizedNameWindowsTitleBarButtonMaximize; 284return SR.LocalizedNameWindowsTitleBarButtonClose; 314return SR.LocalizedNameWindowsTitleBarButtonRestore; 316return SR.LocalizedNameWindowsTitleBarButtonMinimize; 320return SR.LocalizedNameWindowsTitleBarButtonRestore; 322return SR.LocalizedNameWindowsTitleBarButtonMaximize; 326return SR.LocalizedNameWindowsTitleBarButtonClose; 329return SR.LocalizedNameWindowsTitleBarButtonContextHelp; 332return SR.LocalizedNameWindowsTitleBarButtonMinimize; 335return SR.LocalizedNameWindowsTitleBarButtonMaximize;
MS\Internal\AutomationProxies\WindowsTreeView.cs (12)
615throw new InvalidOperationException(SR.OperationCannotBePerformed); 639throw new InvalidOperationException(SR.OperationCannotBePerformed); 984throw new InvalidOperationException(SR.OperationCannotBePerformed); 1014throw new InvalidOperationException(SR.DoesNotSupportMultipleSelection); 1020throw new InvalidOperationException(SR.OperationCannotBePerformed); 1038throw new InvalidOperationException(SR.SelectionRequired); 1090throw new InvalidOperationException (SR.OperationCannotBePerformed); 1119throw new InvalidOperationException (SR.OperationCannotBePerformed); 1158throw new InvalidOperationException(SR.OperationCannotBePerformed); 1226throw new InvalidOperationException(SR.OperationCannotBePerformed); 1416throw new InvalidOperationException(SR.OperationCannotBePerformed); 1463throw new InvalidOperationException(SR.OperationCannotBePerformed);
MS\Internal\AutomationProxies\WindowsUpDown.cs (8)
136return SR.LocalizedNameWindowsUpDown; 214throw new ArgumentException(SR.InvalidParameter); 219throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMax); 223throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMin); 500return SR.GetResourceString(_asNames[item]); 538throw new InvalidOperationException(SR.OperationCannotBePerformed); 653nameof(SR.LocalizedNameWindowsSpinButtonItemForward), 654nameof(SR.LocalizedNameWindowsSpinButtonItemBackward)