4790 references to SR
System.Windows.Forms (4646)
artifacts\obj\System.Windows.Forms\Release\net10.0\System.SR.cs (1)
10internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(SR)));
misc\CollectionHelper.cs (5)
19throw new ArgumentException(SR.Arg_RankMultiDimNotSupported, nameof(target)); 23throw new ArgumentException(SR.Arg_NonZeroLowerBound, nameof(target)); 25throw new ArgumentException(SR.Arg_ArrayPlusOffTooSmall); 48throw new ArgumentException(SR.Argument_IncompatibleArrayType); 63throw new ArgumentException(SR.Argument_IncompatibleArrayType);
src\Common\src\RTLAwareMessageBox.cs (1)
40return SR.RTL != "RTL_False";
SRCategoryAttribute.cs (1)
17return SR.GetResourceString(value);
SRDescriptionAttribute.cs (1)
20DescriptionValue = SR.GetResourceString(base.Description);
System\Drawing\Design\UITypeEditor.cs (1)
70throw new NotSupportedException(string.Format(SR.ControlNotSupportedInTrimming, nameof(UITypeEditor)));
System\Resources\AssemblyNamesTypeResolutionService.cs (1)
156throw new ArgumentException(string.Format(SR.InvalidResXNoType, name));
System\Resources\ResXDataNode.cs (5)
88throw new InvalidOperationException(string.Format(SR.NotSerializableType, name, valueType.FullName)); 242throw new InvalidOperationException(string.Format(SR.NotSerializableType, _name, valueType.FullName)); 375string newMessage = string.Format(SR.NotSupported, typeName, dataNodeInfo.ReaderPosition.Y, dataNodeInfo.ReaderPosition.X, nse.Message); 385SR.TypeLoadException, 618throw new TypeLoadException(string.Format(SR.TypeLoadExceptionShort, FileRefType));
System\Resources\ResXResourceReader.cs (8)
148throw new InvalidOperationException(SR.InvalidResXBasePathOperation); 168throw new InvalidOperationException(SR.InvalidResXBasePathOperation); 376string newMessage = string.Format(SR.SerializationException, reader[ResXResourceWriter.TypeStr], pt.Y, pt.X, se.Message); 383string newMessage = string.Format(SR.InvocationException, reader[ResXResourceWriter.TypeStr], pt.Y, pt.X, tie.InnerException?.Message); 389throw new ArgumentException(string.Format(SR.InvalidResXFile, e.Message), e); 401throw new ArgumentException(string.Format(SR.InvalidResXFile, xmlEx.Message), xmlEx); 437throw new ArgumentException(SR.InvalidResXFileReaderWriterTypes); 606throw new ArgumentException(string.Format(SR.InvalidResXResourceNoName, nodeInfo.ValueData));
System\Resources\ResXResourceWriter.cs (2)
387throw new InvalidOperationException(SR.ResXResourceWriterSaved); 584throw new InvalidOperationException(SR.ResXResourceWriterSaved);
System\Windows\Forms\Accessibility\AccessibleObject.cs (2)
591string message = string.Format(SR.AccessibleObjectRuntimeIdNotSupported, nameof(AccessibleObject), nameof(RuntimeId)); 3230throw new NotSupportedException(SR.AccessibleObjectLiveRegionNotSupported);
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (1)
493? throw new InvalidOperationException(SR.OwnerControlIsNotALiveRegion)
System\Windows\Forms\Accessibility\LabelEditNativeWindow.cs (1)
178throw new InvalidOperationException(SR.RichControlLresult, ex);
System\Windows\Forms\ActiveX\AxHost.AxContainer.cs (1)
131throw new ArgumentException(string.Format(SR.AXDuplicateControl, GetNameForControl(control)), nameof(control));
System\Windows\Forms\ActiveX\AxHost.AxPropertyTypeEditor.cs (1)
39uiSvc?.ShowError(ex, SR.ErrorTypeConverterFailed);
System\Windows\Forms\ActiveX\AxHost.ConnectionPointCookie.cs (4)
29throw new InvalidCastException(SR.AXNoConnectionPointContainer); 39throw new InvalidCastException(string.Format(SR.AXNoSinkImplementation, eventInterface.Name)); 60throw new ArgumentException(string.Format(SR.AXNoEventInterface, eventInterface.Name)); 75throw new ArgumentException(string.Format(SR.AXNoConnectionPoint, eventInterface.Name));
System\Windows\Forms\ActiveX\AxHost.cs (52)
36private static readonly COMException s_invalidArgumentException = new(SR.AXInvalidArgument, unchecked((int)0x80070057)); 184throw new ThreadStateException(string.Format(SR.AXMTAThread, clsid)); 295add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseClick")); 303add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseDoubleClick")); 472add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "BackColorChanged")); 480add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "BackgroundImageChanged")); 488add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "BackgroundImageLayoutChanged")); 496add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "BindingContextChanged")); 504add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "CursorChanged")); 515add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "EnabledChanged")); 523add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "FontChanged")); 531add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "ForeColorChanged")); 539add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "RightToLeftChanged")); 547add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "TextChanged")); 558add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "Click")); 566add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DragDrop")); 574add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DragEnter")); 582add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DragOver")); 590add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DragLeave")); 598add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "GiveFeedback")); 606add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "HelpRequested")); 614add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "Paint")); 622add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "QueryContinueDrag")); 630add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "QueryAccessibilityHelp")); 641add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DoubleClick")); 649add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "ImeModeChanged")); 660add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "KeyDown")); 671add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "KeyPress")); 682add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "KeyUp")); 690add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "Layout")); 701add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseDown")); 712add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseEnter")); 723add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseLeave")); 734add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseHover")); 745add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseMove")); 756add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseUp")); 767add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseWheel")); 775add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "ChangeUICues")); 783add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "StyleChanged")); 1461throw new TargetInvocationException(string.Format(SR.AXNohWnd, GetType().Name), t); 1529throw new NotSupportedException(string.Format(SR.AXNohWnd, GetType().Name)); 1608throw new TargetInvocationException(string.Format(SR.AXNohWnd, GetType().Name), t); 1843throw new InvalidOperationException(SR.AXOcxStateLoaded); 2314throw new LicenseException(GetType(), this, SR.AXNoLicenseToUse); 2778throw new InvalidOperationException(SR.UnableToInitComponent); 2845throw new InvalidOperationException(SR.UnableToInitComponent); 3024transaction = host?.CreateTransaction(SR.AXEditProperties); 3288throw new ThreadStateException(SR.ThreadMustBeSTA); 3566throw new ArgumentException(SR.AXUnknownImage, nameof(picture)); 3590throw new ArgumentException(SR.AXUnknownImage, nameof(picture)); 3678throw new ArgumentException(SR.AXFontUnitNotPoint, nameof(font)); 3733throw new ArgumentException(SR.AXFontUnitNotPoint, nameof(font));
System\Windows\Forms\ActiveX\AxHost.InvalidActiveXStateException.cs (3)
25ActiveXInvokeKind.MethodInvoke => string.Format(SR.AXInvalidMethodInvoke, _name), 26ActiveXInvokeKind.PropertyGet => string.Format(SR.AXInvalidPropertyGet, _name), 27ActiveXInvokeKind.PropertySet => string.Format(SR.AXInvalidPropertySet, _name),
System\Windows\Forms\ActiveX\AxHost.OleInterfaces.cs (1)
320throw new InvalidOperationException(SR.AXWindowlessControl);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (9)
88throw new NotSupportedException(SR.AXTopLevelSource); 857throw new Win32Exception(Marshal.GetLastWin32Error(), SR.Win32SetParentFailed); 1041throw new NotSupportedException(string.Format(SR.ControlNotSupportedInTrimming, nameof(ActiveXImpl))); 1144throw new NotSupportedException(SR.BinaryFormatterNotSupported); 1424throw new ArgumentException(string.Format(SR.AXNoConnectionPoint, eventInterface.Name)); 1441throw new NotSupportedException(string.Format(SR.ControlNotSupportedInTrimming, nameof(ActiveXImpl))); 1495throw new NotSupportedException(string.Format(SR.ControlNotSupportedInTrimming, nameof(ActiveXImpl))); 1534throw new NotSupportedException(SR.BinaryFormatterNotSupported); 1837internal static void ThrowHr(HRESULT hr) => throw new ExternalException(SR.ExternalException, (int)hr);
System\Windows\Forms\ActiveX\DataStreamFromComStream.cs (2)
124throw new IOException(SR.DataStreamWrite); 146throw new IOException(SR.DataStreamWrite);
System\Windows\Forms\Application.cs (4)
603s_safeTopLevelCaptionSuffix ??= SR.SafeTopLevelCaptionFormat; // 0 - original, 1 - zone, 2 - site 1298throw new NotSupportedException(SR.RestartNotSupported); 1375throw new InvalidOperationException(string.Format(SR.Win32WindowAlreadyCreated, nameof(SetCompatibleTextRenderingDefault))); 1404throw new InvalidOperationException(string.Format(SR.Win32WindowAlreadyCreated, nameof(SetDefaultFont)));
System\Windows\Forms\Application.ThreadContext.cs (2)
689throw new InvalidOperationException(SR.CantShowModalOnNonInteractive); 713throw new InvalidOperationException(SR.CantNestMessageLoops);
System\Windows\Forms\ApplicationContext.cs (2)
72[SRCategory(nameof(SR.CatData))] 75[SRDescription(nameof(SR.ControlTagDescr))]
System\Windows\Forms\ComponentModel\COM2Interop\COM2AboutBoxPropertyDescriptor.cs (1)
23new DescriptionAttribute(SR.AboutBoxDesc),
System\Windows\Forms\ComponentModel\COM2Interop\COM2ComponentEditor.cs (3)
131SR.ErrorPropertyPageFailed, 132SR.PropertyGridTitle, 140uiService.ShowError(ex, SR.ErrorPropertyPageFailed);
System\Windows\Forms\ComponentModel\COM2Interop\COM2ICategorizePropertiesHandler.cs (10)
31PROPCAT.Misc => SR.PropertyCategoryMisc, 32PROPCAT.Font => SR.PropertyCategoryFont, 33PROPCAT.Position => SR.PropertyCategoryPosition, 34PROPCAT.Appearance => SR.PropertyCategoryAppearance, 35PROPCAT.Behavior => SR.PropertyCategoryBehavior, 36PROPCAT.Data => SR.PropertyCategoryData, 37PROPCAT.List => SR.PropertyCategoryList, 38PROPCAT.Text => SR.PropertyCategoryText, 39PROPCAT.Scale => SR.PropertyCategoryScale, 40PROPCAT.DDE => SR.PropertyCategoryDDE,
System\Windows\Forms\ComponentModel\COM2Interop\COM2IDispatchConverter.cs (1)
42return SR.toStringNone;
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (2)
823throw new NotSupportedException(string.Format(SR.COM2ReadonlyProperty, Name)); 909? string.Format(CultureInfo.CurrentCulture, SR.DispInvokeFailed, "SetValue", setError)
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyPageUITypeConverter.cs (1)
55uiService.ShowError(ex, SR.ErrorTypeConverterFailed);
System\Windows\Forms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (9)
289throw new ExternalException(string.Format(SR.TYPEINFOPROCESSORGetTypeAttrFailed, hr), (int)hr); 354throw new ExternalException(string.Format(SR.TYPEINFOPROCESSORGetRefTypeInfoFailed, hr), (int)hr); 368throw new ExternalException(string.Format(SR.TYPEINFOPROCESSORGetTypeAttrFailed, hr), (int)hr); 495throw new COMException(string.Format(SR.TYPEINFOPROCESSORGetDocumentationFailed, dispid, hr, "ITypeInfo", (int)hr)); 602throw new ExternalException(string.Format(SR.TYPEINFOPROCESSORGetTypeAttrFailed, hr), (int)hr); 699throw new ExternalException(string.Format(SR.TYPEINFOPROCESSORGetTypeAttrFailed, hr), (int)hr); 828throw new ExternalException(string.Format(SR.TYPEINFOPROCESSORGetTypeAttrFailed, hr), (int)hr); 898VT_USERDEFINED => throw new ArgumentException(string.Format(SR.COM2UnhandledVT, "VT_USERDEFINED")), 899_ => throw new ArgumentException(string.Format(SR.COM2UnhandledVT, ((int)vt).ToString(CultureInfo.InvariantCulture))),
System\Windows\Forms\ContextMenuStrip.cs (2)
14[SRDescription(nameof(SR.DescriptionContextMenuStrip))] 36[SRDescription(nameof(SR.ContextMenuStripSourceControlDescr))]
System\Windows\Forms\Control.ControlCollection.cs (5)
51throw new ArgumentException(SR.TopLevelControlAdd); 58throw new ArgumentException(SR.AddDifferentThreads); 134throw new ArgumentException(SR.ControlBadControl, nameof(control)); 174key.ThrowIfNullOrEmptyWithMessage(SR.FindKeyMayNotBeEmptyOrNull); 408throw new ArgumentException(SR.ControlNotChild);
System\Windows\Forms\Control.cs (285)
521[SRDescription(nameof(SR.ControlAccessibilityObjectDescr))] 565[SRCategory(nameof(SR.CatAccessibility))] 569[SRDescription(nameof(SR.ControlAccessibleDefaultActionDescr))] 579[SRCategory(nameof(SR.CatAccessibility))] 582[SRDescription(nameof(SR.ControlAccessibleDescriptionDescr))] 592[SRCategory(nameof(SR.CatAccessibility))] 595[SRDescription(nameof(SR.ControlAccessibleNameDescr))] 605[SRCategory(nameof(SR.CatAccessibility))] 607[SRDescription(nameof(SR.ControlAccessibleRoleDescr))] 622[SRCategory(nameof(SR.CatBehavior))] 624[SRDescription(nameof(SR.ControlAllowDropDescr))] 682[SRCategory(nameof(SR.CatLayout))] 685[SRDescription(nameof(SR.ControlAnchorDescr))] 693[SRCategory(nameof(SR.CatLayout))] 697[SRDescription(nameof(SR.ControlAutoSizeDescr))] 729[SRCategory(nameof(SR.CatPropertyChanged))] 730[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 824[SRCategory(nameof(SR.CatData))] 863[SRCategory(nameof(SR.CatAppearance))] 865[SRDescription(nameof(SR.ControlBackColorDescr))] 906throw new ArgumentException(SR.TransparentBackColorNotAllowed); 918[SRCategory(nameof(SR.CatPropertyChanged))] 919[SRDescription(nameof(SR.ControlOnBackColorChangedDescr))] 929[SRCategory(nameof(SR.CatAppearance))] 932[SRDescription(nameof(SR.ControlBackgroundImageDescr))] 948[SRCategory(nameof(SR.CatPropertyChanged))] 949[SRDescription(nameof(SR.ControlOnBackgroundImageChangedDescr))] 959[SRCategory(nameof(SR.CatAppearance))] 962[SRDescription(nameof(SR.ControlBackgroundImageLayoutDescr))] 992[SRCategory(nameof(SR.CatPropertyChanged))] 993[SRDescription(nameof(SR.ControlOnBackgroundImageLayoutChangedDescr))] 1068[SRDescription(nameof(SR.ControlBindingContextDescr))] 1075[SRCategory(nameof(SR.CatPropertyChanged))] 1076[SRDescription(nameof(SR.ControlOnBindingContextChangedDescr))] 1089[SRDescription(nameof(SR.ControlBottomDescr))] 1090[SRCategory(nameof(SR.CatLayout))] 1100[SRDescription(nameof(SR.ControlBoundsDescr))] 1101[SRCategory(nameof(SR.CatLayout))] 1117[SRCategory(nameof(SR.CatFocus))] 1118[SRDescription(nameof(SR.ControlCanFocusDescr))] 1135[SRCategory(nameof(SR.CatFocus))] 1136[SRDescription(nameof(SR.ControlCanSelectDescr))] 1145[SRCategory(nameof(SR.CatFocus))] 1146[SRDescription(nameof(SR.ControlCaptureDescr))] 1171[SRCategory(nameof(SR.CatFocus))] 1173[SRDescription(nameof(SR.ControlCausesValidationDescr))] 1187[SRCategory(nameof(SR.CatPropertyChanged))] 1188[SRDescription(nameof(SR.ControlOnCausesValidationChangedDescr))] 1246[SRDescription(nameof(SR.ControlCheckForIllegalCrossThreadCalls))] 1256[SRCategory(nameof(SR.CatLayout))] 1257[SRDescription(nameof(SR.ControlClientRectangleDescr))] 1263[SRCategory(nameof(SR.CatLayout))] 1267[SRDescription(nameof(SR.ControlClientSizeDescr))] 1277[SRCategory(nameof(SR.CatPropertyChanged))] 1278[SRDescription(nameof(SR.ControlOnClientSizeChangedDescr))] 1291[SRDescription(nameof(SR.ControlCompanyNameDescr))] 1301[SRDescription(nameof(SR.ControlContainsFocusDescr))] 1321[SRCategory(nameof(SR.CatBehavior))] 1323[SRDescription(nameof(SR.ControlContextMenuDescr))] 1350[SRCategory(nameof(SR.CatPropertyChanged))] 1351[SRDescription(nameof(SR.ControlContextMenuStripChangedDescr))] 1363[SRDescription(nameof(SR.ControlControlsDescr))] 1372[SRDescription(nameof(SR.ControlCreatedDescr))] 1395throw new Win32Exception(lastWin32Error, string.Format(SR.LoadDLLError, Libraries.Comctl32)); 1550[SRCategory(nameof(SR.CatAppearance))] 1551[SRDescription(nameof(SR.ControlCursorDescr))] 1603[SRCategory(nameof(SR.CatPropertyChanged))] 1604[SRDescription(nameof(SR.ControlOnCursorChangedDescr))] 1615[SRCategory(nameof(SR.CatData))] 1616[SRDescription(nameof(SR.ControlBindingsDescr))] 1625throw new NotSupportedException(SR.BindingNotSupported); 1742[SRDescription(nameof(SR.ControlDisplayRectangleDescr))] 1753[SRDescription(nameof(SR.ControlDisposedDescr))] 1775[SRDescription(nameof(SR.ControlDisposingDescr))] 1784[SRCategory(nameof(SR.CatLayout))] 1788[SRDescription(nameof(SR.ControlDockDescr))] 1803[SRCategory(nameof(SR.CatPropertyChanged))] 1804[SRDescription(nameof(SR.ControlOnDockChangedDescr))] 1814[SRCategory(nameof(SR.CatBehavior))] 1815[SRDescription(nameof(SR.ControlDoubleBufferedDescr))] 1840[SRCategory(nameof(SR.CatBehavior))] 1843[SRDescription(nameof(SR.ControlEnabledDescr))] 1871[SRCategory(nameof(SR.CatPropertyChanged))] 1872[SRDescription(nameof(SR.ControlOnEnabledChangedDescr))] 1885[SRDescription(nameof(SR.ControlFocusedDescr))] 1893[SRCategory(nameof(SR.CatAppearance))] 1897[SRDescription(nameof(SR.ControlFontDescr))] 1995[SRCategory(nameof(SR.CatPropertyChanged))] 1996[SRDescription(nameof(SR.ControlOnFontChangedDescr))] 2089[SRCategory(nameof(SR.CatAppearance))] 2091[SRDescription(nameof(SR.ControlForeColorDescr))] 2134[SRCategory(nameof(SR.CatPropertyChanged))] 2135[SRDescription(nameof(SR.ControlOnForeColorChangedDescr))] 2207[SRDescription(nameof(SR.ControlHandleDescr))] 2214throw new InvalidOperationException(string.Format(SR.IllegalCrossThreadCall, Name)); 2238[SRDescription(nameof(SR.ControlHasChildrenDescr))] 2244[SRCategory(nameof(SR.CatLayout))] 2248[SRDescription(nameof(SR.ControlHeightDescr))] 2308[SRDescription(nameof(SR.ControlHandleCreatedDescr))] 2382[SRDescription(nameof(SR.ControlInvokeRequiredDescr))] 2414[SRCategory(nameof(SR.CatBehavior))] 2418[SRDescription(nameof(SR.ControlIsAccessibleDescr))] 2459[SRCategory(nameof(SR.CatLayout))] 2463[SRDescription(nameof(SR.IsMirroredDescr))] 2496[SRCategory(nameof(SR.CatLayout))] 2500[SRDescription(nameof(SR.ControlLeftDescr))] 2510[SRCategory(nameof(SR.CatLayout))] 2512[SRDescription(nameof(SR.ControlLocationDescr))] 2519[SRCategory(nameof(SR.CatPropertyChanged))] 2520[SRDescription(nameof(SR.ControlOnLocationChangedDescr))] 2527[SRDescription(nameof(SR.ControlMarginDescr))] 2528[SRCategory(nameof(SR.CatLayout))] 2550[SRCategory(nameof(SR.CatLayout))] 2551[SRDescription(nameof(SR.ControlOnMarginChangedDescr))] 2558[SRCategory(nameof(SR.CatLayout))] 2560[SRDescription(nameof(SR.ControlMaximumSizeDescr))] 2581[SRCategory(nameof(SR.CatLayout))] 2583[SRDescription(nameof(SR.ControlMinimumSizeDescr))] 2704[SRCategory(nameof(SR.CatBehavior))] 2707[SRDescription(nameof(SR.ControlParentDescr))] 2741[SRDescription(nameof(SR.ControlProductNameDescr))] 2750[SRDescription(nameof(SR.ControlProductVersionDescr))] 2766[SRCategory(nameof(SR.CatBehavior))] 2770[SRDescription(nameof(SR.ControlRecreatingHandleDescr))] 2803[SRCategory(nameof(SR.CatLayout))] 2807[SRDescription(nameof(SR.ControlRegionDescr))] 2854[SRCategory(nameof(SR.CatPropertyChanged))] 2855[SRDescription(nameof(SR.ControlRegionChangedDescr))] 2920[SRDescription(nameof(SR.ControlResizeRedrawDescr))] 2930[SRCategory(nameof(SR.CatLayout))] 2934[SRDescription(nameof(SR.ControlRightDescr))] 2942[SRCategory(nameof(SR.CatAppearance))] 2945[SRDescription(nameof(SR.ControlRightToLeftDescr))] 2982[SRCategory(nameof(SR.CatPropertyChanged))] 2983[SRDescription(nameof(SR.ControlOnRightToLeftChangedDescr))] 3102[SRCategory(nameof(SR.CatLayout))] 3104[SRDescription(nameof(SR.ControlSizeDescr))] 3111[SRCategory(nameof(SR.CatPropertyChanged))] 3112[SRDescription(nameof(SR.ControlOnSizeChangedDescr))] 3122[SRCategory(nameof(SR.CatBehavior))] 3125[SRDescription(nameof(SR.ControlTabIndexDescr))] 3141[SRCategory(nameof(SR.CatPropertyChanged))] 3142[SRDescription(nameof(SR.ControlOnTabIndexChangedDescr))] 3153[SRCategory(nameof(SR.CatBehavior))] 3156[SRDescription(nameof(SR.ControlTabStopDescr))] 3188[SRCategory(nameof(SR.CatPropertyChanged))] 3189[SRDescription(nameof(SR.ControlOnTabStopChangedDescr))] 3196[SRCategory(nameof(SR.CatData))] 3199[SRDescription(nameof(SR.ControlTagDescr))] 3211[SRCategory(nameof(SR.CatAppearance))] 3215[SRDescription(nameof(SR.ControlTextDescr))] 3251[SRCategory(nameof(SR.CatPropertyChanged))] 3252[SRDescription(nameof(SR.ControlOnTextChangedDescr))] 3262[SRCategory(nameof(SR.CatLayout))] 3266[SRDescription(nameof(SR.ControlTopDescr))] 3278[SRCategory(nameof(SR.CatBehavior))] 3282[SRDescription(nameof(SR.ControlTopLevelControlDescr))] 3443[SRCategory(nameof(SR.CatAppearance))] 3444[SRDescription(nameof(SR.ControlUseWaitCursorDescr))] 3527[SRCategory(nameof(SR.CatBehavior))] 3529[SRDescription(nameof(SR.ControlVisibleDescr))] 3548[SRCategory(nameof(SR.CatPropertyChanged))] 3549[SRDescription(nameof(SR.ControlOnVisibleChangedDescr))] 3595throw new InvalidAsynchronousStateException(SR.ThreadNoLongerValid); 3619[SRCategory(nameof(SR.CatLayout))] 3623[SRDescription(nameof(SR.ControlWidthDescr))] 3651[SRCategory(nameof(SR.CatBehavior))] 3655[SRDescription(nameof(SR.ControlWindowTargetDescr))] 3702[SRCategory(nameof(SR.CatAction))] 3703[SRDescription(nameof(SR.ControlOnClickDescr))] 3713[SRCategory(nameof(SR.CatBehavior))] 3716[SRDescription(nameof(SR.ControlOnControlAddedDescr))] 3726[SRCategory(nameof(SR.CatBehavior))] 3729[SRDescription(nameof(SR.ControlOnControlRemovedDescr))] 3739[SRCategory(nameof(SR.CatData))] 3742[SRDescription(nameof(SR.ControlDataContextChangedDescr))] 3749[SRCategory(nameof(SR.CatDragDrop))] 3750[SRDescription(nameof(SR.ControlOnDragDropDescr))] 3757[SRCategory(nameof(SR.CatDragDrop))] 3758[SRDescription(nameof(SR.ControlOnDragEnterDescr))] 3765[SRCategory(nameof(SR.CatDragDrop))] 3766[SRDescription(nameof(SR.ControlOnDragOverDescr))] 3773[SRCategory(nameof(SR.CatDragDrop))] 3774[SRDescription(nameof(SR.ControlOnDragLeaveDescr))] 3781[SRCategory(nameof(SR.CatDragDrop))] 3782[SRDescription(nameof(SR.ControlOnGiveFeedbackDescr))] 3792[SRCategory(nameof(SR.CatPrivate))] 3795[SRDescription(nameof(SR.ControlOnCreateHandleDescr))] 3805[SRCategory(nameof(SR.CatPrivate))] 3808[SRDescription(nameof(SR.ControlOnDestroyHandleDescr))] 3815[SRCategory(nameof(SR.CatBehavior))] 3816[SRDescription(nameof(SR.ControlOnHelpDescr))] 3823[SRCategory(nameof(SR.CatAppearance))] 3826[SRDescription(nameof(SR.ControlOnInvalidateDescr))] 3839[SRDescription(nameof(SR.ControlPaddingDescr))] 3840[SRCategory(nameof(SR.CatLayout))] 3869[SRCategory(nameof(SR.CatLayout))] 3870[SRDescription(nameof(SR.ControlOnPaddingChangedDescr))] 3877[SRCategory(nameof(SR.CatAppearance))] 3878[SRDescription(nameof(SR.ControlOnPaintDescr))] 3885[SRCategory(nameof(SR.CatDragDrop))] 3886[SRDescription(nameof(SR.ControlOnQueryContinueDragDescr))] 3893[SRCategory(nameof(SR.CatBehavior))] 3894[SRDescription(nameof(SR.ControlOnQueryAccessibilityHelpDescr))] 3904[SRCategory(nameof(SR.CatAction))] 3905[SRDescription(nameof(SR.ControlOnDoubleClickDescr))] 3915[SRCategory(nameof(SR.CatFocus))] 3916[SRDescription(nameof(SR.ControlOnEnterDescr))] 3926[SRCategory(nameof(SR.CatFocus))] 3927[SRDescription(nameof(SR.ControlOnGotFocusDescr))] 3939[SRCategory(nameof(SR.CatKey))] 3940[SRDescription(nameof(SR.ControlOnKeyDownDescr))] 3950[SRCategory(nameof(SR.CatKey))] 3951[SRDescription(nameof(SR.ControlOnKeyPressDescr))] 3961[SRCategory(nameof(SR.CatKey))] 3962[SRDescription(nameof(SR.ControlOnKeyUpDescr))] 3969[SRCategory(nameof(SR.CatLayout))] 3970[SRDescription(nameof(SR.ControlOnLayoutDescr))] 3980[SRCategory(nameof(SR.CatFocus))] 3981[SRDescription(nameof(SR.ControlOnLeaveDescr))] 3991[SRCategory(nameof(SR.CatFocus))] 3992[SRDescription(nameof(SR.ControlOnLostFocusDescr))] 4004[SRCategory(nameof(SR.CatAction))] 4005[SRDescription(nameof(SR.ControlOnMouseClickDescr))] 4015[SRCategory(nameof(SR.CatAction))] 4016[SRDescription(nameof(SR.ControlOnMouseDoubleClickDescr))] 4026[SRCategory(nameof(SR.CatAction))] 4027[SRDescription(nameof(SR.ControlOnMouseCaptureChangedDescr))] 4038[SRCategory(nameof(SR.CatMouse))] 4039[SRDescription(nameof(SR.ControlOnMouseDownDescr))] 4049[SRCategory(nameof(SR.CatMouse))] 4050[SRDescription(nameof(SR.ControlOnMouseEnterDescr))] 4060[SRCategory(nameof(SR.CatMouse))] 4061[SRDescription(nameof(SR.ControlOnMouseLeaveDescr))] 4073[SRCategory(nameof(SR.CatLayout))] 4074[SRDescription(nameof(SR.ControlOnDpiChangedBeforeParentDescr))] 4086[SRCategory(nameof(SR.CatLayout))] 4087[SRDescription(nameof(SR.ControlOnDpiChangedAfterParentDescr))] 4097[SRCategory(nameof(SR.CatMouse))] 4098[SRDescription(nameof(SR.ControlOnMouseHoverDescr))] 4108[SRCategory(nameof(SR.CatMouse))] 4109[SRDescription(nameof(SR.ControlOnMouseMoveDescr))] 4119[SRCategory(nameof(SR.CatMouse))] 4120[SRDescription(nameof(SR.ControlOnMouseUpDescr))] 4130[SRCategory(nameof(SR.CatMouse))] 4131[SRDescription(nameof(SR.ControlOnMouseWheelDescr))] 4143[SRCategory(nameof(SR.CatLayout))] 4144[SRDescription(nameof(SR.ControlOnMoveDescr))] 4154[SRCategory(nameof(SR.CatKey))] 4155[SRDescription(nameof(SR.PreviewKeyDownDescr))] 4165[SRCategory(nameof(SR.CatLayout))] 4166[SRDescription(nameof(SR.ControlOnResizeDescr))] 4174[SRCategory(nameof(SR.CatBehavior))] 4175[SRDescription(nameof(SR.ControlOnChangeUICuesDescr))] 4182[SRCategory(nameof(SR.CatBehavior))] 4183[SRDescription(nameof(SR.ControlOnStyleChangedDescr))] 4190[SRCategory(nameof(SR.CatBehavior))] 4191[SRDescription(nameof(SR.ControlOnSystemColorsChangedDescr))] 4201[SRCategory(nameof(SR.CatFocus))] 4202[SRDescription(nameof(SR.ControlOnValidatingDescr))] 4212[SRCategory(nameof(SR.CatFocus))] 4213[SRDescription(nameof(SR.ControlOnValidatedDescr))] 4330[SRCategory(nameof(SR.CatPropertyChanged))] 4331[SRDescription(nameof(SR.ControlOnParentChangedDescr))] 4457throw new ArgumentException(SR.CircularOwner); 4470throw new ArgumentException(SR.CircularOwner); 4809throw new InvalidOperationException(string.Format(SR.ClosingWhileCreatingHandle, "Dispose")); 4911throw new InvalidOperationException(string.Format(SR.ClipboardOrDragDrop_CannotJsonSerializeDataObject, nameof(DoDragDrop))); 5053throw new ArgumentException(SR.ControlBadAsyncResult, nameof(asyncResult)); 5693string.Format(SR.ParentPropertyNotSetInGetNextControl, nameof(Parent), ctl)); 5696string.Format(SR.ControlsPropertyNotSetInGetNextControl, nameof(Controls), parent)); 5703SR.ControlsCollectionShouldNotBeEmptyInGetNextControl, 6316throw new NotSupportedException(SR.ControlIsKeyLockedNumCapsScrollLockKeysSupportedOnly); 6500throw new InvalidOperationException(SR.ErrorNoMarshalingThread); 6751throw new NotSupportedException(SR.BindingNotSupported); 7091throw new Win32Exception(Marshal.GetLastWin32Error(), SR.Win32SetParentFailed); 9361throw new Win32Exception(Marshal.GetLastWin32Error(), SR.Win32SetParentFailed); 9570throw new ThreadStateException(SR.ThreadMustBeSTA); 9596throw new InvalidOperationException(SR.DragDropRegFailed, e); 10312throw new Win32Exception(Marshal.GetLastWin32Error(), SR.Win32SetParentFailed); 10328throw new Win32Exception(Marshal.GetLastWin32Error(), SR.Win32SetParentFailed); 10381throw new InvalidOperationException(SR.TopLevelNotAllowedIfActiveX); 10395throw new ArgumentException(SR.TopLevelParentedControl, nameof(value)); 11359throw new InvalidOperationException(SR.RichControlLresult, e); 12735throw new NotSupportedException(SR.DesignTimeFeaturesNotSupported);
System\Windows\Forms\Control.Ime.cs (3)
131[SRCategory(nameof(SR.CatBehavior))] 134[SRDescription(nameof(SR.ControlIMEModeDescr))] 215[SRDescription(nameof(SR.ControlOnImeModeChangedDescr))]
System\Windows\Forms\Control.MetafileDCWrapper.cs (1)
35throw new ArgumentException(SR.ControlMetaFileDCWrapperSizeInvalid, nameof(size));
System\Windows\Forms\Control_InvokeAsync.cs (4)
56throw new InvalidOperationException(SR.ErrorNoMarshalingThread); 181throw new InvalidOperationException(SR.ErrorNoMarshalingThread); 282throw new InvalidOperationException(SR.ErrorNoMarshalingThread); 387throw new InvalidOperationException(SR.ErrorNoMarshalingThread);
System\Windows\Forms\Controls\Buttons\Button.cs (5)
16[SRDescription(nameof(SR.DescriptionButton))] 45[SRCategory(nameof(SR.CatLayout))] 49[SRDescription(nameof(SR.ControlAutoSizeModeDescr))] 138[SRCategory(nameof(SR.CatBehavior))] 140[SRDescription(nameof(SR.ButtonDialogResultDescr))]
System\Windows\Forms\Controls\Buttons\ButtonBase.ButtonBaseAccessibleObject.cs (1)
13: throw new ArgumentException(string.Format(SR.ConstructorArgumentInvalidValueType, nameof(owner), typeof(ButtonBase))))
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (41)
91[SRCategory(nameof(SR.CatBehavior))] 95[SRDescription(nameof(SR.ButtonAutoEllipsisDescr))] 137[SRCategory(nameof(SR.CatPropertyChanged))] 138[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 150[SRCategory(nameof(SR.CatAppearance))] 151[SRDescription(nameof(SR.ControlBackColorDescr))] 163throw new NotSupportedException(SR.DesignTimeFeaturesNotSupported); 186[SRCategory(nameof(SR.CatData))] 187[SRDescription(nameof(SR.CommandComponentCommandDescr))] 198[SRCategory(nameof(SR.CatData))] 200[SRDescription(nameof(SR.CommandCanExecuteChangedEventDescr))] 210[SRCategory(nameof(SR.CatData))] 212[SRDescription(nameof(SR.CommandChangedEventDescr))] 224[SRCategory(nameof(SR.CatData))] 225[SRDescription(nameof(SR.CommandComponentCommandParameterDescr))] 249[SRCategory(nameof(SR.CatData))] 251[SRDescription(nameof(SR.CommandParameterChangedEventDescr))] 381[SRCategory(nameof(SR.CatAppearance))] 384[SRDescription(nameof(SR.ButtonFlatStyleDescr))] 406[SRCategory(nameof(SR.CatAppearance))] 407[SRDescription(nameof(SR.ButtonFlatAppearance))] 414[SRDescription(nameof(SR.ButtonImageDescr))] 416[SRCategory(nameof(SR.CatAppearance))] 477[SRDescription(nameof(SR.ButtonImageAlignDescr))] 478[SRCategory(nameof(SR.CatAppearance))] 504[SRDescription(nameof(SR.ButtonImageIndexDescr))] 505[SRCategory(nameof(SR.CatAppearance))] 551[SRDescription(nameof(SR.ButtonImageIndexDescr))] 552[SRCategory(nameof(SR.CatAppearance))] 580[SRDescription(nameof(SR.ButtonImageListDescr))] 582[SRCategory(nameof(SR.CatAppearance))] 730[SRDescription(nameof(SR.ButtonTextAlignDescr))] 731[SRCategory(nameof(SR.CatAppearance))] 759[SRDescription(nameof(SR.ButtonTextImageRelationDescr))] 760[SRCategory(nameof(SR.CatAppearance))] 783[SRDescription(nameof(SR.ButtonUseMnemonicDescr))] 785[SRCategory(nameof(SR.CatAppearance))] 1317[SRCategory(nameof(SR.CatBehavior))] 1318[SRDescription(nameof(SR.UseCompatibleTextRenderingDescr))] 1327[SRCategory(nameof(SR.CatAppearance))] 1328[SRDescription(nameof(SR.ButtonUseVisualStyleBackColorDescr))]
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (2)
138Debug.Fail(string.Format(SR.InvalidArgument, nameof(composition), composition.ToString())); 169Debug.Fail(string.Format(SR.InvalidArgument, nameof(composition), composition.ToString()));
System\Windows\Forms\Controls\Buttons\CheckBox.CheckBoxAccessibleObject.cs (3)
13: throw new ArgumentException(string.Format(SR.ConstructorArgumentInvalidValueType, nameof(owner), typeof(CheckBox)))) 16? owner.AccessibleDefaultActionDescription ?? (owner.Checked ? SR.AccessibleActionUncheck : SR.AccessibleActionCheck)
System\Windows\Forms\Controls\Buttons\CheckBox.cs (17)
20[SRDescription(nameof(SR.DescriptionCheckBox))] 61[SRCategory(nameof(SR.CatAppearance))] 62[SRDescription(nameof(SR.CheckBoxAppearanceDescr))] 109[SRCategory(nameof(SR.CatPropertyChanged))] 110[SRDescription(nameof(SR.CheckBoxOnAppearanceChangedDescr))] 122[SRCategory(nameof(SR.CatBehavior))] 123[SRDescription(nameof(SR.CheckBoxAutoCheckDescr))] 131[SRCategory(nameof(SR.CatAppearance))] 133[SRDescription(nameof(SR.CheckBoxCheckAlignDescr))] 165[SRCategory(nameof(SR.CatAppearance))] 167[SRDescription(nameof(SR.CheckBoxCheckedDescr))] 184[SRCategory(nameof(SR.CatAppearance))] 187[SRDescription(nameof(SR.CheckBoxCheckStateDescr))] 364[SRCategory(nameof(SR.CatBehavior))] 365[SRDescription(nameof(SR.CheckBoxThreeStateDescr))] 371[SRDescription(nameof(SR.CheckBoxOnCheckedChangedDescr))] 381[SRDescription(nameof(SR.CheckBoxOnCheckStateChangedDescr))]
System\Windows\Forms\Controls\Buttons\FlatButtonAppearance.cs (11)
28[SRCategory(nameof(SR.CatAppearance))] 29[SRDescription(nameof(SR.ButtonBorderSizeDescr))] 62[SRCategory(nameof(SR.CatAppearance))] 63[SRDescription(nameof(SR.ButtonBorderColorDescr))] 73throw new NotSupportedException(SR.ButtonFlatAppearanceInvalidBorderColor); 90[SRCategory(nameof(SR.CatAppearance))] 91[SRDescription(nameof(SR.ButtonCheckedBackColorDescr))] 114[SRCategory(nameof(SR.CatAppearance))] 115[SRDescription(nameof(SR.ButtonMouseDownBackColorDescr))] 138[SRCategory(nameof(SR.CatAppearance))] 139[SRDescription(nameof(SR.ButtonMouseOverBackColorDescr))]
System\Windows\Forms\Controls\Buttons\RadioButton.cs (12)
21[SRDescription(nameof(SR.DescriptionRadioButton))] 58[SRCategory(nameof(SR.CatBehavior))] 59[SRDescription(nameof(SR.RadioButtonAutoCheckDescr))] 77[SRCategory(nameof(SR.CatAppearance))] 79[SRDescription(nameof(SR.RadioButtonAppearanceDescr))] 110[SRCategory(nameof(SR.CatPropertyChanged))] 111[SRDescription(nameof(SR.RadioButtonOnAppearanceChangedDescr))] 122[SRCategory(nameof(SR.CatAppearance))] 124[SRDescription(nameof(SR.RadioButtonCheckAlignDescr))] 150[SRCategory(nameof(SR.CatAppearance))] 151[SRDescription(nameof(SR.RadioButtonCheckedDescr))] 332[SRDescription(nameof(SR.RadioButtonOnCheckedChangedDescr))]
System\Windows\Forms\Controls\Buttons\RadioButton.RadioButtonAccessibleObject.cs (1)
16: SR.AccessibleActionCheck;
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxAccessibleObject.cs (2)
106return owner.DroppedDown ? SR.AccessibleActionCollapse : SR.AccessibleActionExpand;
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildDropDownButtonUiaProvider.cs (2)
40public override string Name => _owner.DroppedDown ? SR.ComboboxDropDownButtonCloseName : SR.ComboboxDropDownButtonOpenName;
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildEditUiaProvider.cs (1)
66public override string Name => base.Name ?? SR.ComboBoxEditDefaultAccessibleName;
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildNativeWindow.cs (1)
153throw new InvalidOperationException(SR.RichControlLresult, e);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (62)
25[SRDescription(nameof(SR.DescriptionComboBox))] 134[SRDescription(nameof(SR.ComboBoxAutoCompleteModeDescr))] 151throw new NotSupportedException(SR.ComboBoxAutoCompleteModeOnlyNoneAllowed); 156throw new ThreadStateException(SR.ThreadMustBeSTA); 176[SRDescription(nameof(SR.ComboBoxAutoCompleteSourceDescr))] 193throw new NotSupportedException(SR.ComboBoxAutoCompleteSourceOnlyListItemsAllowed); 198throw new ThreadStateException(SR.ThreadMustBeSTA); 212[SRDescription(nameof(SR.ComboBoxAutoCompleteCustomSourceDescr))] 403[SRCategory(nameof(SR.CatData))] 407[SRDescription(nameof(SR.ListControlDataSourceDescr))] 418[SRCategory(nameof(SR.CatBehavior))] 420[SRDescription(nameof(SR.ComboBoxDrawModeDescr))] 441[SRCategory(nameof(SR.CatBehavior))] 442[SRDescription(nameof(SR.ComboBoxDropDownWidthDescr))] 464[SRCategory(nameof(SR.CatBehavior))] 465[SRDescription(nameof(SR.ComboBoxDropDownHeightDescr))] 492[SRDescription(nameof(SR.ComboBoxDroppedDownDescr))] 510[SRCategory(nameof(SR.CatAppearance))] 513[SRDescription(nameof(SR.ComboBoxFlatStyleDescr))] 562[SRCategory(nameof(SR.CatBehavior))] 565[SRDescription(nameof(SR.ComboBoxIntegralHeightDescr))] 586[SRCategory(nameof(SR.CatBehavior))] 588[SRDescription(nameof(SR.ComboBoxItemHeightDescr))] 627[SRCategory(nameof(SR.CatData))] 630[SRDescription(nameof(SR.ComboBoxItemsDescr))] 655[SRCategory(nameof(SR.CatBehavior))] 658[SRDescription(nameof(SR.ComboBoxMaxDropDownItemsDescr))] 690[SRCategory(nameof(SR.CatBehavior))] 693[SRDescription(nameof(SR.ComboBoxMaxLengthDescr))] 764[SRDescription(nameof(SR.ComboBoxPreferredHeightDescr))] 878[SRDescription(nameof(SR.ComboBoxSelectedIndexDescr))] 920[SRDescription(nameof(SR.ComboBoxSelectedItemDescr))] 959[SRDescription(nameof(SR.ComboBoxSelectedTextDescr))] 981[SRDescription(nameof(SR.ComboBoxSelectionLengthDescr))] 1003[SRDescription(nameof(SR.ComboBoxSelectionStartDescr))] 1023[SRCategory(nameof(SR.CatBehavior))] 1025[SRDescription(nameof(SR.ComboBoxSortedDescr))] 1038throw new ArgumentException(SR.ComboBoxSortWithDataSource); 1052[SRCategory(nameof(SR.CatAppearance))] 1054[SRDescription(nameof(SR.ComboBoxStyleDescr))] 1233[SRCategory(nameof(SR.CatBehavior))] 1234[SRDescription(nameof(SR.drawItemEventDescr))] 1241[SRCategory(nameof(SR.CatBehavior))] 1242[SRDescription(nameof(SR.ComboBoxOnDropDownDescr))] 1249[SRCategory(nameof(SR.CatBehavior))] 1250[SRDescription(nameof(SR.measureItemEventDescr))] 1265[SRCategory(nameof(SR.CatBehavior))] 1266[SRDescription(nameof(SR.selectedIndexChangedEventDescr))] 1273[SRCategory(nameof(SR.CatBehavior))] 1274[SRDescription(nameof(SR.selectionChangeCommittedEventDescr))] 1281[SRCategory(nameof(SR.CatBehavior))] 1282[SRDescription(nameof(SR.ComboBoxDropDownStyleChangedDescr))] 1305[SRCategory(nameof(SR.CatBehavior))] 1306[SRDescription(nameof(SR.ComboBoxOnTextUpdateDescr))] 1317[SRCategory(nameof(SR.CatBehavior))] 1318[SRDescription(nameof(SR.ComboBoxOnDropDownClosedDescr))] 1363throw new ArgumentException(SR.DataSourceLocksItems); 2172return insertIndex < 0 ? throw new OutOfMemoryException(SR.ComboBoxItemOverflow) : insertIndex; 2225throw new OutOfMemoryException(SR.ComboBoxItemOverflow); 2845throw new InvalidOperationException(SR.ComboBoxDataSourceWithSort); 3155throw new ArgumentException(SR.AutoCompleteFailure); 3198throw new ArgumentException(SR.AutoCompleteFailureListItems);
System\Windows\Forms\Controls\ComboBox\ComboBox.ObjectCollection.EntryEnumerator.cs (1)
64throw new InvalidOperationException(SR.ListEnumCurrentOutOfRange);
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (4)
246return (VARIANT)SR.NotSortedAccessibleStatus; 248return (VARIANT)string.Format(SR.DataGridViewSortedAscendingAccessibleStatusFormat, owner.SortedColumn?.HeaderText); 250return (VARIANT)string.Format(SR.DataGridViewSortedDescendingAccessibleStatusFormat, owner.SortedColumn?.HeaderText); 256return (VARIANT)SR.NotSortedAccessibleStatus;
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (356)
16[SRDescription(nameof(SR.DescriptionDataGridView))] 457_horizScrollBar.AccessibleName = SR.DataGridView_AccHorizontalScrollBarAccName; 465_vertScrollBar.AccessibleName = SR.DataGridView_AccVerticalScrollBarAccName; 646[SRCategory(nameof(SR.CatBehavior))] 647[SRDescription(nameof(SR.DataGridView_AllowUserToAddRowsDescr))] 670[SRCategory(nameof(SR.CatPropertyChanged))] 671[SRDescription(nameof(SR.DataGridViewOnAllowUserToAddRowsChangedDescr))] 679[SRCategory(nameof(SR.CatBehavior))] 680[SRDescription(nameof(SR.DataGridView_AllowUserToDeleteRowsDescr))] 698[SRCategory(nameof(SR.CatPropertyChanged))] 699[SRDescription(nameof(SR.DataGridViewOnAllowUserToDeleteRowsChangedDescr))] 707[SRCategory(nameof(SR.CatBehavior))] 708[SRDescription(nameof(SR.DataGridView_AllowUserToOrderColumnsDescr))] 725[SRCategory(nameof(SR.CatPropertyChanged))] 726[SRDescription(nameof(SR.DataGridViewOnAllowUserToOrderColumnsChangedDescr))] 738[SRCategory(nameof(SR.CatBehavior))] 739[SRDescription(nameof(SR.DataGridView_AllowUserToResizeColumnsDescr))] 753[SRCategory(nameof(SR.CatPropertyChanged))] 754[SRDescription(nameof(SR.DataGridViewOnAllowUserToResizeColumnsChangedDescr))] 766[SRCategory(nameof(SR.CatBehavior))] 767[SRDescription(nameof(SR.DataGridView_AllowUserToResizeRowsDescr))] 781[SRCategory(nameof(SR.CatPropertyChanged))] 782[SRDescription(nameof(SR.DataGridViewOnAllowUserToResizeRowsChangedDescr))] 789[SRCategory(nameof(SR.CatAppearance))] 790[SRDescription(nameof(SR.DataGridView_AlternatingRowsDefaultCellStyleDescr))] 820[SRCategory(nameof(SR.CatPropertyChanged))] 821[SRDescription(nameof(SR.DataGridViewAlternatingRowsDefaultCellStyleChangedDescr))] 874[SRCategory(nameof(SR.CatLayout))] 875[SRDescription(nameof(SR.DataGridView_AutoSizeColumnsModeDescr))] 904throw new InvalidOperationException(SR.DataGridView_CannotAutoSizeColumnsInvisibleColumnHeaders); 910throw new InvalidOperationException(SR.DataGridView_CannotAutoFillFrozenColumns); 928[SRCategory(nameof(SR.CatPropertyChanged))] 929[SRDescription(nameof(SR.DataGridViewAutoSizeColumnsModeChangedDescr))] 940[SRCategory(nameof(SR.CatLayout))] 941[SRDescription(nameof(SR.DataGridView_AutoSizeRowsModeDescr))] 964throw new InvalidOperationException(SR.DataGridView_CannotAutoSizeRowsInvisibleRowHeader); 976[SRCategory(nameof(SR.CatPropertyChanged))] 977[SRDescription(nameof(SR.DataGridViewAutoSizeRowsModeChangedDescr))] 1004[SRCategory(nameof(SR.CatAppearance))] 1005[SRDescription(nameof(SR.DataGridViewBackgroundColorDescr))] 1012throw new ArgumentException(string.Format(SR.DataGridView_EmptyColor, "BackgroundColor")); 1014throw new ArgumentException(string.Format(SR.DataGridView_TransparentColor, "BackgroundColor")); 1024[SRCategory(nameof(SR.CatPropertyChanged))] 1025[SRDescription(nameof(SR.DataGridViewBackgroundColorChangedDescr))] 1067[SRCategory(nameof(SR.CatAppearance))] 1068[SRDescription(nameof(SR.DataGridView_BorderStyleDescr))] 1097[SRCategory(nameof(SR.CatPropertyChanged))] 1098[SRDescription(nameof(SR.DataGridViewBorderStyleChangedDescr))] 1146[SRCategory(nameof(SR.CatAppearance))] 1147[SRDescription(nameof(SR.DataGridView_CellBorderStyleDescr))] 1240throw new ArgumentException(string.Format(SR.DataGridView_CustomCellBorderStyleInvalid, "CellBorderStyle")); 1317[SRCategory(nameof(SR.CatPropertyChanged))] 1318[SRDescription(nameof(SR.DataGridView_CellBorderStyleChangedDescr))] 1366[SRCategory(nameof(SR.CatBehavior))] 1367[SRDescription(nameof(SR.DataGridView_ClipboardCopyModeDescr))] 1392throw new InvalidOperationException(SR.DataGridView_CannotSetColumnCountOnDataBoundDataGridView); 1434[SRCategory(nameof(SR.CatAppearance))] 1435[SRDescription(nameof(SR.DataGridView_ColumnHeadersBorderStyleDescr))] 1457throw new ArgumentException(string.Format(SR.DataGridView_CustomCellBorderStyleInvalid, "ColumnHeadersBorderStyle")); 1502[SRCategory(nameof(SR.CatPropertyChanged))] 1503[SRDescription(nameof(SR.DataGridView_ColumnHeadersBorderStyleChangedDescr))] 1510[SRCategory(nameof(SR.CatAppearance))] 1511[SRDescription(nameof(SR.DataGridView_ColumnHeadersDefaultCellStyleDescr))] 1563[SRCategory(nameof(SR.CatPropertyChanged))] 1564[SRDescription(nameof(SR.DataGridViewColumnHeadersDefaultCellStyleChangedDescr))] 1571[SRCategory(nameof(SR.CatAppearance))] 1573[SRDescription(nameof(SR.DataGridView_ColumnHeadersHeightDescr))] 1593[SRCategory(nameof(SR.CatPropertyChanged))] 1594[SRDescription(nameof(SR.DataGridViewColumnHeadersHeightChangedDescr))] 1610[SRCategory(nameof(SR.CatBehavior))] 1611[SRDescription(nameof(SR.DataGridView_ColumnHeadersHeightSizeModeDescr))] 1628[SRCategory(nameof(SR.CatPropertyChanged))] 1629[SRDescription(nameof(SR.DataGridView_ColumnHeadersHeightSizeModeChangedDescr))] 1640[SRCategory(nameof(SR.CatAppearance))] 1642[SRDescription(nameof(SR.DataGridViewColumnHeadersVisibleDescr))] 1658throw new InvalidOperationException(SR.DataGridView_ColumnHeadersCannotBeInvisible); 1734throw new InvalidOperationException(SR.DataGridView_CellChangeCannotBeCommittedOrAborted); 1741throw new ArgumentException(SR.DataGridView_CellDoesNotBelongToDataGridView); 1746throw new InvalidOperationException(SR.DataGridView_CurrentCellCannotBeInvisible); 1751throw new InvalidOperationException(SR.DataGridView_CellChangeCannotBeCommittedOrAborted); 1767throw new InvalidOperationException(SR.DataGridView_CellChangeCannotBeCommittedOrAborted); 1881[SRCategory(nameof(SR.CatData))] 1883[SRDescription(nameof(SR.DataGridViewDataMemberDescr))] 1900[SRCategory(nameof(SR.CatPropertyChanged))] 1901[SRDescription(nameof(SR.DataGridViewDataMemberChangedDescr))] 1909[SRCategory(nameof(SR.CatData))] 1912[SRDescription(nameof(SR.DataGridViewDataSourceDescr))] 1957[SRCategory(nameof(SR.CatPropertyChanged))] 1958[SRDescription(nameof(SR.DataGridViewDataSourceChangedDescr))] 1965[SRCategory(nameof(SR.CatAppearance))] 1966[SRDescription(nameof(SR.DataGridView_DefaultCellStyleDescr))] 2077[SRCategory(nameof(SR.CatPropertyChanged))] 2078[SRDescription(nameof(SR.DataGridViewDefaultCellStyleChangedDescr))] 2148[SRCategory(nameof(SR.CatBehavior))] 2150[SRDescription(nameof(SR.DataGridView_EditModeDescr))] 2167[SRCategory(nameof(SR.CatPropertyChanged))] 2168[SRDescription(nameof(SR.DataGridView_EditModeChangedDescr))] 2241AccessibleName = SR.DataGridView_AccEditingPanelAccName 2262[SRCategory(nameof(SR.CatAppearance))] 2264[SRDescription(nameof(SR.DataGridView_EnableHeadersVisualStylesDescr))] 2300throw new ArgumentException(SR.DataGridView_CellDoesNotBelongToDataGridView); 2305throw new InvalidOperationException(SR.DataGridView_FirstDisplayedCellCannotBeAHeaderOrSharedCell); 2315throw new InvalidOperationException(SR.DataGridView_FirstDisplayedCellCannotBeInvisible); 2456throw new InvalidOperationException(SR.DataGridView_FirstDisplayedScrollingColumnCannotBeInvisible); 2461throw new InvalidOperationException(SR.DataGridView_FirstDisplayedScrollingColumnCannotBeFrozen); 2472throw new InvalidOperationException(SR.DataGridView_NoRoomForDisplayedColumns); 2479throw new InvalidOperationException(SR.DataGridView_FrozenColumnsPreventFirstDisplayedScrollingColumn); 2536throw new InvalidOperationException(SR.DataGridView_FirstDisplayedScrollingRowCannotBeInvisible); 2541throw new InvalidOperationException(SR.DataGridView_FirstDisplayedScrollingRowCannotBeFrozen); 2552throw new InvalidOperationException(SR.DataGridView_NoRoomForDisplayedRows); 2559throw new InvalidOperationException(SR.DataGridView_FrozenRowsPreventFirstDisplayedScrollingRow); 2640[SRCategory(nameof(SR.CatAppearance))] 2641[SRDescription(nameof(SR.DataGridViewGridColorDescr))] 2648throw new ArgumentException(string.Format(SR.DataGridView_EmptyColor, nameof(GridColor))); 2650throw new ArgumentException(string.Format(SR.DataGridView_TransparentColor, nameof(GridColor))); 2660[SRCategory(nameof(SR.CatPropertyChanged))] 2661[SRDescription(nameof(SR.DataGridViewOnGridColorChangedDescr))] 2991[SRCategory(nameof(SR.CatBehavior))] 2993[SRDescription(nameof(SR.DataGridView_MultiSelectDescr))] 3008[SRCategory(nameof(SR.CatPropertyChanged))] 3009[SRDescription(nameof(SR.DataGridViewOnMultiSelectChangedDescr))] 3058[SRCategory(nameof(SR.CatBehavior))] 3059[SRDescription(nameof(SR.DataGridView_ReadOnlyDescr))] 3085throw new InvalidOperationException(SR.DataGridView_CommitFailedCannotCompleteOperation); 3132[SRCategory(nameof(SR.CatPropertyChanged))] 3133[SRDescription(nameof(SR.DataGridViewOnReadOnlyChangedDescr))] 3150throw new InvalidOperationException(SR.DataGridView_CellChangeCannotBeCommittedOrAborted); 3184throw new InvalidOperationException(SR.DataGridView_CannotSetRowCountOnDataBoundDataGridView); 3230[SRCategory(nameof(SR.CatAppearance))] 3231[SRDescription(nameof(SR.DataGridView_RowHeadersBorderStyleDescr))] 3254throw new ArgumentException(string.Format(SR.DataGridView_CustomCellBorderStyleInvalid, "RowHeadersBorderStyle")); 3289[SRCategory(nameof(SR.CatPropertyChanged))] 3290[SRDescription(nameof(SR.DataGridView_RowHeadersBorderStyleChangedDescr))] 3297[SRCategory(nameof(SR.CatAppearance))] 3298[SRDescription(nameof(SR.DataGridView_RowHeadersDefaultCellStyleDescr))] 3328[SRCategory(nameof(SR.CatPropertyChanged))] 3329[SRDescription(nameof(SR.DataGridViewRowHeadersDefaultCellStyleChangedDescr))] 3340[SRCategory(nameof(SR.CatAppearance))] 3342[SRDescription(nameof(SR.DataGridViewRowHeadersVisibleDescr))] 3353throw new InvalidOperationException(SR.DataGridView_RowHeadersCannotBeInvisible); 3377[SRCategory(nameof(SR.CatLayout))] 3379[SRDescription(nameof(SR.DataGridView_RowHeadersWidthDescr))] 3431[SRCategory(nameof(SR.CatPropertyChanged))] 3432[SRDescription(nameof(SR.DataGridViewRowHeadersWidthChangedDescr))] 3448[SRCategory(nameof(SR.CatBehavior))] 3449[SRDescription(nameof(SR.DataGridView_RowHeadersWidthSizeModeDescr))] 3471[SRCategory(nameof(SR.CatPropertyChanged))] 3472[SRDescription(nameof(SR.DataGridView_RowHeadersWidthSizeModeChangedDescr))] 3490[SRCategory(nameof(SR.CatAppearance))] 3491[SRDescription(nameof(SR.DataGridView_RowsDefaultCellStyleDescr))] 3521[SRCategory(nameof(SR.CatPropertyChanged))] 3522[SRDescription(nameof(SR.DataGridViewRowsDefaultCellStyleChangedDescr))] 3529[SRCategory(nameof(SR.CatAppearance))] 3531[SRDescription(nameof(SR.DataGridView_RowTemplateDescr))] 3549throw new InvalidOperationException(SR.DataGridView_RowAlreadyBelongsToDataGridView); 3579[SRCategory(nameof(SR.CatLayout))] 3580[SRDescription(nameof(SR.DataGridView_ScrollBarsDescr))] 3602throw new InvalidOperationException(SR.DataGridView_CellChangeCannotBeCommittedOrAborted); 3739[SRCategory(nameof(SR.CatBehavior))] 3741[SRDescription(nameof(SR.DataGridView_SelectionModeDescr))] 3759throw new InvalidOperationException(string.Format(SR.DataGridView_SelectionModeAndSortModeClash, (value).ToString())); 3771[SRCategory(nameof(SR.CatAppearance))] 3772[SRDescription(nameof(SR.DataGridView_ShowCellErrorsDescr))] 3824[SRCategory(nameof(SR.CatAppearance))] 3825[SRDescription(nameof(SR.DataGridView_ShowCellToolTipsDescr))] 3876[SRCategory(nameof(SR.CatAppearance))] 3877[SRDescription(nameof(SR.DataGridView_ShowEditingIconDescr))] 3912[SRCategory(nameof(SR.CatAppearance))] 3913[SRDescription(nameof(SR.DataGridView_ShowRowErrorsDescr))] 3971[SRCategory(nameof(SR.CatBehavior))] 3974[SRDescription(nameof(SR.DataGridView_StandardTabDescr))] 4135[SRCategory(nameof(SR.CatBehavior))] 4138[SRDescription(nameof(SR.DataGridViewVirtualModeDescr))] 4158[SRCategory(nameof(SR.CatPropertyChanged))] 4159[SRDescription(nameof(SR.DataGridViewAutoSizeColumnModeChangedDescr))] 4166[SRCategory(nameof(SR.CatAction))] 4167[SRDescription(nameof(SR.DataGridView_CancelRowEditDescr))] 4174[SRCategory(nameof(SR.CatData))] 4175[SRDescription(nameof(SR.DataGridView_CellBeginEditDescr))] 4182[SRCategory(nameof(SR.CatMouse))] 4183[SRDescription(nameof(SR.DataGridView_CellClickDescr))] 4190[SRCategory(nameof(SR.CatMouse))] 4191[SRDescription(nameof(SR.DataGridView_CellContentClick))] 4198[SRCategory(nameof(SR.CatMouse))] 4199[SRDescription(nameof(SR.DataGridView_CellContentDoubleClick))] 4206[SRCategory(nameof(SR.CatAction))] 4207[SRDescription(nameof(SR.DataGridView_CellContextMenuStripChanged))] 4215[SRCategory(nameof(SR.CatBehavior))] 4216[SRDescription(nameof(SR.DataGridView_CellContextMenuStripNeeded))] 4224[SRCategory(nameof(SR.CatMouse))] 4225[SRDescription(nameof(SR.DataGridView_CellDoubleClickDescr))] 4232[SRCategory(nameof(SR.CatData))] 4233[SRDescription(nameof(SR.DataGridView_CellEndEditDescr))] 4240[SRCategory(nameof(SR.CatFocus))] 4241[SRDescription(nameof(SR.DataGridView_CellEnterDescr))] 4248[SRCategory(nameof(SR.CatPropertyChanged))] 4249[SRDescription(nameof(SR.DataGridView_CellErrorTextChangedDescr))] 4256[SRCategory(nameof(SR.CatData))] 4258[SRDescription(nameof(SR.DataGridView_CellErrorTextNeededDescr))] 4265[SRCategory(nameof(SR.CatDisplay))] 4266[SRDescription(nameof(SR.DataGridView_CellFormattingDescr))] 4273[SRCategory(nameof(SR.CatFocus))] 4274[SRDescription(nameof(SR.DataGridView_CellLeaveDescr))] 4281[SRCategory(nameof(SR.CatMouse))] 4282[SRDescription(nameof(SR.DataGridView_CellMouseClickDescr))] 4289[SRCategory(nameof(SR.CatMouse))] 4290[SRDescription(nameof(SR.DataGridView_CellMouseDoubleClickDescr))] 4297[SRCategory(nameof(SR.CatMouse))] 4298[SRDescription(nameof(SR.DataGridView_CellMouseDownDescr))] 4305[SRCategory(nameof(SR.CatMouse))] 4306[SRDescription(nameof(SR.DataGridView_CellMouseEnterDescr))] 4313[SRCategory(nameof(SR.CatMouse))] 4314[SRDescription(nameof(SR.DataGridView_CellMouseLeaveDescr))] 4321[SRCategory(nameof(SR.CatMouse))] 4322[SRDescription(nameof(SR.DataGridView_CellMouseMoveDescr))] 4329[SRCategory(nameof(SR.CatMouse))] 4330[SRDescription(nameof(SR.DataGridView_CellMouseUpDescr))] 4337[SRCategory(nameof(SR.CatDisplay))] 4338[SRDescription(nameof(SR.DataGridView_CellPaintingDescr))] 4345[SRCategory(nameof(SR.CatDisplay))] 4346[SRDescription(nameof(SR.DataGridView_CellParsingDescr))] 4353[SRCategory(nameof(SR.CatBehavior))] 4354[SRDescription(nameof(SR.DataGridView_CellStateChangedDescr))] 4361[SRCategory(nameof(SR.CatPropertyChanged))] 4362[SRDescription(nameof(SR.DataGridView_CellStyleChangedDescr))] 4369[SRCategory(nameof(SR.CatPropertyChanged))] 4370[SRDescription(nameof(SR.DataGridView_CellStyleContentChangedDescr))] 4377[SRCategory(nameof(SR.CatPropertyChanged))] 4378[SRDescription(nameof(SR.DataGridView_CellToolTipTextChangedDescr))] 4385[SRCategory(nameof(SR.CatBehavior))] 4386[SRDescription(nameof(SR.DataGridView_CellToolTipTextNeededDescr))] 4394[SRCategory(nameof(SR.CatFocus))] 4395[SRDescription(nameof(SR.DataGridView_CellValidatedDescr))] 4402[SRCategory(nameof(SR.CatFocus))] 4403[SRDescription(nameof(SR.DataGridView_CellValidatingDescr))] 4410[SRCategory(nameof(SR.CatAction))] 4411[SRDescription(nameof(SR.DataGridView_CellValueChangedDescr))] 4418[SRCategory(nameof(SR.CatData))] 4420[SRDescription(nameof(SR.DataGridView_CellValueNeededDescr))] 4427[SRCategory(nameof(SR.CatData))] 4429[SRDescription(nameof(SR.DataGridView_CellValuePushedDescr))] 4436[SRCategory(nameof(SR.CatAction))] 4437[SRDescription(nameof(SR.DataGridView_ColumnAddedDescr))] 4444[SRCategory(nameof(SR.CatPropertyChanged))] 4445[SRDescription(nameof(SR.DataGridView_ColumnContextMenuStripChangedDescr))] 4452[SRCategory(nameof(SR.CatPropertyChanged))] 4453[SRDescription(nameof(SR.DataGridView_ColumnDataPropertyNameChangedDescr))] 4460[SRCategory(nameof(SR.CatPropertyChanged))] 4461[SRDescription(nameof(SR.DataGridView_ColumnDefaultCellStyleChangedDescr))] 4468[SRCategory(nameof(SR.CatPropertyChanged))] 4469[SRDescription(nameof(SR.DataGridView_ColumnDisplayIndexChangedDescr))] 4476[SRCategory(nameof(SR.CatMouse))] 4477[SRDescription(nameof(SR.DataGridView_ColumnDividerDoubleClickDescr))] 4484[SRCategory(nameof(SR.CatPropertyChanged))] 4485[SRDescription(nameof(SR.DataGridView_ColumnDividerWidthChangedDescr))] 4492[SRCategory(nameof(SR.CatMouse))] 4493[SRDescription(nameof(SR.DataGridView_ColumnHeaderMouseClickDescr))] 4500[SRCategory(nameof(SR.CatMouse))] 4501[SRDescription(nameof(SR.DataGridView_ColumnHeaderMouseDoubleClickDescr))] 4508[SRCategory(nameof(SR.CatPropertyChanged))] 4509[SRDescription(nameof(SR.DataGridView_ColumnHeaderCellChangedDescr))] 4516[SRCategory(nameof(SR.CatPropertyChanged))] 4517[SRDescription(nameof(SR.DataGridView_ColumnMinimumWidthChangedDescr))] 4524[SRCategory(nameof(SR.CatPropertyChanged))] 4525[SRDescription(nameof(SR.DataGridView_ColumnNameChangedDescr))] 4532[SRCategory(nameof(SR.CatAction))] 4533[SRDescription(nameof(SR.DataGridView_ColumnRemovedDescr))] 4540[SRCategory(nameof(SR.CatBehavior))] 4541[SRDescription(nameof(SR.DataGridViewColumnSortModeChangedDescr))] 4548[SRCategory(nameof(SR.CatBehavior))] 4549[SRDescription(nameof(SR.DataGridView_ColumnStateChangedDescr))] 4556[SRCategory(nameof(SR.CatPropertyChanged))] 4557[SRDescription(nameof(SR.DataGridView_ColumnToolTipTextChangedDescr))] 4564[SRCategory(nameof(SR.CatAction))] 4565[SRDescription(nameof(SR.DataGridView_ColumnWidthChangedDescr))] 4572[SRCategory(nameof(SR.CatAction))] 4573[SRDescription(nameof(SR.DataGridView_CurrentCellChangedDescr))] 4580[SRCategory(nameof(SR.CatBehavior))] 4582[SRDescription(nameof(SR.DataGridView_CurrentCellDirtyStateChangedDescr))] 4589[SRCategory(nameof(SR.CatData))] 4590[SRDescription(nameof(SR.DataGridView_DataBindingCompleteDescr))] 4597[SRCategory(nameof(SR.CatBehavior))] 4598[SRDescription(nameof(SR.DataGridView_DataErrorDescr))] 4605[SRCategory(nameof(SR.CatData))] 4607[SRDescription(nameof(SR.DataGridView_DefaultValuesNeededDescr))] 4614[SRCategory(nameof(SR.CatAction))] 4615[SRDescription(nameof(SR.DataGridView_EditingControlShowingDescr))] 4622[SRCategory(nameof(SR.CatData))] 4623[SRDescription(nameof(SR.DataGridView_NewRowNeededDescr))] 4630[SRCategory(nameof(SR.CatPropertyChanged))] 4631[SRDescription(nameof(SR.DataGridView_RowContextMenuStripChangedDescr))] 4638[SRCategory(nameof(SR.CatData))] 4640[SRDescription(nameof(SR.DataGridView_RowContextMenuStripNeededDescr))] 4647[SRCategory(nameof(SR.CatPropertyChanged))] 4648[SRDescription(nameof(SR.DataGridView_RowDefaultCellStyleChangedDescr))] 4655[SRCategory(nameof(SR.CatData))] 4657[SRDescription(nameof(SR.DataGridView_RowDirtyStateNeededDescr))] 4664[SRCategory(nameof(SR.CatMouse))] 4665[SRDescription(nameof(SR.DataGridView_RowDividerDoubleClickDescr))] 4672[SRCategory(nameof(SR.CatAppearance))] 4673[SRDescription(nameof(SR.DataGridView_RowDividerHeightChangedDescr))] 4680[SRCategory(nameof(SR.CatFocus))] 4681[SRDescription(nameof(SR.DataGridView_RowEnterDescr))] 4688[SRCategory(nameof(SR.CatPropertyChanged))] 4689[SRDescription(nameof(SR.DataGridView_RowErrorTextChangedDescr))] 4696[SRCategory(nameof(SR.CatData))] 4698[SRDescription(nameof(SR.DataGridView_RowErrorTextNeededDescr))] 4705[SRCategory(nameof(SR.CatMouse))] 4706[SRDescription(nameof(SR.DataGridView_RowHeaderMouseClickDescr))] 4713[SRCategory(nameof(SR.CatMouse))] 4714[SRDescription(nameof(SR.DataGridView_RowHeaderMouseDoubleClickDescr))] 4721[SRCategory(nameof(SR.CatPropertyChanged))] 4722[SRDescription(nameof(SR.DataGridView_RowHeaderCellChangedDescr))] 4729[SRCategory(nameof(SR.CatPropertyChanged))] 4730[SRDescription(nameof(SR.DataGridView_RowHeightChangedDescr))] 4737[SRCategory(nameof(SR.CatData))] 4739[SRDescription(nameof(SR.DataGridView_RowHeightInfoNeededDescr))] 4756[SRCategory(nameof(SR.CatData))] 4758[SRDescription(nameof(SR.DataGridView_RowHeightInfoPushedDescr))] 4765[SRCategory(nameof(SR.CatFocus))] 4766[SRDescription(nameof(SR.DataGridView_RowLeaveDescr))] 4773[SRCategory(nameof(SR.CatPropertyChanged))] 4774[SRDescription(nameof(SR.DataGridView_RowMinimumHeightChangedDescr))] 4781[SRCategory(nameof(SR.CatDisplay))] 4782[SRDescription(nameof(SR.DataGridView_RowPostPaintDescr))] 4799[SRCategory(nameof(SR.CatDisplay))] 4800[SRDescription(nameof(SR.DataGridView_RowPrePaintDescr))] 4817[SRCategory(nameof(SR.CatAction))] 4818[SRDescription(nameof(SR.DataGridView_RowsAddedDescr))] 4825[SRCategory(nameof(SR.CatAction))] 4826[SRDescription(nameof(SR.DataGridView_RowsRemovedDescr))] 4833[SRCategory(nameof(SR.CatBehavior))] 4834[SRDescription(nameof(SR.DataGridView_RowStateChangedDescr))] 4841[SRCategory(nameof(SR.CatBehavior))] 4843[SRDescription(nameof(SR.DataGridView_RowUnsharedDescr))] 4850[SRCategory(nameof(SR.CatFocus))] 4851[SRDescription(nameof(SR.DataGridView_RowValidatedDescr))] 4858[SRCategory(nameof(SR.CatFocus))] 4859[SRDescription(nameof(SR.DataGridView_RowValidatingDescr))] 4866[SRCategory(nameof(SR.CatAction))] 4867[SRDescription(nameof(SR.DataGridView_ScrollDescr))] 4874[SRCategory(nameof(SR.CatAction))] 4875[SRDescription(nameof(SR.DataGridView_SelectionChangedDescr))] 4882[SRCategory(nameof(SR.CatData))] 4884[SRDescription(nameof(SR.DataGridView_SortCompareDescr))] 4891[SRCategory(nameof(SR.CatData))] 4892[SRDescription(nameof(SR.DataGridView_SortedDescr))] 4907[SRCategory(nameof(SR.CatAction))] 4908[SRDescription(nameof(SR.DataGridView_UserAddedRowDescr))] 4915[SRCategory(nameof(SR.CatAction))] 4916[SRDescription(nameof(SR.DataGridView_UserDeletedRowDescr))] 4923[SRCategory(nameof(SR.CatAction))] 4924[SRDescription(nameof(SR.DataGridView_UserDeletingRowDescr))] 4938throw new InvalidOperationException(SR.DataGridViewBeginInit); 4969SR.DataGridView_SelectionModeReset, 4971SR.DataGridView_SelectionModeAndSortModeClash,
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (2)
1241throw new InvalidOperationException(SR.DataGridView_CellChangeCannotBeCommittedOrAborted); 1279throw new InvalidOperationException(SR.DataGridView_CellChangeCannotBeCommittedOrAborted);
System\Windows\Forms\Controls\DataGridView\DataGridView.DataGridViewEditingPanelAccessibleObject.cs (2)
60public override string? Name => SR.DataGridView_AccEditingPanelAccName; 91UIA_PROPERTY_ID.UIA_ProviderDescriptionPropertyId => (VARIANT)SR.DataGridViewEditingPanelUiaProviderDescription,
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (100)
88SR.DataGridView_RowAddedNotification, 526throw new InvalidOperationException(SR.DataGridView_CannotAlterAutoFillColumnParameter); 1695throw new ArgumentException(string.Format(SR.DataGridView_NeedColumnAutoSizingCriteria, "autoSizeColumnMode")); 1718throw new InvalidOperationException(SR.DataGridView_CannotAutoSizeInvisibleColumnHeader); 1963throw new InvalidOperationException(SR.DataGridView_CannotAutoSizeRowInvisibleRowHeader); 1986throw new ArgumentException(string.Format(SR.DataGridView_NeedAutoSizingCriteria, "rowHeadersWidthSizeMode")); 2132throw new ArgumentException(string.Format(SR.DataGridView_NeedAutoSizingCriteria, "rowHeadersWidthSizeMode")); 2364throw new ArgumentException(string.Format(SR.DataGridView_NeedAutoSizingCriteria, "autoSizeRowsMode")); 2370throw new InvalidOperationException(SR.DataGridView_CannotAutoSizeRowsInvisibleRowHeader); 2386throw new InvalidOperationException(SR.DataGridView_CannotAutoSizeRowsInvisibleRowHeader); 2565? throw new InvalidOperationException(SR.DataGridView_NoCurrentCell) 2572throw new InvalidOperationException(SR.DataGridView_BeginEditNotReentrant); 2653throw new InvalidCastException(SR.DataGridView_InvalidEditingControl); 2677EditingControl.AccessibleName = SR.DataGridView_AccEditingControlAccName; 4193throw new InvalidOperationException(SR.DataGridView_AColumnHasNoCellTemplate); 5025throw new InvalidOperationException(SR.DataGridView_CannotAddFrozenColumn); 5039throw new InvalidOperationException(SR.DataGridView_CannotAddNonFrozenColumn); 5164throw new InvalidOperationException(SR.DataGridView_CannotMoveNonFrozenColumn); 5183throw new InvalidOperationException(SR.DataGridView_CannotMoveFrozenColumn); 5231throw new InvalidOperationException(SR.DataGridView_CannotAddFrozenRow); 5244throw new InvalidOperationException(SR.DataGridView_CannotAddNonFrozenRow); 5273throw new InvalidOperationException(SR.DataGridView_CannotAddFrozenRow); 5279throw new InvalidOperationException(SR.DataGridView_CannotAddNonFrozenRow); 6844throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 7120throw new NotSupportedException(SR.DataGridView_DisabledClipboardCopy); 9763throw new ArgumentException(SR.DataGridView_CellDoesNotBelongToDataGridView); 10738throw new InvalidOperationException(SR.DataGridView_ColumnAlreadyBelongsToDataGridView); 10745throw new InvalidOperationException(string.Format(SR.DataGridViewColumn_SortModeAndSelectionModeClash, DataGridViewColumnSortMode.Automatic.ToString(), SelectionMode.ToString())); 10758throw new InvalidOperationException(SR.DataGridView_CannotAddAutoSizedColumn); 10767throw new InvalidOperationException(SR.DataGridView_CannotAddAutoFillColumn); 10778throw new InvalidOperationException(string.Format(SR.DataGridView_WeightSumCannotExceedLongMaxValue, ushort.MaxValue)); 10790throw new InvalidOperationException(SR.DataGridView_CannotAddUntypedColumn); 10857throw new InvalidOperationException(SR.DataGridView_AtLeastOneColumnIsNull); 10862throw new InvalidOperationException(SR.DataGridView_ColumnAlreadyBelongsToDataGridView); 10868throw new InvalidOperationException(SR.DataGridView_CannotAddUntypedColumn); 10876SR.DataGridViewColumn_SortModeAndSelectionModeClash, 10891throw new InvalidOperationException(SR.DataGridView_CannotAddAutoSizedColumn); 10900throw new InvalidOperationException(SR.DataGridView_CannotAddAutoFillColumn); 10910throw new InvalidOperationException(string.Format(SR.DataGridView_WeightSumCannotExceedLongMaxValue, ushort.MaxValue)); 10924throw new InvalidOperationException(SR.DataGridView_CannotAddIdenticalColumns); 11038throw new InvalidOperationException(SR.DataGridView_AtLeastOneRowIsNull); 11043throw new InvalidOperationException(SR.DataGridView_RowAlreadyBelongsToDataGridView); 11048throw new InvalidOperationException(SR.DataGridViewRowCollection_CannotAddOrInsertSelectedRow); 11053throw new InvalidOperationException(SR.DataGridViewRowCollection_TooManyCells); 11065throw new InvalidOperationException(SR.DataGridView_CannotAddIdenticalRows); 11159?? throw new InvalidOperationException(string.Format(SR.InvalidNullArgument, "e.Column")); 11237throw new ArgumentException(SR.DataGridView_PreviousModesHasWrongLength); 11439throw new InvalidOperationException(SR.DataGridView_CannotAlterAutoFillColumnParameter); 13241throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 13305throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 13320throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 13346throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 13368throw new InvalidOperationException(SR.DataGridView_CannotAlterDisplayIndexWithinAdjustments); 13418throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 13494throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 13521throw new InvalidOperationException(SR.DataGridView_CannotAlterAutoFillColumnParameter); 13528throw new InvalidOperationException(string.Format(SR.DataGridView_WeightSumCannotExceedLongMaxValue, ushort.MaxValue)); 13581throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 14042throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 14069throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 14261throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 14463throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 14473throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 14617? SR.DataGridView_ErrorMessageText_NoException 14618: string.Format(SR.DataGridView_ErrorMessageText_WithException, e.Exception); 14624SR.DataGridView_ErrorMessageCaption, 14632MessageBox.Show(errorText, SR.DataGridView_ErrorMessageCaption, MessageBoxButtons.OK, MessageBoxIcon.Error); 14710throw new InvalidOperationException(SR.DataGridView_CannotMakeAutoSizedColumnVisible); 14762throw new InvalidOperationException(SR.DataGridView_CommitFailedCannotCompleteOperation); 14793throw new InvalidOperationException(SR.DataGridView_CurrencyManagerRowCannotBeInvisible); 14824throw new InvalidOperationException(SR.DataGridView_CommitFailedCannotCompleteOperation); 14865throw new InvalidOperationException(SR.DataGridView_CommitFailedCannotCompleteOperation); 15368throw new InvalidOperationException(SR.DataGridView_ColumnAlreadyBelongsToDataGridView); 15376SR.DataGridViewColumn_SortModeAndSelectionModeClash, 15391throw new InvalidOperationException(SR.DataGridView_CannotAddAutoSizedColumn); 15400throw new InvalidOperationException(SR.DataGridView_CannotAddAutoFillColumn); 15425throw new InvalidOperationException(SR.DataGridView_CannotAddUntypedColumn); 16652throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 17580throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 17600throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 17638throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 17760throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 17844throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 18277throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 18361throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 18711throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 18997throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 19706throw new InvalidOperationException(SR.DataGridView_CannotAlterAutoFillColumnParameter); 26765throw new InvalidOperationException(SR.DataGridView_CurrentCellCannotBeInvisible); 26771throw new InvalidOperationException(SR.DataGridView_SetCurrentCellAddressCoreNotReentrant); 27455throw new ArgumentOutOfRangeException(nameof(width), width, string.Format(SR.DataGridView_SizeTooLarge, (UpperSize).ToString(CultureInfo.CurrentCulture))); 27460throw new ArgumentOutOfRangeException(nameof(height), height, string.Format(SR.DataGridView_SizeTooLarge, (UpperSize).ToString(CultureInfo.CurrentCulture))); 27734throw new InvalidOperationException(SR.DataGridView_CurrentCellCannotBeInvisible); 28167throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 28172throw new InvalidOperationException(SR.DataGridView_OperationDisabledInVirtualMode); 28184throw new InvalidOperationException(SR.DataGridView_OperationDisabledInVirtualMode); 28190throw new InvalidOperationException(SR.DataGridView_CannotUseAComparerToSortDataGridViewWhenDataBound); 28200throw new InvalidOperationException(SR.DataGridView_CannotSortDataBoundDataGridViewBoundToNonIBindingList); 28205throw new InvalidOperationException(SR.DataGridView_IBindingListNeedsToSupportSorting); 28210throw new ArgumentException(SR.DataGridView_ColumnNeedsToBeDataBoundWhenSortingDataBoundDataGridView, nameof(dataGridViewColumn));
System\Windows\Forms\Controls\DataGridView\DataGridView.SelectedCellsAccessibleObject.cs (1)
17public override string Name => SR.DataGridView_AccSelectedCellsName;
System\Windows\Forms\Controls\DataGridView\DataGridView.TopRowAccessibleObject.cs (10)
32throw new InvalidOperationException(SR.DataGridViewTopRowAccessibleObject_OwnerNotSet); 45public override string Name => SR.DataGridView_AccTopRow; 59throw new InvalidOperationException(SR.DataGridViewTopRowAccessibleObject_OwnerAlreadySet); 72throw new InvalidOperationException(SR.DataGridViewTopRowAccessibleObject_OwnerNotSet); 102throw new InvalidOperationException(SR.DataGridViewTopRowAccessibleObject_OwnerNotSet); 140throw new InvalidOperationException(SR.DataGridViewTopRowAccessibleObject_OwnerNotSet); 157throw new InvalidOperationException(SR.DataGridViewTopRowAccessibleObject_OwnerNotSet); 191? throw new InvalidOperationException(SR.DataGridViewTopRowAccessibleObject_OwnerNotSet) 205throw new InvalidOperationException(SR.DataGridViewTopRowAccessibleObject_OwnerNotSet); 251? throw new InvalidOperationException(SR.DataGridViewTopRowAccessibleObject_OwnerNotSet)
System\Windows\Forms\Controls\DataGridView\DataGridViewAdvancedBorderStyle.cs (7)
67throw new ArgumentException(string.Format(SR.DataGridView_AdvancedCellBorderStyleInvalid, "All")); 96throw new ArgumentException(string.Format(SR.DataGridView_AdvancedCellBorderStyleInvalid, "Bottom")); 141throw new ArgumentException(string.Format(SR.DataGridView_AdvancedCellBorderStyleInvalid, "Left")); 157throw new ArgumentException(string.Format(SR.DataGridView_AdvancedCellBorderStyleInvalid, "Left")); 197throw new ArgumentException(string.Format(SR.DataGridView_AdvancedCellBorderStyleInvalid, "Right")); 213throw new ArgumentException(string.Format(SR.DataGridView_AdvancedCellBorderStyleInvalid, "Right")); 243throw new ArgumentException(string.Format(SR.DataGridView_AdvancedCellBorderStyleInvalid, "Top"));
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (9)
133SR.DataGridView_WrongType, 286SR.DataGridView_WrongType, 304SR.DataGridView_WrongType, 359throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.DataGridViewBand_MinimumHeightSmallerThanOne, MinBandThickness)); 363throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.DataGridViewBand_MinimumWidthSmallerThanOne, MinBandThickness)); 415throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertySetOnSharedRow, nameof(ReadOnly))); 546throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertySetOnSharedRow, nameof(Selected))); 566throw new InvalidOperationException(SR.DataGridViewBand_CannotSelect); 694throw new InvalidOperationException(SR.DataGridViewBand_NewRowCannotBeInvisible);
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (1)
210? SR.DefaultDataGridViewButtonCellToolTipText
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject.cs (3)
17public override string DefaultAction => SR.DataGridView_AccButtonCellDefaultAction; 25throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 35throw new InvalidOperationException(SR.DataGridView_InvalidOperationOnSharedCell);
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonColumn.cs (11)
37throw new InvalidCastException(string.Format(SR.DataGridViewTypeColumn_WrongCellTemplateType, "System.Windows.Forms.DataGridViewButtonCell")); 45[SRCategory(nameof(SR.CatAppearance))] 46[SRDescription(nameof(SR.DataGridView_ColumnDefaultCellStyleDescr))] 55[SRCategory(nameof(SR.CatAppearance))] 56[SRDescription(nameof(SR.DataGridView_ButtonColumnFlatStyleDescr))] 64throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 98[SRCategory(nameof(SR.CatAppearance))] 99[SRDescription(nameof(SR.DataGridView_ButtonColumnTextDescr))] 143[SRCategory(nameof(SR.CatAppearance))] 144[SRDescription(nameof(SR.DataGridView_ButtonColumnUseColumnTextForButtonValueDescr))] 152throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (18)
402throw new InvalidOperationException(SR.DataGridView_InvalidOperationOnSharedCell); 456throw new InvalidOperationException(SR.DataGridView_InvalidOperationOnSharedCell); 474throw new InvalidOperationException(SR.DataGridViewCell_CannotSetReadOnlyState); 558throw new InvalidOperationException(SR.DataGridView_InvalidOperationOnSharedCell); 567throw new InvalidOperationException(SR.DataGridViewCell_CannotSetSelectedState); 650[SRCategory(nameof(SR.CatData))] 653[SRDescription(nameof(SR.ControlTagDescr))] 1659exception = new FormatException(SR.DataGridViewCell_FormattedValueTypeNull); 1663exception = new FormatException(SR.DataGridViewCell_FormattedValueHasWrongType); 1685throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(constraintSize), constraintSize)); 1707throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(constraintSize), constraintSize)); 1781throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(rowIndex), rowIndex)); 1806throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(rowIndex), rowIndex)); 1874throw new InvalidOperationException(SR.DataGridView_CellNeedsDataGridViewForInheritedStyle); 2357throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertyGetOnSharedCell, "Size")); 3721throw new FormatException(SR.DataGridViewCell_FormattedValueTypeNull); 3726throw new FormatException(SR.DataGridViewCell_ValueTypeNull); 3732throw new ArgumentException(SR.DataGridViewCell_FormattedValueHasWrongType, nameof(formattedValue));
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (21)
37throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 40return !Owner.ReadOnly ? SR.DataGridView_AccCellDefaultAction : string.Empty; 52throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 64string name = string.Format(SR.DataGridView_AccDataGridViewCellName, _owner.OwningColumn.HeaderText, rowIndex).Trim(); 76? SR.SortedAscendingAccessibleStatus 77: SR.SortedDescendingAccessibleStatus); 81name += $", {SR.NotSortedAccessibleStatus}"; 98throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerAlreadySet); 113throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 130throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 187throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 194return SR.DataGridView_AccNullValue; 221throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 264throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 276throw new InvalidOperationException(SR.DataGridView_InvalidOperationOnSharedCell); 314throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 394throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 415throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 439throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 568throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 642throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet);
System\Windows\Forms\Controls\DataGridView\DataGridViewCellCollection.cs (16)
74throw new InvalidOperationException(SR.DataGridViewCellCollection_CellAlreadyBelongsToDataGridView); 79throw new InvalidOperationException(SR.DataGridViewCellCollection_CellAlreadyBelongsToDataGridViewRow); 125throw new ArgumentException(string.Format(SR.DataGridViewColumnCollection_ColumnNotFound, columnName), nameof(columnName)); 140throw new ArgumentException(string.Format(SR.DataGridViewColumnCollection_ColumnNotFound, columnName), nameof(columnName)); 160throw new InvalidOperationException(SR.DataGridViewCellCollection_OwningRowAlreadyBelongsToDataGridView); 165throw new InvalidOperationException(SR.DataGridViewCellCollection_CellAlreadyBelongsToDataGridViewRow); 194throw new InvalidOperationException(SR.DataGridViewCellCollection_OwningRowAlreadyBelongsToDataGridView); 201throw new InvalidOperationException(SR.DataGridViewCellCollection_AtLeastOneCellIsNull); 206throw new InvalidOperationException(SR.DataGridViewCellCollection_CellAlreadyBelongsToDataGridViewRow); 218throw new InvalidOperationException(SR.DataGridViewCellCollection_CannotAddIdenticalCells); 237throw new InvalidOperationException(SR.DataGridViewCellCollection_OwningRowAlreadyBelongsToDataGridView); 269throw new InvalidOperationException(SR.DataGridViewCellCollection_OwningRowAlreadyBelongsToDataGridView); 274throw new InvalidOperationException(SR.DataGridViewCellCollection_CellAlreadyBelongsToDataGridViewRow); 307throw new InvalidOperationException(SR.DataGridViewCellCollection_OwningRowAlreadyBelongsToDataGridView); 323throw new ArgumentException(SR.DataGridViewCellCollection_CellNotFound); 335throw new InvalidOperationException(SR.DataGridViewCellCollection_OwningRowAlreadyBelongsToDataGridView);
System\Windows\Forms\Controls\DataGridView\DataGridViewCellPaintingEventArgs.cs (7)
30throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewPaintPartsCombination, nameof(paintParts)), nameof(paintParts)); 82throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_RowIndexOutOfRange); 87throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_ColumnIndexOutOfRange); 111throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_RowIndexOutOfRange); 116throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_ColumnIndexOutOfRange); 146throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_RowIndexOutOfRange); 151throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_ColumnIndexOutOfRange);
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyle.cs (11)
64[SRDescription(nameof(SR.DataGridViewCellStyleAlignmentDescr))] 66[SRCategory(nameof(SR.CatLayout))] 106[SRCategory(nameof(SR.CatAppearance))] 142[SRCategory(nameof(SR.CatAppearance))] 157[SRCategory(nameof(SR.CatAppearance))] 173[SRCategory(nameof(SR.CatBehavior))] 240[SRCategory(nameof(SR.CatData))] 260[SRCategory(nameof(SR.CatLayout))] 306[SRCategory(nameof(SR.CatAppearance))] 320[SRCategory(nameof(SR.CatAppearance))] 343[SRCategory(nameof(SR.CatLayout))]
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (22)
59throw new ArgumentException(SR.DataGridViewCell_FormattedValueTypeNull); 66throw new ArgumentException(SR.DataGridViewCheckBoxCell_InvalidValueType); 102throw new ArgumentException(SR.DataGridViewCheckBoxCell_InvalidValueType); 127throw new InvalidOperationException(SR.DataGridViewCell_FormattedValueTypeNull); 136return SR.DataGridViewCheckBoxCell_ClipboardChecked; 145return SR.DataGridViewCheckBoxCell_ClipboardIndeterminate; 154return SR.DataGridViewCheckBoxCell_ClipboardUnchecked; 165return ret ? SR.DataGridViewCheckBoxCell_ClipboardTrue : SR.DataGridViewCheckBoxCell_ClipboardFalse; 500return SR.DataGridViewCheckBoxCell_ClipboardFalse; 607return ThreeState ? SR.DataGridViewCheckBoxCell_ClipboardChecked : SR.DataGridViewCheckBoxCell_ClipboardTrue; 611return ThreeState ? SR.DataGridViewCheckBoxCell_ClipboardUnchecked : SR.DataGridViewCheckBoxCell_ClipboardFalse; 618return ThreeState ? SR.DataGridViewCheckBoxCell_ClipboardChecked : SR.DataGridViewCheckBoxCell_ClipboardTrue; 622return ThreeState ? SR.DataGridViewCheckBoxCell_ClipboardUnchecked : SR.DataGridViewCheckBoxCell_ClipboardFalse; 627return SR.DataGridViewCheckBoxCell_ClipboardIndeterminate; 957CheckState.Checked => string.Format(SR.DataGridViewCheckBoxCellCheckedStateDescription, cellName), 958CheckState.Unchecked => string.Format(SR.DataGridViewCheckBoxCellUncheckedStateDescription, cellName), 959_ => string.Format(SR.DataGridViewCheckBoxCellIndeterminateStateDescription, cellName),
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.DataGridViewCheckBoxCellAccessibleObject.cs (7)
25throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 53throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 73return switchToCheckedState ? SR.DataGridView_AccCheckBoxCellDefaultActionCheck : SR.DataGridView_AccCheckBoxCellDefaultActionUncheck; 81throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 91throw new InvalidOperationException(SR.DataGridView_InvalidOperationOnSharedCell); 155throw new InvalidOperationException(string.Format(SR.DataGridViewCellAccessibleObject_OwnerWrongType, Owner is null ? "null" : Owner.GetType().Name));
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxColumn.cs (18)
38throw new InvalidCastException(string.Format(SR.DataGridViewTypeColumn_WrongCellTemplateType, "System.Windows.Forms.DataGridViewCheckBoxCell")); 48[SRCategory(nameof(SR.CatAppearance))] 49[SRDescription(nameof(SR.DataGridView_ColumnDefaultCellStyleDescr))] 58[SRCategory(nameof(SR.CatData))] 59[SRDescription(nameof(SR.DataGridView_CheckBoxColumnFalseValueDescr))] 68throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 102[SRCategory(nameof(SR.CatAppearance))] 103[SRDescription(nameof(SR.DataGridView_CheckBoxColumnFlatStyleDescr))] 111throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 145[SRCategory(nameof(SR.CatData))] 146[SRDescription(nameof(SR.DataGridView_CheckBoxColumnIndeterminateValueDescr))] 155throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 189[SRCategory(nameof(SR.CatBehavior))] 190[SRDescription(nameof(SR.DataGridView_CheckBoxColumnThreeStateDescr))] 198throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 239[SRCategory(nameof(SR.CatData))] 240[SRDescription(nameof(SR.DataGridView_CheckBoxColumnTrueValueDescr))] 249throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (39)
72[SRCategory(nameof(SR.CatLayout))] 74[SRDescription(nameof(SR.DataGridViewColumn_AutoSizeModeDescr))] 104throw new InvalidOperationException(SR.DataGridViewColumn_AutoSizeCriteriaCannotUseInvisibleHeaders); 112throw new InvalidOperationException(SR.DataGridViewColumn_FrozenColumnCannotAutoFill); 166[SRCategory(nameof(SR.CatBehavior))] 167[SRDescription(nameof(SR.DataGridView_ColumnContextMenuStripDescr))] 178[SRDescription(nameof(SR.DataGridView_ColumnDataPropertyNameDescr))] 179[SRCategory(nameof(SR.CatData))] 197[SRCategory(nameof(SR.CatAppearance))] 198[SRDescription(nameof(SR.DataGridView_ColumnDefaultCellStyleDescr))] 245throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.DataGridViewColumn_DisplayIndexTooLarge, int.MaxValue)); 252throw new ArgumentOutOfRangeException(nameof(value), value, SR.DataGridViewColumn_DisplayIndexNegative); 257throw new ArgumentOutOfRangeException(nameof(value), value, SR.DataGridViewColumn_DisplayIndexExceedsColumnCount); 279throw new ArgumentOutOfRangeException(nameof(DisplayIndex), value, SR.DataGridViewColumn_DisplayIndexTooNegative); 324[SRCategory(nameof(SR.CatLayout))] 325[SRDescription(nameof(SR.DataGridView_ColumnDividerWidthDescr))] 332[SRCategory(nameof(SR.CatLayout))] 334[SRDescription(nameof(SR.DataGridViewColumn_FillWeightDescr))] 367[SRCategory(nameof(SR.CatLayout))] 368[SRDescription(nameof(SR.DataGridView_ColumnFrozenDescr))] 384[SRCategory(nameof(SR.CatAppearance))] 385[SRDescription(nameof(SR.DataGridView_ColumnHeaderTextDescr))] 608[SRCategory(nameof(SR.CatLayout))] 609[SRDescription(nameof(SR.DataGridView_ColumnMinimumWidthDescr))] 667[SRCategory(nameof(SR.CatBehavior))] 668[SRDescription(nameof(SR.DataGridView_ColumnReadOnlyDescr))] 681throw new InvalidOperationException(SR.DataGridView_ColumnBoundToAReadOnlyFieldMustRemainReadOnly); 688[SRCategory(nameof(SR.CatBehavior))] 689[SRDescription(nameof(SR.DataGridView_ColumnResizableDescr))] 701[SRCategory(nameof(SR.CatBehavior))] 702[SRDescription(nameof(SR.DataGridView_ColumnSortModeDescr))] 732throw new InvalidOperationException(string.Format(SR.DataGridViewColumn_SortModeAndSelectionModeClash, (value).ToString(), DataGridView.SelectionMode.ToString())); 759[SRCategory(nameof(SR.CatAppearance))] 760[SRDescription(nameof(SR.DataGridView_ColumnToolTipTextDescr))] 797[SRCategory(nameof(SR.CatAppearance))] 798[SRDescription(nameof(SR.DataGridView_ColumnVisibleDescr))] 805[SRCategory(nameof(SR.CatLayout))] 807[SRDescription(nameof(SR.DataGridView_ColumnWidthDescr))] 892throw new ArgumentException(string.Format(SR.DataGridView_NeedColumnAutoSizingCriteria, "autoSizeColumnMode"));
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnCollection.cs (23)
148throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 155throw new InvalidOperationException(SR.DataGridView_CannotAlterDisplayIndexWithinAdjustments); 181throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 188throw new InvalidOperationException(SR.DataGridView_CannotAlterDisplayIndexWithinAdjustments); 271throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 278throw new InvalidOperationException(SR.DataGridView_CannotAlterDisplayIndexWithinAdjustments); 413throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 552throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 602throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 640throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 646throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(excludeFilter))); 680throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 686throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(excludeFilter))); 723throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 729throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(excludeFilter))); 796throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 802throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(excludeFilter))); 869throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 876throw new InvalidOperationException(SR.DataGridView_CannotAlterDisplayIndexWithinAdjustments); 993throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView, nameof(dataGridViewColumn)); 1028throw new ArgumentException(string.Format(SR.DataGridViewColumnCollection_ColumnNotFound, columnName), nameof(columnName)); 1038throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 1045throw new InvalidOperationException(SR.DataGridView_CannotAlterDisplayIndexWithinAdjustments);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (3)
70throw new InvalidOperationException(SR.DataGridView_CellDoesNotYetBelongToDataGridView); 77throw new InvalidOperationException(string.Format(SR.DataGridViewColumnHeaderCell_SortModeAndSortGlyphDirectionClash, (value).ToString())); 279throw new InvalidOperationException(SR.DataGridView_CellNeedsDataGridViewForInheritedStyle);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject.cs (11)
31? throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet) 40throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 47return SR.DataGridView_AccColumnHeaderCellDefaultAction; 53return SR.DataGridView_AccColumnHeaderCellSelectDefaultAction; 62? throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet) 67? throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet) 78throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 109throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 142throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 204throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 244throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (12)
138throw new ArgumentException(SR.BadDataSourceForComplexBinding); 323throw new ArgumentOutOfRangeException(nameof(DropDownWidth), value, string.Format(SR.DataGridViewComboBoxCell_DropDownWidthOutOfRange, 1)); 386string.Format(SR.DataGridViewComboBoxCell_MaxDropDownItemsOutOfRange, 1, 100)); 428throw new ArgumentException(SR.ComboBoxSortWithDataSource); 575throw new ArgumentException(SR.DataSourceLocksItems); 816? SR.DefaultDataGridViewComboBoxCellToolTipText 931new FormatException(SR.DataGridViewComboBoxCell_InvalidValue), 968new ArgumentException(SR.DataGridViewComboBoxCell_InvalidValue), 1003new ArgumentException(SR.DataGridViewComboBoxCell_InvalidValue), 1359throw new ArgumentException(string.Format(SR.DataGridViewComboBoxCell_PropertyNotFound, displayMember)); 1390throw new ArgumentException(string.Format(SR.DataGridViewComboBoxCell_PropertyNotFound, valueMember)); 2411throw new FormatException(string.Format(CultureInfo.CurrentCulture, SR.Formatter_CantConvert, value, DisplayType));
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.DataGridViewComboBoxCellAccessibleObject.cs (1)
42throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.ObjectCollection.cs (2)
109throw new InvalidOperationException(SR.InvalidNullItemInCollection); 133throw new InvalidOperationException(SR.InvalidNullItemInCollection);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxColumn.cs (34)
25[SRCategory(nameof(SR.CatBehavior))] 26[SRDescription(nameof(SR.DataGridView_ComboBoxColumnAutoCompleteDescr))] 34throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 75throw new InvalidCastException(string.Format(SR.DataGridViewTypeColumn_WrongCellTemplateType, "System.Windows.Forms.DataGridViewComboBoxCell")); 86[SRCategory(nameof(SR.CatData))] 87[SRDescription(nameof(SR.DataGridView_ComboBoxColumnDataSourceDescr))] 97throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 131[SRCategory(nameof(SR.CatData))] 132[SRDescription(nameof(SR.DataGridView_ComboBoxColumnDisplayMemberDescr))] 143throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 177[SRCategory(nameof(SR.CatAppearance))] 178[SRDescription(nameof(SR.DataGridView_ComboBoxColumnDisplayStyleDescr))] 186throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 221[SRCategory(nameof(SR.CatAppearance))] 222[SRDescription(nameof(SR.DataGridView_ComboBoxColumnDisplayStyleForCurrentCellOnlyDescr))] 230throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 265[SRCategory(nameof(SR.CatBehavior))] 266[SRDescription(nameof(SR.DataGridView_ComboBoxColumnDropDownWidthDescr))] 274throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 306[SRCategory(nameof(SR.CatAppearance))] 307[SRDescription(nameof(SR.DataGridView_ComboBoxColumnFlatStyleDescr))] 315throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 350[SRCategory(nameof(SR.CatData))] 351[SRDescription(nameof(SR.DataGridView_ComboBoxColumnItemsDescr))] 358throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 366[SRCategory(nameof(SR.CatData))] 367[SRDescription(nameof(SR.DataGridView_ComboBoxColumnValueMemberDescr))] 378throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 412[SRCategory(nameof(SR.CatBehavior))] 413[SRDescription(nameof(SR.DataGridView_ComboBoxColumnMaxDropDownItemsDescr))] 421throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 453[SRCategory(nameof(SR.CatBehavior))] 454[SRDescription(nameof(SR.DataGridView_ComboBoxColumnSortedDescr))] 462throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired);
System\Windows\Forms\Controls\DataGridView\DataGridViewDataErrorEventArgs.cs (1)
33throw new ArgumentException(SR.DataGridView_CannotThrowNullException);
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (5)
121set => throw new InvalidOperationException(string.Format(SR.DataGridView_HeaderCellReadOnlyProperty, "ReadOnly")); 152set => throw new InvalidOperationException(string.Format(SR.DataGridView_HeaderCellReadOnlyProperty, "Selected")); 236throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(rowIndex), rowIndex), nameof(rowIndex)); 241throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(rowIndex), rowIndex), nameof(rowIndex)); 367throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(rowIndex), rowIndex), nameof(rowIndex));
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (1)
285private protected override string GetDefaultToolTipText() => SR.DefaultDataGridViewImageCellToolTipText;
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.DataGridViewImageCellAccessibleObject.cs (1)
36throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet);
System\Windows\Forms\Controls\DataGridView\DataGridViewImageColumn.cs (12)
45throw new InvalidCastException(string.Format(SR.DataGridViewTypeColumn_WrongCellTemplateType, "System.Windows.Forms.DataGridViewImageCell")); 53[SRCategory(nameof(SR.CatAppearance))] 54[SRDescription(nameof(SR.DataGridView_ColumnDefaultCellStyleDescr))] 64[SRCategory(nameof(SR.CatAppearance))] 65[SRDescription(nameof(SR.DataGridViewImageColumn_DescriptionDescr))] 74throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 119[SRCategory(nameof(SR.CatAppearance))] 120[SRDescription(nameof(SR.DataGridViewImageColumn_ImageDescr))] 134[SRCategory(nameof(SR.CatAppearance))] 135[SRDescription(nameof(SR.DataGridViewImageColumn_ImageLayoutDescr))] 143throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 191throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired);
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.cs (1)
483? SR.DefaultDataGridViewLinkCellToolTipText
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.DataGridViewLinkCellAccessibleObject.cs (3)
17public override string DefaultAction => SR.DataGridView_AccLinkCellDefaultAction; 23throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 33throw new InvalidOperationException(SR.DataGridView_InvalidOperationOnSharedCell);
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkColumn.cs (21)
24[SRCategory(nameof(SR.CatAppearance))] 25[SRDescription(nameof(SR.DataGridView_LinkColumnActiveLinkColorDescr))] 33throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 85throw new InvalidCastException(string.Format(SR.DataGridViewTypeColumn_WrongCellTemplateType, "System.Windows.Forms.DataGridViewLinkCell")); 93[SRCategory(nameof(SR.CatBehavior))] 94[SRDescription(nameof(SR.DataGridView_LinkColumnLinkBehaviorDescr))] 102throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 135[SRCategory(nameof(SR.CatAppearance))] 136[SRDescription(nameof(SR.DataGridView_LinkColumnLinkColorDescr))] 144throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 188[SRCategory(nameof(SR.CatAppearance))] 189[SRDescription(nameof(SR.DataGridView_LinkColumnTextDescr))] 230[SRCategory(nameof(SR.CatBehavior))] 231[SRDescription(nameof(SR.DataGridView_LinkColumnTrackVisitedStateDescr))] 239throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 273[SRCategory(nameof(SR.CatAppearance))] 274[SRDescription(nameof(SR.DataGridView_LinkColumnUseColumnTextForLinkValueDescr))] 282throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 315[SRCategory(nameof(SR.CatAppearance))] 316[SRDescription(nameof(SR.DataGridView_LinkColumnVisitedLinkColorDescr))] 324throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired);
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (40)
56[SRCategory(nameof(SR.CatBehavior))] 57[SRDescription(nameof(SR.DataGridView_RowContextMenuStripDescr))] 88[SRCategory(nameof(SR.CatAppearance))] 89[SRDescription(nameof(SR.DataGridView_RowDefaultCellStyleDescr))] 98throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertySetOnSharedRow, nameof(DefaultCellStyle))); 112throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertyGetOnSharedRow, nameof(Displayed))); 121[SRCategory(nameof(SR.CatAppearance))] 122[SRDescription(nameof(SR.DataGridView_RowDividerHeightDescr))] 130throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertySetOnSharedRow, nameof(DividerHeight))); 139[SRCategory(nameof(SR.CatAppearance))] 140[SRDescription(nameof(SR.DataGridView_RowErrorTextDescr))] 183throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertyGetOnSharedRow, nameof(Frozen))); 192throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertySetOnSharedRow, nameof(Frozen))); 211[SRCategory(nameof(SR.CatAppearance))] 212[SRDescription(nameof(SR.DataGridView_RowHeightDescr))] 220throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertySetOnSharedRow, nameof(Height))); 233throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertyGetOnSharedRow, nameof(InheritedStyle))); 260throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertySetOnSharedRow, nameof(MinimumHeight))); 270[SRCategory(nameof(SR.CatBehavior))] 271[SRDescription(nameof(SR.DataGridView_RowReadOnlyDescr))] 278throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertyGetOnSharedRow, nameof(ReadOnly))); 287[SRCategory(nameof(SR.CatBehavior))] 288[SRDescription(nameof(SR.DataGridView_RowResizableDescr))] 295throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertyGetOnSharedRow, nameof(Resizable))); 309throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertyGetOnSharedRow, nameof(Selected))); 323throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertyGetOnSharedRow, nameof(State))); 337throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertyGetOnSharedRow, nameof(Visible))); 346throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertySetOnSharedRow, nameof(Visible))); 1103throw new InvalidOperationException(SR.DataGridView_RowAlreadyBelongsToDataGridView); 1114throw new InvalidOperationException(SR.DataGridView_AColumnHasNoCellTemplate); 1185throw new InvalidOperationException(SR.DataGridView_RowDoesNotYetBelongToDataGridView); 1211throw new InvalidOperationException(SR.DataGridView_InvalidOperationOnSharedRow); 1238throw new InvalidOperationException(SR.DataGridView_InvalidOperationOnSharedRow); 1379throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(rowIndex), rowIndex), nameof(rowIndex)); 1420throw new InvalidOperationException(SR.DataGridView_RowDoesNotYetBelongToDataGridView); 1496throw new InvalidOperationException(SR.DataGridView_RowDoesNotYetBelongToDataGridView); 1503throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewPaintPartsCombination, "paintParts")); 1689throw new InvalidOperationException(SR.DataGridView_RowDoesNotYetBelongToDataGridView); 1780throw new InvalidOperationException(SR.DataGridView_InvalidOperationInVirtualMode); 1785throw new InvalidOperationException(SR.DataGridView_InvalidOperationOnSharedRow);
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewRowAccessibleObject.cs (15)
45throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerNotSet); 94throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerNotSet); 101return string.Format(SR.DataGridView_AccRowName, index.ToString(CultureInfo.CurrentCulture)); 114throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerAlreadySet); 129throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerNotSet); 153throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerNotSet); 168throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerNotSet); 214throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerNotSet); 219return SR.DataGridView_AccRowCreateNew; 255throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerNotSet); 285throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerNotSet); 309throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerNotSet); 329throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerNotSet); 400throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerNotSet); 454throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerNotSet);
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewSelectedRowCellsAccessibleObject.cs (1)
18public override string Name => SR.DataGridView_AccSelectedRowCellsName;
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (80)
179throw new InvalidOperationException(SR.DataGridViewRowCollection_AddUnboundRow); 184throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 196throw new InvalidOperationException(SR.DataGridViewRowCollection_NoColumns); 201throw new InvalidOperationException(SR.DataGridViewRowCollection_RowTemplateTooManyCells); 279throw new InvalidOperationException(SR.DataGridView_InvalidOperationInVirtualMode); 284throw new InvalidOperationException(SR.DataGridViewRowCollection_AddUnboundRow); 289throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 302throw new InvalidOperationException(SR.DataGridViewRowCollection_NoColumns); 307throw new InvalidOperationException(SR.DataGridViewRowCollection_AddUnboundRow); 312throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 325throw new ArgumentOutOfRangeException(nameof(count), SR.DataGridViewRowCollection_CountOutOfRange); 330throw new InvalidOperationException(SR.DataGridViewRowCollection_NoColumns); 335throw new InvalidOperationException(SR.DataGridViewRowCollection_AddUnboundRow); 340throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 345throw new InvalidOperationException(SR.DataGridViewRowCollection_RowTemplateTooManyCells); 388throw new InvalidOperationException(SR.DataGridView_RowAlreadyBelongsToDataGridView); 393throw new InvalidOperationException(SR.DataGridViewRowCollection_NoColumns); 398throw new ArgumentException(SR.DataGridViewRowCollection_TooManyCells, nameof(dataGridViewRow)); 403throw new InvalidOperationException(SR.DataGridViewRowCollection_CannotAddOrInsertSelectedRow); 464throw new InvalidOperationException(SR.DataGridViewRowCollection_AddUnboundRow); 469throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 495throw new ArgumentOutOfRangeException(nameof(indexSource), SR.DataGridViewRowCollection_IndexSourceOutOfRange); 535throw new InvalidOperationException(SR.DataGridViewRowCollection_AddUnboundRow); 540throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 568throw new ArgumentOutOfRangeException(nameof(indexSource), SR.DataGridViewRowCollection_IndexSourceOutOfRange); 573throw new ArgumentOutOfRangeException(nameof(count), SR.DataGridViewRowCollection_CountOutOfRange); 720throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 725throw new InvalidOperationException(SR.DataGridViewRowCollection_AddUnboundRow); 738throw new InvalidOperationException(SR.DataGridViewRowCollection_NoColumns); 789throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 800throw new InvalidOperationException(SR.DataGridViewRowCollection_CantClearRowCollectionWithWrongSource); 883throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 933throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 939throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(excludeFilter))); 983throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 1042throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 1068throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 1074throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(excludeFilter))); 1093throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 1119throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 1125throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(excludeFilter))); 1144throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 1240throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 1331throw new ArgumentOutOfRangeException(nameof(rowIndex), SR.DataGridViewRowCollection_RowIndexOutOfRange); 1359throw new InvalidOperationException(SR.DataGridView_InvalidOperationInVirtualMode); 1364throw new InvalidOperationException(SR.DataGridViewRowCollection_AddUnboundRow); 1379throw new InvalidOperationException(SR.DataGridViewRowCollection_AddUnboundRow); 1384throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 1394throw new InvalidOperationException(SR.DataGridViewRowCollection_AddUnboundRow); 1399throw new ArgumentOutOfRangeException(nameof(rowIndex), SR.DataGridViewRowCollection_IndexDestinationOutOfRange); 1404throw new ArgumentOutOfRangeException(nameof(count), SR.DataGridViewRowCollection_CountOutOfRange); 1409throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 1414throw new InvalidOperationException(SR.DataGridViewRowCollection_NoColumns); 1419throw new InvalidOperationException(SR.DataGridViewRowCollection_RowTemplateTooManyCells); 1426throw new InvalidOperationException(SR.DataGridViewRowCollection_NoInsertionAfterNewRow); 1457throw new ArgumentOutOfRangeException(nameof(rowIndex), SR.DataGridViewRowCollection_RowIndexOutOfRange); 1464throw new InvalidOperationException(SR.DataGridView_RowAlreadyBelongsToDataGridView); 1471throw new InvalidOperationException(SR.DataGridViewRowCollection_NoInsertionAfterNewRow); 1476throw new InvalidOperationException(SR.DataGridViewRowCollection_NoColumns); 1481throw new ArgumentException(SR.DataGridViewRowCollection_TooManyCells, nameof(dataGridViewRow)); 1486throw new InvalidOperationException(SR.DataGridViewRowCollection_CannotAddOrInsertSelectedRow); 1508throw new InvalidOperationException(SR.DataGridViewRowCollection_NoColumns); 1513throw new ArgumentException(SR.DataGridViewRowCollection_TooManyCells, nameof(dataGridViewRow)); 1569throw new InvalidOperationException(SR.DataGridViewRowCollection_AddUnboundRow); 1574throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 1586throw new ArgumentOutOfRangeException(nameof(indexSource), SR.DataGridViewRowCollection_IndexSourceOutOfRange); 1591throw new ArgumentOutOfRangeException(nameof(indexDestination), SR.DataGridViewRowCollection_IndexDestinationOutOfRange); 1596throw new ArgumentOutOfRangeException(nameof(count), SR.DataGridViewRowCollection_CountOutOfRange); 1603throw new InvalidOperationException(SR.DataGridViewRowCollection_NoInsertionAfterNewRow); 1761throw new ArgumentOutOfRangeException(nameof(rowIndex), SR.DataGridViewRowCollection_IndexDestinationOutOfRange); 1766throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 1773throw new InvalidOperationException(SR.DataGridViewRowCollection_NoInsertionAfterNewRow); 1778throw new InvalidOperationException(SR.DataGridViewRowCollection_AddUnboundRow); 1783throw new InvalidOperationException(SR.DataGridViewRowCollection_NoColumns); 2148throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, nameof(dataGridViewRow)); 2153throw new ArgumentException(SR.DataGridView_RowMustBeUnshared, nameof(dataGridViewRow)); 2165throw new ArgumentOutOfRangeException(nameof(index), SR.DataGridViewRowCollection_RowIndexOutOfRange); 2171throw new InvalidOperationException(SR.DataGridViewRowCollection_CannotDeleteNewRow); 2176throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 2198throw new InvalidOperationException(SR.DataGridViewRowCollection_CantRemoveRowsWithWrongSource);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.UnsharingRowEnumerator.cs (2)
58throw new InvalidOperationException(SR.DataGridViewRowCollection_EnumNotStarted); 63throw new InvalidOperationException(SR.DataGridViewRowCollection_EnumFinished);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject.cs (9)
24throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 51throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 58return SR.DataGridView_RowHeaderCellAccDefaultAction; 75throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 90throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 122throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 138throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 209throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 249throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeightInfoNeededEventArgs.cs (1)
43throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.DataGridViewBand_MinimumHeightSmallerThanOne, DataGridViewBand.MinBandThickness));
System\Windows\Forms\Controls\DataGridView\DataGridViewRowPostPaintEventArgs.cs (5)
66throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_RowIndexOutOfRange); 83throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_RowIndexOutOfRange); 101throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_RowIndexOutOfRange); 125throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_RowIndexOutOfRange); 154throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_RowIndexOutOfRange);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowPrePaintEventArgs.cs (6)
72throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewPaintPartsCombination, nameof(value)), nameof(value)); 83throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_RowIndexOutOfRange); 100throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_RowIndexOutOfRange); 118throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_RowIndexOutOfRange); 142throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_RowIndexOutOfRange); 171throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_RowIndexOutOfRange);
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedCellCollection.cs (8)
20throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 25throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 34throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 39throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 44throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 54set { throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); } 112throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 125throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection);
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedColumnCollection.cs (8)
16throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 21throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 30throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 35throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 40throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 50set { throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); } 79throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 92throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection);
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedRowCollection.cs (8)
18int IList.Add(object? value) => throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 20void IList.Clear() => throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 26void IList.Insert(int index, object? value) => throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 28void IList.Remove(object? value) => throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 30void IList.RemoveAt(int index) => throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 39set { throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); } 66public void Clear() => throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 76public void Insert(int index, DataGridViewRow dataGridViewRow) => throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection);
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
319? SR.DefaultDataGridViewTextBoxCellToolTipText
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxColumn.cs (4)
28throw new InvalidCastException(string.Format(SR.DataGridViewTypeColumn_WrongCellTemplateType, "System.Windows.Forms.DataGridViewTextBoxCell")); 36[SRCategory(nameof(SR.CatBehavior))] 37[SRDescription(nameof(SR.DataGridView_TextBoxColumnMaxInputLengthDescr))] 45throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired);
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.DataGridViewTextBoxEditingControlAccessibleObject.cs (1)
33public override string Name => this.GetOwnerAccessibleName(SR.DataGridView_AccEditingControlAccName);
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.DataGridViewTopLeftHeaderCellAccessibleObject.cs (11)
24throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 43throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 48return SR.DataGridView_AccTopLeftColumnHeaderCellDefaultAction; 63throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 82return SR.DataGridView_AccTopLeftColumnHeaderCellName; 86return SR.DataGridView_AccTopLeftColumnHeaderCellNameRTL; 107throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 151throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 195throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 249throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 266throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (52)
22[SRDescription(nameof(SR.DescriptionDateTimePicker))] 47private static readonly string s_dateTimePickerLocalizedControlTypeString = SR.DateTimePickerLocalizedControlType; 177[SRCategory(nameof(SR.CatAppearance))] 178[SRDescription(nameof(SR.DateTimePickerCalendarForeColorDescr))] 186throw new ArgumentException(string.Format(SR.InvalidNullArgument, nameof(value))); 200[SRCategory(nameof(SR.CatAppearance))] 204[SRDescription(nameof(SR.DateTimePickerCalendarFontDescr))] 237[SRCategory(nameof(SR.CatAppearance))] 238[SRDescription(nameof(SR.DateTimePickerCalendarTitleBackColorDescr))] 246throw new ArgumentException(string.Format(SR.InvalidNullArgument, nameof(value))); 260[SRCategory(nameof(SR.CatAppearance))] 261[SRDescription(nameof(SR.DateTimePickerCalendarTitleForeColorDescr))] 269throw new ArgumentException(string.Format(SR.InvalidNullArgument, nameof(value))); 283[SRCategory(nameof(SR.CatAppearance))] 284[SRDescription(nameof(SR.DateTimePickerCalendarTrailingForeColorDescr))] 292throw new ArgumentException(string.Format(SR.InvalidNullArgument, nameof(value))); 306[SRCategory(nameof(SR.CatAppearance))] 307[SRDescription(nameof(SR.DateTimePickerCalendarMonthBackgroundDescr))] 315throw new ArgumentException(string.Format(SR.InvalidNullArgument, nameof(value))); 329[SRCategory(nameof(SR.CatBehavior))] 332[SRDescription(nameof(SR.DateTimePickerCheckedDescr))] 429[SRCategory(nameof(SR.CatBehavior))] 430[SRDescription(nameof(SR.DateTimePickerCustomFormatDescr))] 473[SRCategory(nameof(SR.CatAppearance))] 475[SRDescription(nameof(SR.DateTimePickerDropDownAlignDescr))] 511[SRCategory(nameof(SR.CatAppearance))] 513[SRDescription(nameof(SR.DateTimePickerFormatDescr))] 531[SRCategory(nameof(SR.CatPropertyChanged))] 532[SRDescription(nameof(SR.DateTimePickerOnFormatChangedDescr))] 584[SRCategory(nameof(SR.CatBehavior))] 585[SRDescription(nameof(SR.DateTimePickerMaxDateDescr))] 606string.Format(SR.DateTimePickerMaxDate, FormatDateTime(MaxDateTime))); 640[SRCategory(nameof(SR.CatBehavior))] 641[SRDescription(nameof(SR.DateTimePickerMinDateDescr))] 662string.Format(SR.DateTimePickerMinDate, FormatDateTime(MinimumDateTime))); 760[SRCategory(nameof(SR.CatAppearance))] 763[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 784[SRCategory(nameof(SR.CatAppearance))] 785[SRDescription(nameof(SR.DateTimePickerShowNoneDescr))] 796[SRCategory(nameof(SR.CatAppearance))] 797[SRDescription(nameof(SR.DateTimePickerShowUpDownDescr))] 849[SRCategory(nameof(SR.CatBehavior))] 852[SRDescription(nameof(SR.DateTimePickerValueDescr))] 878SR.InvalidBoundArgument, 912[SRCategory(nameof(SR.CatAction))] 913[SRDescription(nameof(SR.DateTimePickerOnCloseUpDescr))] 920[SRCategory(nameof(SR.CatPropertyChanged))] 921[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))] 931[SRCategory(nameof(SR.CatAction))] 932[SRDescription(nameof(SR.valueChangedEventDescr))] 942[SRCategory(nameof(SR.CatAction))] 943[SRDescription(nameof(SR.DateTimePickerOnDropDownDescr))]
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.DateTimePickerAccessibleObject.cs (2)
100ExpandCollapseState.ExpandCollapseState_Collapsed => SR.AccessibleActionExpand, 101ExpandCollapseState.ExpandCollapseState_Expanded => SR.AccessibleActionCollapse,
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (9)
18[SRDescription(nameof(SR.DescriptionGroupBox))] 65[SRCategory(nameof(SR.CatPropertyChanged))] 66[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 78[SRDescription(nameof(SR.ControlAutoSizeModeDescr))] 79[SRCategory(nameof(SR.CatLayout))] 171[SRCategory(nameof(SR.CatAppearance))] 173[SRDescription(nameof(SR.ButtonFlatStyleDescr))] 273[SRCategory(nameof(SR.CatBehavior))] 274[SRDescription(nameof(SR.UseCompatibleTextRenderingDescr))]
System\Windows\Forms\Controls\ImageList\ImageList.cs (22)
23[SRDescription(nameof(SR.DescriptionImageList))] 77[SRCategory(nameof(SR.CatAppearance))] 78[SRDescription(nameof(SR.ImageListColorDepthDescr))] 107[SRDescription(nameof(SR.ImageListHandleDescr))] 127[SRDescription(nameof(SR.ImageListHandleCreatedDescr))] 131[SRCategory(nameof(SR.CatAppearance))] 134[SRDescription(nameof(SR.ImageListImagesDescr))] 141[SRCategory(nameof(SR.CatBehavior))] 143[SRDescription(nameof(SR.ImageListSizeDescr))] 151throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(ImageSize), "Size.Empty"), nameof(value)); 159throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, "ImageSize.Width", value.Width, 1, s_maxImageWidth)); 164throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, "ImageSize.Height", value.Height, 1, s_maxImageHeight)); 183[SRDescription(nameof(SR.ImageListImageStreamDescr))] 247[SRCategory(nameof(SR.CatData))] 250[SRDescription(nameof(SR.ControlTagDescr))] 258[SRCategory(nameof(SR.CatBehavior))] 259[SRDescription(nameof(SR.ImageListTransparentColorDescr))] 266[SRDescription(nameof(SR.ImageListOnRecreateHandleDescr))] 325throw new ArgumentException(SR.ImageListStripBadWidth, nameof(original)); 330throw new ArgumentException(SR.ImageListImageTooShort, nameof(original)); 354return index == -1 ? throw new InvalidOperationException(SR.ImageListAddFailed) : index; 390return index == -1 ? throw new InvalidOperationException(SR.ImageListAddFailed) : index;
System\Windows\Forms\Controls\ImageList\ImageList.ImageCollection.cs (8)
142throw new ArgumentException(SR.ImageListBitmap); 173throw new InvalidOperationException(SR.ImageListReplaceFailed); 193throw new ArgumentException(SR.ImageListBadImage, nameof(value)); 264throw new ArgumentException(SR.ImageListBadImage, nameof(value)); 345throw new ArgumentException(SR.ImageListBitmap); 396throw new ArgumentException(SR.ImageListStripBadWidth, nameof(value)); 401throw new ArgumentException(SR.ImageListImageTooShort, nameof(value)); 550throw new InvalidOperationException(SR.ImageListRemoveFailed);
System\Windows\Forms\Controls\ImageList\ImageList.NativeImageList.cs (2)
59throw new InvalidOperationException(SR.ImageListCreateFailed); 109throw new InvalidOperationException(SR.ImageListDuplicateFailed);
System\Windows\Forms\Controls\ImageList\ImageList.Original.cs (1)
34throw new InvalidOperationException(SR.ImageListEntryType);
System\Windows\Forms\Controls\ImageList\ImageListStreamer.cs (3)
82throw new InvalidOperationException(SR.ImageListStreamerLoadFailed); 94throw new InvalidOperationException(SR.ImageListStreamerSaveFailed); 105throw new InvalidOperationException(SR.ImageListStreamerSaveFailed);
System\Windows\Forms\Controls\Labels\Label.cs (37)
25[SRDescription(nameof(SR.DescriptionLabel))] 91[SRCategory(nameof(SR.CatLayout))] 95[SRDescription(nameof(SR.LabelAutoSizeDescr))] 112[SRCategory(nameof(SR.CatPropertyChanged))] 113[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 126[SRCategory(nameof(SR.CatBehavior))] 130[SRDescription(nameof(SR.LabelAutoEllipsisDescr))] 163[SRCategory(nameof(SR.CatAppearance))] 167[SRDescription(nameof(SR.LabelBackgroundImageDescr))] 204[SRCategory(nameof(SR.CatAppearance))] 207[SRDescription(nameof(SR.LabelBorderDescr))] 318[SRCategory(nameof(SR.CatAppearance))] 320[SRDescription(nameof(SR.ButtonFlatStyleDescr))] 364[SRDescription(nameof(SR.ButtonImageDescr))] 365[SRCategory(nameof(SR.CatAppearance))] 411[SRDescription(nameof(SR.ButtonImageIndexDescr))] 412[SRCategory(nameof(SR.CatAppearance))] 460[SRDescription(nameof(SR.ButtonImageIndexDescr))] 461[SRCategory(nameof(SR.CatAppearance))] 500[SRDescription(nameof(SR.ButtonImageListDescr))] 502[SRCategory(nameof(SR.CatAppearance))] 546[SRDescription(nameof(SR.ButtonImageAlignDescr))] 547[SRCategory(nameof(SR.CatAppearance))] 568[SRCategory(nameof(SR.CatAccessibility))] 570[SRDescription(nameof(SR.LiveRegionAutomationLiveSettingDescr))] 635[SRCategory(nameof(SR.CatLayout))] 639[SRDescription(nameof(SR.LabelPreferredHeightDescr))] 645[SRCategory(nameof(SR.CatLayout))] 649[SRDescription(nameof(SR.LabelPreferredWidthDescr))] 688[SRDescription(nameof(SR.LabelTextAlignDescr))] 691[SRCategory(nameof(SR.CatAppearance))] 727[SRCategory(nameof(SR.CatPropertyChanged))] 728[SRDescription(nameof(SR.LabelOnTextAlignChangedDescr))] 739[SRCategory(nameof(SR.CatBehavior))] 740[SRDescription(nameof(SR.UseCompatibleTextRenderingDescr))] 768[SRDescription(nameof(SR.LabelUseMnemonicDescr))] 770[SRCategory(nameof(SR.CatAppearance))]
System\Windows\Forms\Controls\Labels\LinkArea.LinkAreaConverter.cs (3)
68SR.TextParseFailedFormat, 131throw new ArgumentException(SR.PropertyValueInvalidEntry, nameof(propertyValues), invalidCast); 135throw new ArgumentException(SR.PropertyValueInvalidEntry, nameof(propertyValues), nullRef);
System\Windows\Forms\Controls\Labels\LinkConverter.cs (1)
64SR.TextParseFailedFormat,
System\Windows\Forms\Controls\Labels\LinkLabel.cs (22)
19[SRDescription(nameof(SR.DescriptionLinkLabel))] 68[SRCategory(nameof(SR.CatAppearance))] 69[SRDescription(nameof(SR.LinkLabelActiveLinkColorDescr))] 86[SRCategory(nameof(SR.CatAppearance))] 87[SRDescription(nameof(SR.LinkLabelDisabledLinkColorDescr))] 161[SRCategory(nameof(SR.CatBehavior))] 162[SRDescription(nameof(SR.LinkLabelLinkAreaDescr))] 178throw new ArgumentOutOfRangeException(nameof(LinkArea), value, SR.LinkLabelAreaStart); 183throw new ArgumentOutOfRangeException(nameof(LinkArea), value, SR.LinkLabelAreaLength); 212[SRCategory(nameof(SR.CatBehavior))] 213[SRDescription(nameof(SR.LinkLabelLinkBehaviorDescr))] 233[SRCategory(nameof(SR.CatAppearance))] 234[SRDescription(nameof(SR.LinkLabelLinkColorDescr))] 261[SRCategory(nameof(SR.CatAppearance))] 262[SRDescription(nameof(SR.LinkLabelLinkVisitedDescr))] 344[SRCategory(nameof(SR.CatAppearance))] 345[SRDescription(nameof(SR.LinkLabelVisitedLinkColorDescr))] 365[SRDescription(nameof(SR.LinkLabelLinkClickedDescr))] 1672throw new InvalidOperationException(SR.LinkLabelOverlap); 1684throw new InvalidOperationException(SR.LinkLabelOverlap); 1722[SRCategory(nameof(SR.CatBehavior))] 1723[SRDescription(nameof(SR.UseCompatibleTextRenderingDescr))]
System\Windows\Forms\Controls\Labels\LinkLabel.Link.cs (4)
121[SRCategory(nameof(SR.CatAppearance))] 122[SRDescription(nameof(SR.TreeNodeNodeNameDescr))] 149[SRCategory(nameof(SR.CatData))] 152[SRDescription(nameof(SR.ControlTagDescr))]
System\Windows\Forms\Controls\Labels\LinkLabel.Link.LinkAccessibleObject.cs (1)
60public override string DefaultAction => SR.AccessibleActionClick;
System\Windows\Forms\Controls\Labels\LinkLabel.LinkCollection.cs (3)
52throw new ArgumentException(SR.LinkLabelBadLink, nameof(value)); 196throw new ArgumentException(SR.LinkLabelBadLink, nameof(value)); 208throw new ArgumentException(SR.LinkLabelBadLink, nameof(value));
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedIndexCollection.cs (6)
85throw new NotSupportedException(SR.CheckedListBoxCheckedIndexCollectionIsReadOnly); 91throw new NotSupportedException(SR.CheckedListBoxCheckedIndexCollectionIsReadOnly); 96throw new NotSupportedException(SR.CheckedListBoxCheckedIndexCollectionIsReadOnly); 101throw new NotSupportedException(SR.CheckedListBoxCheckedIndexCollectionIsReadOnly); 106throw new NotSupportedException(SR.CheckedListBoxCheckedIndexCollectionIsReadOnly); 111throw new NotSupportedException(SR.CheckedListBoxCheckedIndexCollectionIsReadOnly);
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedItemCollection.cs (6)
60throw new NotSupportedException(SR.CheckedListBoxCheckedItemCollectionIsReadOnly); 113throw new NotSupportedException(SR.CheckedListBoxCheckedItemCollectionIsReadOnly); 118throw new NotSupportedException(SR.CheckedListBoxCheckedItemCollectionIsReadOnly); 123throw new NotSupportedException(SR.CheckedListBoxCheckedItemCollectionIsReadOnly); 128throw new NotSupportedException(SR.CheckedListBoxCheckedItemCollectionIsReadOnly); 133throw new NotSupportedException(SR.CheckedListBoxCheckedItemCollectionIsReadOnly);
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedListBoxItemAccessibleObject.cs (2)
29return IsItemChecked ? SR.AccessibleActionUncheck : SR.AccessibleActionCheck;
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (12)
16[SRDescription(nameof(SR.DescriptionCheckedListBox))] 76[SRCategory(nameof(SR.CatBehavior))] 78[SRDescription(nameof(SR.CheckedListBoxCheckOnClickDescr))] 161[SRCategory(nameof(SR.CatData))] 164[SRDescription(nameof(SR.ListBoxItemsDescr))] 197throw new ArgumentException(SR.CheckedListBoxInvalidSelectionMode); 211[SRCategory(nameof(SR.CatAppearance))] 213[SRDescription(nameof(SR.CheckedListBoxThreeDCheckBoxesDescr))] 242[SRCategory(nameof(SR.CatBehavior))] 243[SRDescription(nameof(SR.UseCompatibleTextRenderingDescr))] 291[SRCategory(nameof(SR.CatBehavior))] 292[SRDescription(nameof(SR.CheckedListBoxItemCheckDescr))]
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (49)
24[SRDescription(nameof(SR.DescriptionListBox))] 201[SRCategory(nameof(SR.CatAppearance))] 204[SRDescription(nameof(SR.ListBoxBorderDescr))] 231[SRCategory(nameof(SR.CatBehavior))] 234[SRDescription(nameof(SR.ListBoxColumnWidthDescr))] 342[SRCategory(nameof(SR.CatBehavior))] 387[SRCategory(nameof(SR.CatBehavior))] 389[SRDescription(nameof(SR.ListBoxDrawModeDescr))] 406throw new ArgumentException(SR.ListBoxVarHeightMultiCol, nameof(value)); 464[SRCategory(nameof(SR.CatBehavior))] 467[SRDescription(nameof(SR.ListBoxHorizontalExtentDescr))] 492[SRCategory(nameof(SR.CatBehavior))] 495[SRDescription(nameof(SR.ListBoxHorizontalScrollbarDescr))] 532[SRCategory(nameof(SR.CatBehavior))] 535[SRDescription(nameof(SR.ListBoxIntegralHeightDescr))] 569[SRCategory(nameof(SR.CatBehavior))] 571[SRDescription(nameof(SR.ListBoxItemHeightDescr))] 615[SRCategory(nameof(SR.CatData))] 618[SRDescription(nameof(SR.ListBoxItemsDescr))] 675[SRCategory(nameof(SR.CatBehavior))] 677[SRDescription(nameof(SR.ListBoxMultiColumnDescr))] 690throw new ArgumentException(SR.ListBoxVarHeightMultiCol, nameof(value)); 705[SRDescription(nameof(SR.ListBoxPreferredHeightDescr))] 780[SRCategory(nameof(SR.CatBehavior))] 783[SRDescription(nameof(SR.ListBoxScrollIsVisibleDescr))] 823[SRDescription(nameof(SR.ListBoxSelectedIndexDescr))] 854throw new ArgumentException(SR.ListBoxInvalidSelectionMode, nameof(value)); 912[SRDescription(nameof(SR.ListBoxSelectedIndicesDescr))] 934[SRDescription(nameof(SR.ListBoxSelectedItemDescr))] 971[SRDescription(nameof(SR.ListBoxSelectedItemsDescr))] 986[SRCategory(nameof(SR.CatBehavior))] 988[SRDescription(nameof(SR.ListBoxSelectionModeDescr))] 1026[SRCategory(nameof(SR.CatBehavior))] 1028[SRDescription(nameof(SR.ListBoxSortedDescr))] 1112[SRDescription(nameof(SR.ListBoxTopIndexDescr))] 1133[SRCategory(nameof(SR.CatBehavior))] 1135[SRDescription(nameof(SR.ListBoxUseTabStopsDescr))] 1156[SRCategory(nameof(SR.CatBehavior))] 1157[SRDescription(nameof(SR.ListBoxCustomTabOffsetsDescr))] 1228[SRCategory(nameof(SR.CatBehavior))] 1229[SRDescription(nameof(SR.drawItemEventDescr))] 1236[SRCategory(nameof(SR.CatBehavior))] 1237[SRDescription(nameof(SR.measureItemEventDescr))] 1244[SRCategory(nameof(SR.CatBehavior))] 1245[SRDescription(nameof(SR.selectedIndexChangedEventDescr))] 1277throw new ArgumentException(SR.DataSourceLocksItems); 1544throw new OutOfMemoryException(SR.ListBoxItemOverflow); 1600throw new OutOfMemoryException(SR.ListBoxItemOverflow); 2149throw new InvalidOperationException(SR.ListBoxInvalidSelectionMode);
System\Windows\Forms\Controls\ListBoxes\ListBox.IntegerCollection.cs (1)
228throw new NotSupportedException(SR.ListBoxCantInsertIntoIntegerCollection);
System\Windows\Forms\Controls\ListBoxes\ListBox.IntegerCollection.CustomTabOffsetsEnumerator.cs (1)
64throw new InvalidOperationException(SR.ListEnumCurrentOutOfRange);
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedIndexCollection.cs (6)
111throw new NotSupportedException(SR.ListBoxSelectedIndexCollectionIsReadOnly); 116throw new NotSupportedException(SR.ListBoxSelectedIndexCollectionIsReadOnly); 121throw new NotSupportedException(SR.ListBoxSelectedIndexCollectionIsReadOnly); 126throw new NotSupportedException(SR.ListBoxSelectedIndexCollectionIsReadOnly); 131throw new NotSupportedException(SR.ListBoxSelectedIndexCollectionIsReadOnly); 154throw new NotSupportedException(SR.ListBoxSelectedIndexCollectionIsReadOnly);
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedIndexCollection.SelectedIndexEnumerator.cs (1)
64throw new InvalidOperationException(SR.ListEnumCurrentOutOfRange);
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedObjectCollection.cs (6)
154throw new NotSupportedException(SR.ListBoxSelectedObjectCollectionIsReadOnly); 159throw new NotSupportedException(SR.ListBoxSelectedObjectCollectionIsReadOnly); 164throw new NotSupportedException(SR.ListBoxSelectedObjectCollectionIsReadOnly); 169throw new NotSupportedException(SR.ListBoxSelectedObjectCollectionIsReadOnly); 174throw new NotSupportedException(SR.ListBoxSelectedObjectCollectionIsReadOnly); 200throw new NotSupportedException(SR.ListBoxSelectedObjectCollectionIsReadOnly);
System\Windows\Forms\Controls\ListControl\ListControl.cs (33)
42[SRCategory(nameof(SR.CatData))] 46[SRDescription(nameof(SR.ListControlDataSourceDescr))] 54throw new ArgumentException(SR.BadDataSourceForComplexBinding, nameof(value)); 89[SRCategory(nameof(SR.CatPropertyChanged))] 90[SRDescription(nameof(SR.ListControlOnDataSourceChangedDescr))] 103[SRCategory(nameof(SR.CatData))] 107[SRDescription(nameof(SR.ListControlDisplayMemberDescr))] 126[SRCategory(nameof(SR.CatPropertyChanged))] 127[SRDescription(nameof(SR.ListControlOnDisplayMemberChangedDescr))] 143throw new NotSupportedException(SR.BindingNotSupported); 163[SRCategory(nameof(SR.CatPropertyChanged))] 164[SRDescription(nameof(SR.ListControlFormatDescr))] 198[SRCategory(nameof(SR.CatPropertyChanged))] 199[SRDescription(nameof(SR.ListControlFormatInfoChangedDescr))] 207[SRDescription(nameof(SR.ListControlFormatStringDescr))] 226[SRCategory(nameof(SR.CatPropertyChanged))] 227[SRDescription(nameof(SR.ListControlFormatStringChangedDescr))] 235[SRDescription(nameof(SR.ListControlFormattingEnabledDescr))] 250[SRCategory(nameof(SR.CatPropertyChanged))] 251[SRDescription(nameof(SR.ListControlFormattingEnabledChangedDescr))] 293[SRCategory(nameof(SR.CatData))] 296[SRDescription(nameof(SR.ListControlValueMemberDescr))] 320throw new ArgumentException(SR.ListControlWrongValueMember, nameof(value)); 331[SRCategory(nameof(SR.CatPropertyChanged))] 332[SRDescription(nameof(SR.ListControlOnValueMemberChangedDescr))] 346[SRCategory(nameof(SR.CatData))] 350[SRDescription(nameof(SR.ListControlSelectedValueDescr))] 374throw new InvalidOperationException(SR.ListControlEmptyValueMemberInSettingSelectedValue); 385[SRCategory(nameof(SR.CatPropertyChanged))] 386[SRDescription(nameof(SR.ListControlOnSelectedValueChangedDescr))] 435throw new NotSupportedException(SR.BindingNotSupported); 706throw new NotSupportedException(SR.BindingNotSupported); 736throw new ArgumentException(SR.ListControlWrongDisplayMember, nameof(newDisplayMember));
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (9)
106[SRCategory(nameof(SR.CatBehavior))] 107[SRDescription(nameof(SR.ColumnHeaderDisplayIndexDescr))] 128throw new ArgumentOutOfRangeException(nameof(DisplayIndex), SR.ColumnHeaderBadDisplayIndex); 269[SRDescription(nameof(SR.ColumnHeaderNameDescr))] 295[SRDescription(nameof(SR.ColumnCaption))] 321[SRDescription(nameof(SR.ColumnAlignment))] 362[SRCategory(nameof(SR.CatData))] 365[SRDescription(nameof(SR.ControlTagDescr))] 381[SRDescription(nameof(SR.ColumnWidth))]
System\Windows\Forms\Controls\ListView\ColumnHeaderConverter.cs (1)
72throw new ArgumentException(string.Format(SR.NoDefaultConstructor, t.FullName));
System\Windows\Forms\Controls\ListView\ListView.CheckedIndexCollection.cs (1)
95throw new ArgumentOutOfRangeException(nameof(index), index, string.Format(SR.InvalidArgument, nameof(index), index));
System\Windows\Forms\Controls\ListView\ListView.CheckedListViewItemCollection.cs (12)
37throw new InvalidOperationException(SR.ListViewCantAccessCheckedItemsCollectionWhenInVirtualMode); 71throw new InvalidOperationException(SR.ListViewCantAccessCheckedItemsCollectionWhenInVirtualMode); 85throw new InvalidOperationException(SR.ListViewCantAccessCheckedItemsCollectionWhenInVirtualMode); 105throw new InvalidOperationException(SR.ListViewCantAccessCheckedItemsCollectionWhenInVirtualMode); 163throw new InvalidOperationException(SR.ListViewCantAccessCheckedItemsCollectionWhenInVirtualMode); 180throw new InvalidOperationException(SR.ListViewCantAccessCheckedItemsCollectionWhenInVirtualMode); 200throw new InvalidOperationException(SR.ListViewCantAccessCheckedItemsCollectionWhenInVirtualMode); 210throw new InvalidOperationException(SR.ListViewCantAccessCheckedItemsCollectionWhenInVirtualMode); 232throw new InvalidOperationException(SR.ListViewCantAccessCheckedItemsCollectionWhenInVirtualMode); 277throw new InvalidOperationException(SR.ListViewCantAccessCheckedItemsCollectionWhenInVirtualMode); 319throw new InvalidOperationException(SR.ListViewCantAccessCheckedItemsCollectionWhenInVirtualMode); 332throw new InvalidOperationException(SR.ListViewCantAccessCheckedItemsCollectionWhenInVirtualMode);
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (2)
299throw new ArgumentException(SR.ColumnHeaderCollectionInvalidArgument, nameof(value)); 510throw new ArgumentOutOfRangeException(nameof(index), index, string.Format(SR.InvalidArgument, nameof(index), index));
System\Windows\Forms\Controls\ListView\ListView.cs (154)
30[SRDescription(nameof(SR.DescriptionListView))] 241[SRCategory(nameof(SR.CatBehavior))] 243[SRDescription(nameof(SR.ListViewActivationDescr))] 258throw new ArgumentException(SR.ListViewActivationMustBeOnWhenHotTrackingIsOn, nameof(value)); 273[SRCategory(nameof(SR.CatBehavior))] 276[SRDescription(nameof(SR.ListViewAlignmentDescr))] 301[SRCategory(nameof(SR.CatBehavior))] 303[SRDescription(nameof(SR.ListViewAllowColumnReorderDescr))] 326[SRCategory(nameof(SR.CatBehavior))] 328[SRDescription(nameof(SR.ListViewAutoArrangeDescr))] 375[SRCategory(nameof(SR.CatAppearance))] 377[SRDescription(nameof(SR.ListViewBackgroundImageTiledDescr))] 414[SRCategory(nameof(SR.CatAppearance))] 417[SRDescription(nameof(SR.borderStyleDescr))] 437[SRCategory(nameof(SR.CatAppearance))] 439[SRDescription(nameof(SR.ListViewCheckBoxesDescr))] 455throw new NotSupportedException(SR.ListViewCheckBoxesNotSupportedInTileView); 500throw new NotSupportedException(SR.ListViewCheckBoxesNotSupportedInTileView); 609[SRCategory(nameof(SR.CatBehavior))] 612[SRDescription(nameof(SR.ListViewColumnsDescr))] 739_defaultGroup ??= new ListViewGroup(string.Format(SR.ListViewGroupDefaultGroup, "1")) 800[SRCategory(nameof(SR.CatAppearance))] 803[SRDescription(nameof(SR.ListViewFocusedItemDescr))] 871[SRCategory(nameof(SR.CatAppearance))] 873[SRDescription(nameof(SR.ListViewFullRowSelectDescr))] 894[SRCategory(nameof(SR.CatAppearance))] 896[SRDescription(nameof(SR.ListViewGridLinesDescr))] 932[SRCategory(nameof(SR.CatBehavior))] 934[SRDescription(nameof(SR.ListViewGroupImageListDescr))] 965[SRCategory(nameof(SR.CatBehavior))] 969[SRDescription(nameof(SR.ListViewGroupsDescr))] 993[SRCategory(nameof(SR.CatBehavior))] 995[SRDescription(nameof(SR.ListViewHeaderStyleDescr))] 1028[SRCategory(nameof(SR.CatBehavior))] 1030[SRDescription(nameof(SR.ListViewHideSelectionDescr))] 1048[SRCategory(nameof(SR.CatBehavior))] 1050[SRDescription(nameof(SR.ListViewHotTrackingDescr))] 1076[SRCategory(nameof(SR.CatBehavior))] 1078[SRDescription(nameof(SR.ListViewHoverSelectDescr))] 1092throw new ArgumentException(SR.ListViewHoverMustBeOnWhenHotTrackingIsOn, nameof(value)); 1111[SRDescription(nameof(SR.ListViewInsertionMarkDescr))] 1134[SRCategory(nameof(SR.CatBehavior))] 1138[SRDescription(nameof(SR.ListViewItemsDescr))] 1151[SRCategory(nameof(SR.CatBehavior))] 1153[SRDescription(nameof(SR.ListViewLabelEditDescr))] 1173[SRCategory(nameof(SR.CatBehavior))] 1176[SRDescription(nameof(SR.ListViewLabelWrapDescr))] 1196[SRCategory(nameof(SR.CatBehavior))] 1198[SRDescription(nameof(SR.ListViewLargeImageListDescr))] 1249[SRCategory(nameof(SR.CatBehavior))] 1252[SRDescription(nameof(SR.ListViewItemSorterDescr))] 1276[SRCategory(nameof(SR.CatBehavior))] 1278[SRDescription(nameof(SR.ListViewMultiSelectDescr))] 1299[SRCategory(nameof(SR.CatBehavior))] 1301[SRDescription(nameof(SR.ListViewOwnerDrawDescr))] 1324[SRCategory(nameof(SR.CatAppearance))] 1327[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 1348[SRCategory(nameof(SR.CatPropertyChanged))] 1349[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))] 1359[SRCategory(nameof(SR.CatBehavior))] 1361[SRDescription(nameof(SR.ListViewScrollableDescr))] 1396[SRCategory(nameof(SR.CatAppearance))] 1399[SRDescription(nameof(SR.ListViewSelectedItemsDescr))] 1410[SRCategory(nameof(SR.CatBehavior))] 1412[SRDescription(nameof(SR.ListViewShowGroupsDescr))] 1435[SRCategory(nameof(SR.CatBehavior))] 1437[SRDescription(nameof(SR.ListViewSmallImageListDescr))] 1476[SRCategory(nameof(SR.CatBehavior))] 1478[SRDescription(nameof(SR.ListViewShowItemToolTipsDescr))] 1495[SRCategory(nameof(SR.CatBehavior))] 1497[SRDescription(nameof(SR.ListViewSortingDescr))] 1541[SRCategory(nameof(SR.CatBehavior))] 1543[SRDescription(nameof(SR.ListViewStateImageListDescr))] 1638[SRCategory(nameof(SR.CatAppearance))] 1640[SRDescription(nameof(SR.ListViewTileSizeDescr))] 1674throw new ArgumentOutOfRangeException(nameof(TileSize), SR.ListViewTileSizeMustBePositive); 1706[SRCategory(nameof(SR.CatAppearance))] 1709[SRDescription(nameof(SR.ListViewTopItemDescr))] 1716throw new InvalidOperationException(SR.ListViewGetTopItem); 1731throw new InvalidOperationException(SR.ListViewSetTopItem); 1800[SRCategory(nameof(SR.CatAppearance))] 1802[SRDescription(nameof(SR.ListViewViewDescr))] 1813throw new NotSupportedException(SR.ListViewTileViewDoesNotSupportCheckBoxes); 1823throw new NotSupportedException(SR.ListViewCantSetViewToTileViewInVirtualMode); 1858[SRCategory(nameof(SR.CatBehavior))] 1861[SRDescription(nameof(SR.ListViewVirtualListSizeDescr))] 1872throw new ArgumentException(string.Format(SR.ListViewVirtualListSizeInvalidArgument, "value", value)); 1908[SRCategory(nameof(SR.CatBehavior))] 1911[SRDescription(nameof(SR.ListViewVirtualModeDescr))] 1927throw new InvalidOperationException(SR.ListViewVirtualListViewRequiresNoItems); 1932throw new InvalidOperationException(SR.ListViewVirtualListViewRequiresNoCheckedItems); 1937throw new InvalidOperationException(SR.ListViewVirtualListViewRequiresNoSelectedItems); 1943throw new NotSupportedException(SR.ListViewCantSetVirtualModeWhenInTileView); 1952[SRCategory(nameof(SR.CatBehavior))] 1953[SRDescription(nameof(SR.ListViewAfterLabelEditDescr))] 1960[SRCategory(nameof(SR.CatBehavior))] 1961[SRDescription(nameof(SR.ListViewBeforeLabelEditDescr))] 1968[SRCategory(nameof(SR.CatAction))] 1969[SRDescription(nameof(SR.ListViewCacheVirtualItemsEventDescr))] 1976[SRCategory(nameof(SR.CatAction))] 1977[SRDescription(nameof(SR.ListViewColumnClickDescr))] 1987[SRCategory(nameof(SR.CatAction))] 1988[SRDescription(nameof(SR.ListViewGroupTaskLinkClickDescr))] 1998[SRCategory(nameof(SR.CatPropertyChanged))] 1999[SRDescription(nameof(SR.ListViewColumnReorderedDscr))] 2009[SRCategory(nameof(SR.CatPropertyChanged))] 2010[SRDescription(nameof(SR.ListViewColumnWidthChangedDscr))] 2020[SRCategory(nameof(SR.CatPropertyChanged))] 2021[SRDescription(nameof(SR.ListViewColumnWidthChangingDscr))] 2031[SRCategory(nameof(SR.CatBehavior))] 2032[SRDescription(nameof(SR.ListViewDrawColumnHeaderEventDescr))] 2042[SRCategory(nameof(SR.CatBehavior))] 2043[SRDescription(nameof(SR.ListViewDrawItemEventDescr))] 2053[SRCategory(nameof(SR.CatBehavior))] 2054[SRDescription(nameof(SR.ListViewDrawSubItemEventDescr))] 2061[SRCategory(nameof(SR.CatAction))] 2062[SRDescription(nameof(SR.ListViewItemClickDescr))] 2069[SRCategory(nameof(SR.CatBehavior))] 2070[SRDescription(nameof(SR.CheckedListBoxItemCheckDescr))] 2077[SRCategory(nameof(SR.CatBehavior))] 2078[SRDescription(nameof(SR.ListViewItemCheckedDescr))] 2085[SRCategory(nameof(SR.CatAction))] 2086[SRDescription(nameof(SR.ListViewItemDragDescr))] 2093[SRCategory(nameof(SR.CatAction))] 2094[SRDescription(nameof(SR.ListViewItemMouseHoverDescr))] 2101[SRCategory(nameof(SR.CatBehavior))] 2102[SRDescription(nameof(SR.ListViewItemSelectionChangedDescr))] 2112[SRCategory(nameof(SR.CatBehavior))] 2113[SRDescription(nameof(SR.ListViewGroupCollapsedStateChangedDescr))] 2148[SRCategory(nameof(SR.CatAction))] 2149[SRDescription(nameof(SR.ListViewRetrieveVirtualItemEventDescr))] 2156[SRCategory(nameof(SR.CatAction))] 2157[SRDescription(nameof(SR.ListViewSearchForVirtualItemDescr))] 2164[SRCategory(nameof(SR.CatBehavior))] 2165[SRDescription(nameof(SR.ListViewSelectedIndexChangedDescr))] 2172[SRCategory(nameof(SR.CatBehavior))] 2173[SRDescription(nameof(SR.ListViewVirtualItemsSelectionRangeChangedDescr))] 2266throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(value), value), nameof(value)); 3224throw new InvalidOperationException(SR.ListViewFindNearestItemWorksOnlyInIconView); 3229throw new ArgumentOutOfRangeException(nameof(searchDirection), searchDirection, string.Format(SR.InvalidArgument, nameof(searchDirection), searchDirection)); 3601string.Format(SR.InvalidArgument, nameof(index), index)) 3678string.Format(SR.InvalidArgument, nameof(itemIndex), itemIndex)) 3824throw new ArgumentException(string.Format(SR.OnlyOneControl, ch.Text), nameof(ch)); 3835throw new InvalidOperationException(SR.ListViewAddColumnFailed); 4020throw new ArgumentException(string.Format(SR.OnlyOneControl, items[i].Text), nameof(items)); 4047throw new ArgumentException(string.Format(SR.OnlyOneControl, item.Text), nameof(items)); 4213throw new InvalidOperationException(SR.ListViewAddItemFailed); 4430? string.Format(SR.ListViewGroupCollapsedStateName, listViewGroup.Header) 4431: string.Format(SR.ListViewGroupExpandedStateName, listViewGroup.Header)); 5034throw new ArgumentException(SR.ListViewStartIndexCannotBeLargerThanEndIndex); 5280throw new InvalidOperationException(SR.ListViewColumnInfoSet); 5575throw new InvalidOperationException(SR.ListViewSortNotAllowedInVirtualListView); 6813ListViewItem lvItem = rVI.Item ?? throw new InvalidOperationException(SR.ListViewVirtualItemRequired); 6827throw new InvalidOperationException(SR.ListViewVirtualModeCantAccessSubItem);
System\Windows\Forms\Controls\ListView\ListView.ListViewAccessibleObject.cs (3)
160SortOrder.Ascending => SR.SortedAscendingAccessibleStatus, 161SortOrder.Descending => SR.SortedDescendingAccessibleStatus, 162_ => SR.NotSortedAccessibleStatus
System\Windows\Forms\Controls\ListView\ListView.ListViewItemCollection.cs (2)
267key.ThrowIfNullOrEmptyWithMessage(SR.FindKeyMayNotBeEmptyOrNull); 310throw new InvalidOperationException(SR.ListViewCantGetEnumeratorInVirtualMode);
System\Windows\Forms\Controls\ListView\ListView.ListViewNativeItemCollection.cs (8)
43throw new InvalidOperationException(SR.ListViewCantModifyTheItemCollInAVirtualListView); 73return !throwInVirtualMode ? null : throw new InvalidOperationException(SR.ListViewVirtualItemRequired); 101throw new InvalidOperationException(SR.ListViewCantAddItemsToAVirtualListView); 134throw new InvalidOperationException(SR.ListViewCantAddItemsToAVirtualListView); 339throw new InvalidOperationException(SR.ListViewCantAddItemsToAVirtualListView); 386throw new InvalidOperationException(SR.ListViewCantRemoveItemsFromAVirtualListView); 399throw new InvalidOperationException(SR.ListViewCantRemoveItemsFromAVirtualListView); 423throw new ArgumentOutOfRangeException(nameof(index), index, string.Format(SR.InvalidArgument, nameof(index), index));
System\Windows\Forms\Controls\ListView\ListView.SelectedIndexCollection.cs (3)
70throw new InvalidOperationException(SR.SelectedNotEqualActual); 224throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(value), value), nameof(value)); 246throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(value), value), nameof(value));
System\Windows\Forms\Controls\ListView\ListView.SelectedListViewItemCollection.cs (14)
53throw new InvalidOperationException(SR.SelectedNotEqualActual); 89throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode); 117throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode); 157throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode); 185throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode); 268throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode); 285throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode); 295throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode); 305throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode); 322throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode); 335throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode); 353throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode); 372throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode); 392throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode);
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (14)
39public ListViewGroup() : this(string.Format(SR.ListViewGroupDefaultHeader, s_nextHeader++)) 103[SRCategory(nameof(SR.CatAppearance))] 123[SRCategory(nameof(SR.CatAppearance))] 146[SRCategory(nameof(SR.CatAppearance))] 173[SRCategory(nameof(SR.CatAppearance))] 204[SRCategory(nameof(SR.CatAppearance))] 227[SRCategory(nameof(SR.CatAppearance))] 248[SRCategory(nameof(SR.CatAppearance))] 279[SRCategory(nameof(SR.CatBehavior))] 316[SRCategory(nameof(SR.CatBehavior))] 347[SRCategory(nameof(SR.CatBehavior))] 348[SRDescription(nameof(SR.ListViewGroupNameDescr))] 353[SRCategory(nameof(SR.CatData))] 356[SRDescription(nameof(SR.ControlTagDescr))]
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (1)
83public override string DefaultAction => SR.AccessibleActionDoubleClick;
System\Windows\Forms\Controls\ListView\ListViewGroupCollection.cs (3)
145throw new ArgumentException(SR.ListViewGroupCollectionBadListViewGroup, nameof(value)); 180throw new ArgumentException(string.Format(SR.OnlyOneControl, item.Text)); 308throw new InvalidOperationException(SR.ListViewCannotAddGroupsToVirtualListView);
System\Windows\Forms\Controls\ListView\ListViewGroupConverter.cs (2)
73if (value is null || value.Equals(SR.toStringNone)) 102return SR.toStringNone;
System\Windows\Forms\Controls\ListView\ListViewGroupItemCollection.cs (1)
68throw new ArgumentException(string.Format(SR.OnlyOneControl, item.Text), nameof(item));
System\Windows\Forms\Controls\ListView\ListViewItem.cs (23)
252?? throw new InvalidOperationException(SR.ListViewItemAccessibilityObjectRequiresListView); 279[SRCategory(nameof(SR.CatAppearance))] 323[SRCategory(nameof(SR.CatAppearance))] 386[SRCategory(nameof(SR.CatAppearance))] 410[SRCategory(nameof(SR.CatAppearance))] 437[SRCategory(nameof(SR.CatBehavior))] 470[SRCategory(nameof(SR.CatBehavior))] 471[SRDescription(nameof(SR.ListViewItemImageIndexDescr))] 504[SRCategory(nameof(SR.CatBehavior))] 544[SRDescription(nameof(SR.ListViewItemIndentCountDescr))] 545[SRCategory(nameof(SR.CatDisplay))] 553throw new ArgumentOutOfRangeException(nameof(IndentCount), SR.ListViewIndentCountCantBeNegative); 623[SRCategory(nameof(SR.CatDisplay))] 716[SRDescription(nameof(SR.ListViewItemStateImageIndexDescr))] 717[SRCategory(nameof(SR.CatBehavior))] 769[SRCategory(nameof(SR.CatData))] 771[SRDescription(nameof(SR.ListViewItemSubItemsDescr))] 787[SRCategory(nameof(SR.CatData))] 790[SRDescription(nameof(SR.ControlTagDescr))] 804[SRCategory(nameof(SR.CatAppearance))] 825[SRCategory(nameof(SR.CatAppearance))] 855[SRCategory(nameof(SR.CatAppearance))] 872throw new InvalidOperationException(SR.ListViewBeginEditFailed);
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemBaseAccessibleObject.cs (5)
106? SR.AccessibleActionUncheck 107: SR.AccessibleActionCheck; 110return SR.AccessibleActionDoubleClick; 153throw new InvalidOperationException(string.Format(SR.ListViewItemAccessibilityObjectInvalidViewException, View.ToString())); 165throw new InvalidOperationException(string.Format(SR.ListViewItemAccessibilityObjectInvalidViewException, View.ToString()));
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemDetailsAccessibleObject.cs (2)
48throw new InvalidOperationException(string.Format(SR.ListViewItemAccessibilityObjectInvalidViewException, nameof(View.Details))); 75throw new InvalidOperationException(string.Format(SR.ListViewItemAccessibilityObjectInvalidViewException, nameof(View.Details)));
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemTileAccessibleObject.cs (2)
42throw new InvalidOperationException(string.Format(SR.ListViewItemAccessibilityObjectInvalidViewException, nameof(View.Tile))); 68throw new InvalidOperationException(string.Format(SR.ListViewItemAccessibilityObjectInvalidViewException, nameof(View.Tile)));
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemWithImageAccessibleObject.cs (2)
50throw new InvalidOperationException(string.Format(SR.ListViewItemAccessibilityObjectInvalidViewException, View.ToString())); 70throw new InvalidOperationException(string.Format(SR.ListViewItemAccessibilityObjectInvalidViewException, View.ToString()));
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItem.cs (2)
189[SRCategory(nameof(SR.CatData))] 192[SRDescription(nameof(SR.ControlTagDescr))]
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItemCollection.cs (4)
76throw new ArgumentException(SR.ListViewBadListViewSubItem, nameof(value)); 188throw new ArgumentException(SR.ListViewSubItemCollectionInvalidArgument, nameof(item)); 236throw new InvalidOperationException(SR.ErrorCollectionFull); 321throw new ArgumentException(SR.ListViewBadListViewSubItem, nameof(item));
System\Windows\Forms\Controls\ListView\ListViewVirtualItemsSelectionRangeChangedEventArgs.cs (1)
18throw new ArgumentException(SR.ListViewStartIndexCannotBeLargerThanEndIndex);
System\Windows\Forms\Controls\Menus\MenuStrip.cs (13)
10[SRDescription(nameof(SR.DescriptionMenuStrip))] 47[SRDescription(nameof(SR.ToolStripCanOverflowDescr))] 48[SRCategory(nameof(SR.CatLayout))] 94[SRCategory(nameof(SR.CatBehavior))] 95[SRDescription(nameof(SR.MenuStripMenuActivateDescr))] 102[SRCategory(nameof(SR.CatBehavior))] 103[SRDescription(nameof(SR.MenuStripMenuDeactivateDescr))] 111[SRDescription(nameof(SR.ToolStripShowItemToolTipsDescr))] 112[SRCategory(nameof(SR.CatBehavior))] 120[SRCategory(nameof(SR.CatLayout))] 121[SRDescription(nameof(SR.ToolStripStretchDescr))] 130[SRDescription(nameof(SR.MenuStripMdiWindowListItem))] 131[SRCategory(nameof(SR.CatBehavior))]
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarButtonAccessibleObject.cs (1)
26public override string DefaultAction => SR.AccessibleActionClick;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarCellAccessibleObject.cs (1)
85return string.Format(SR.MonthCalendarWeekNumberDescription, weekNumber)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarNextButtonAccessibleObject.cs (2)
31public override string Description => SR.CalendarNextButtonAccessibleObjectDescription; 77public override string Name => SR.MonthCalendarNextButtonAccessibleName;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarPreviousButtonAccessibleObject.cs (2)
31public override string Description => SR.CalendarPreviousButtonAccessibleObjectDescription; 76public override string Name => SR.MonthCalendarPreviousButtonAccessibleName;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarRowAccessibleObject.cs (1)
136return string.Format(SR.MonthCalendarWeekNumberDescription, weekNumber);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarTodayLinkAccessibleObject.cs (2)
32public override string Description => SR.CalendarTodayLinkAccessibleObjectDescription; 48=> string.Format(SR.MonthCalendarTodayButtonAccessibleName,
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarWeekNumberCellAccessibleObject.cs (1)
78public override string Name => string.Format(SR.MonthCalendarWeekNumberDescription, _weekNumber);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (57)
59[SRDescription(nameof(SR.DescriptionMonthCalendar))] 165[SRDescription(nameof(SR.MonthCalendarAnnuallyBoldedDatesDescr))] 191[SRDescription(nameof(SR.MonthCalendarMonthBackColorDescr))] 264[SRCategory(nameof(SR.CatAppearance))] 266[SRDescription(nameof(SR.MonthCalendarDimensionsDescr))] 367[SRCategory(nameof(SR.CatBehavior))] 370[SRDescription(nameof(SR.MonthCalendarFirstDayOfWeekDescr))] 407[SRDescription(nameof(SR.MonthCalendarForeColorDescr))] 443[SRCategory(nameof(SR.CatBehavior))] 444[SRDescription(nameof(SR.MonthCalendarMaxDateDescr))] 467[SRCategory(nameof(SR.CatBehavior))] 469[SRDescription(nameof(SR.MonthCalendarMaxSelectionCountDescr))] 486throw new ArgumentException(string.Format(SR.MonthCalendarMaxSelCount, value.ToString("D")), nameof(value)); 499[SRCategory(nameof(SR.CatBehavior))] 500[SRDescription(nameof(SR.MonthCalendarMinDateDescr))] 523[SRDescription(nameof(SR.MonthCalendarMonthlyBoldedDatesDescr))] 572[SRCategory(nameof(SR.CatAppearance))] 575[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 600[SRCategory(nameof(SR.CatBehavior))] 602[SRDescription(nameof(SR.MonthCalendarScrollChangeDescr))] 628[SRCategory(nameof(SR.CatBehavior))] 631[SRDescription(nameof(SR.MonthCalendarSelectionEndDescr))] 665[SRCategory(nameof(SR.CatBehavior))] 668[SRDescription(nameof(SR.MonthCalendarSelectionStartDescr))] 702[SRCategory(nameof(SR.CatBehavior))] 703[SRDescription(nameof(SR.MonthCalendarSelectionRangeDescr))] 715[SRCategory(nameof(SR.CatBehavior))] 717[SRDescription(nameof(SR.MonthCalendarShowTodayDescr))] 738[SRCategory(nameof(SR.CatBehavior))] 740[SRDescription(nameof(SR.MonthCalendarShowTodayCircleDescr))] 760[SRCategory(nameof(SR.CatBehavior))] 763[SRDescription(nameof(SR.MonthCalendarShowWeekNumbersDescr))] 787[SRCategory(nameof(SR.CatAppearance))] 790[SRDescription(nameof(SR.MonthCalendarSingleMonthSizeDescr))] 800throw new InvalidOperationException(SR.InvalidSingleMonthSize); 848[SRCategory(nameof(SR.CatBehavior))] 849[SRDescription(nameof(SR.MonthCalendarTodayDateDescr))] 892[SRCategory(nameof(SR.CatBehavior))] 895[SRDescription(nameof(SR.MonthCalendarTodayDateSetDescr))] 901[SRCategory(nameof(SR.CatAppearance))] 902[SRDescription(nameof(SR.MonthCalendarTitleBackColorDescr))] 910throw new ArgumentException(string.Format(SR.InvalidNullArgument, nameof(value)), nameof(value)); 922[SRCategory(nameof(SR.CatAppearance))] 923[SRDescription(nameof(SR.MonthCalendarTitleForeColorDescr))] 931throw new ArgumentException(string.Format(SR.InvalidNullArgument, nameof(value)), nameof(value)); 943[SRCategory(nameof(SR.CatAppearance))] 944[SRDescription(nameof(SR.MonthCalendarTrailingForeColorDescr))] 952throw new ArgumentException(string.Format(SR.InvalidNullArgument, nameof(value)), nameof(value)); 1006[SRCategory(nameof(SR.CatAction))] 1007[SRDescription(nameof(SR.MonthCalendarOnDateChangedDescr))] 1014[SRCategory(nameof(SR.CatAction))] 1015[SRDescription(nameof(SR.MonthCalendarOnDateSelectedDescr))] 1060[SRCategory(nameof(SR.CatPropertyChanged))] 1061[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))] 1741string.Format(SR.MonthCalendarRange, minDate.ToShortDateString(), maxDate.ToShortDateString())); 1755throw new ArgumentOutOfRangeException(nameof(x), string.Format(SR.MonthCalendarInvalidDimensions, (x).ToString("D", CultureInfo.CurrentCulture), (y).ToString("D", CultureInfo.CurrentCulture))); 1760throw new ArgumentOutOfRangeException(nameof(y), string.Format(SR.MonthCalendarInvalidDimensions, (x).ToString("D", CultureInfo.CurrentCulture), (y).ToString("D", CultureInfo.CurrentCulture)));
System\Windows\Forms\Controls\MonthCalendar\SelectionRangeConverter.cs (3)
72throw new ArgumentException(string.Format(SR.TextParseFailedFormat, 150throw new ArgumentException(SR.PropertyValueInvalidEntry, invalidCast); 154throw new ArgumentException(SR.PropertyValueInvalidEntry, nullRef);
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (35)
21[SRDescription(nameof(SR.DescriptionPictureBox))] 129[SRCategory(nameof(SR.CatAppearance))] 131[SRDescription(nameof(SR.PictureBoxBorderStyleDescr))] 166[SRCategory(nameof(SR.CatAsynchronous))] 167[SRDescription(nameof(SR.PictureBoxCancelAsyncDescr))] 222[SRCategory(nameof(SR.CatAsynchronous))] 225[SRDescription(nameof(SR.PictureBoxErrorImageDescr))] 295[SRCategory(nameof(SR.CatAppearance))] 298[SRDescription(nameof(SR.PictureBoxImageDescr))] 306[SRCategory(nameof(SR.CatAsynchronous))] 310[SRDescription(nameof(SR.PictureBoxImageLocationDescr))] 381[SRCategory(nameof(SR.CatAsynchronous))] 384[SRDescription(nameof(SR.PictureBoxInitialImageDescr))] 455[SRCategory(nameof(SR.CatAsynchronous))] 456[SRDescription(nameof(SR.PictureBoxLoad0Descr))] 461throw new InvalidOperationException(SR.PictureBoxNoImageLocation); 490throw new NotSupportedException(SR.PictureBoxRemoteLocationNotSupported); 507[SRCategory(nameof(SR.CatAsynchronous))] 508[SRDescription(nameof(SR.PictureBoxLoad1Descr))] 515[SRCategory(nameof(SR.CatAsynchronous))] 516[SRDescription(nameof(SR.PictureBoxLoadAsync0Descr))] 521throw new InvalidOperationException(SR.PictureBoxNoImageLocation); 563throw new NotSupportedException(SR.PictureBoxRemoteLocationNotSupported); 738[SRCategory(nameof(SR.CatAsynchronous))] 739[SRDescription(nameof(SR.PictureBoxLoadAsync1Descr))] 746[SRCategory(nameof(SR.CatAsynchronous))] 747[SRDescription(nameof(SR.PictureBoxLoadCompletedDescr))] 754[SRCategory(nameof(SR.CatAsynchronous))] 755[SRDescription(nameof(SR.PictureBoxLoadProgressChangedDescr))] 817[SRCategory(nameof(SR.CatBehavior))] 819[SRDescription(nameof(SR.PictureBoxSizeModeDescr))] 853[SRCategory(nameof(SR.CatPropertyChanged))] 854[SRDescription(nameof(SR.PictureBoxOnSizeModeChangedDescr))] 1184[SRCategory(nameof(SR.CatAsynchronous))] 1187[SRDescription(nameof(SR.PictureBoxWaitOnLoadDescr))]
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (20)
16[SRDescription(nameof(SR.DescriptionProgressBar))] 111[SRCategory(nameof(SR.CatBehavior))] 112[SRDescription(nameof(SR.ProgressBarStyleDescr))] 226[SRCategory(nameof(SR.CatBehavior))] 227[SRDescription(nameof(SR.ProgressBarMarqueeAnimationSpeed))] 265[SRCategory(nameof(SR.CatBehavior))] 267[SRDescription(nameof(SR.ProgressBarMaximumDescr))] 303[SRCategory(nameof(SR.CatBehavior))] 305[SRDescription(nameof(SR.ProgressBarMinimumDescr))] 377[SRCategory(nameof(SR.CatAppearance))] 380[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 397[SRCategory(nameof(SR.CatPropertyChanged))] 398[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))] 410[SRCategory(nameof(SR.CatBehavior))] 411[SRDescription(nameof(SR.ProgressBarStepDescr))] 463[SRCategory(nameof(SR.CatBehavior))] 465[SRDescription(nameof(SR.ProgressBarValueDescr))] 475throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, nameof(Value), value, nameof(Minimum), nameof(Maximum))); 571throw new InvalidOperationException(SR.ProgressBarIncrementMarqueeException); 642throw new InvalidOperationException(SR.ProgressBarPerformStepMarqueeException);
System\Windows\Forms\Controls\PropertyGrid\GridItem.cs (3)
24[SRCategory(nameof(SR.CatData))] 27[SRDescription(nameof(SR.ControlTagDescr))] 80set => throw new NotSupportedException(SR.GridItemNotExpandable);
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (77)
22[SRDescription(nameof(SR.DescriptionPropertyGrid))] 397[SRDescription(nameof(SR.PropertyGridCanShowCommandsDesc))] 403[SRCategory(nameof(SR.CatAppearance))] 404[SRDescription(nameof(SR.PropertyGridCategoryForeColorDesc))] 422[SRCategory(nameof(SR.CatAppearance))] 423[SRDescription(nameof(SR.PropertyGridCommandsBackColorDesc))] 437[SRCategory(nameof(SR.CatAppearance))] 438[SRDescription(nameof(SR.PropertyGridCommandsForeColorDesc))] 452[SRCategory(nameof(SR.CatAppearance))] 453[SRDescription(nameof(SR.PropertyGridCommandsLinkColorDesc))] 463[SRCategory(nameof(SR.CatAppearance))] 464[SRDescription(nameof(SR.PropertyGridCommandsActiveLinkColorDesc))] 474[SRCategory(nameof(SR.CatAppearance))] 475[SRDescription(nameof(SR.PropertyGridCommandsDisabledLinkColorDesc))] 485[SRCategory(nameof(SR.CatAppearance))] 486[SRDescription(nameof(SR.PropertyGridCommandsBorderColorDesc))] 505[SRCategory(nameof(SR.CatAppearance))] 507[SRDescription(nameof(SR.PropertyGridCommandsVisibleIfAvailable))] 624[SRCategory(nameof(SR.CatAppearance))] 625[SRDescription(nameof(SR.PropertyGridHelpBackColorDesc))] 636[SRCategory(nameof(SR.CatAppearance))] 637[SRDescription(nameof(SR.PropertyGridHelpForeColorDesc))] 648[SRCategory(nameof(SR.CatAppearance))] 649[SRDescription(nameof(SR.PropertyGridHelpBorderColorDesc))] 660[SRCategory(nameof(SR.CatAppearance))] 663[SRDescription(nameof(SR.PropertyGridHelpVisibleDesc))] 696[SRCategory(nameof(SR.CatAppearance))] 697[SRDescription(nameof(SR.PropertyGridSelectedItemWithFocusBackColorDesc))] 715[SRCategory(nameof(SR.CatAppearance))] 716[SRDescription(nameof(SR.PropertyGridSelectedItemWithFocusForeColorDesc))] 734[SRCategory(nameof(SR.CatAppearance))] 735[SRDescription(nameof(SR.PropertyGridDisabledItemForeColorDesc))] 750[SRCategory(nameof(SR.CatAppearance))] 751[SRDescription(nameof(SR.PropertyGridCategorySplitterColorDesc))] 770[SRCategory(nameof(SR.CatAppearance))] 771[SRDescription(nameof(SR.PropertyGridCanShowVisualStyleGlyphsDesc))] 786[SRCategory(nameof(SR.CatAppearance))] 787[SRDescription(nameof(SR.PropertyGridLineColorDesc))] 826[SRCategory(nameof(SR.CatAppearance))] 828[SRDescription(nameof(SR.PropertyGridPropertySortDesc))] 884[SRDescription(nameof(SR.PropertyGridSelectedObjectDesc))] 885[SRCategory(nameof(SR.CatBehavior))] 922throw new ArgumentException(string.Format(SR.PropertyGridSetNull, count, value.Length)); 1186[SRCategory(nameof(SR.CatAppearance))] 1187[SRDescription(nameof(SR.PropertyGridLargeButtonsDesc))] 1234[SRCategory(nameof(SR.CatAppearance))] 1236[SRDescription(nameof(SR.PropertyGridToolbarVisibleDesc))] 1265[SRCategory(nameof(SR.CatAppearance))] 1266[SRDescription(nameof(SR.PropertyGridViewBackColorDesc))] 1278[SRCategory(nameof(SR.CatAppearance))] 1279[SRDescription(nameof(SR.PropertyGridViewForeColorDesc))] 1294[SRCategory(nameof(SR.CatAppearance))] 1295[SRDescription(nameof(SR.PropertyGridViewBorderColorDesc))] 1399[SRCategory(nameof(SR.CatPropertyChanged))] 1400[SRDescription(nameof(SR.PropertyGridPropertyValueChangedDescr))] 1416[SRCategory(nameof(SR.CatPropertyChanged))] 1417[SRDescription(nameof(SR.PropertyGridPropertyTabchangedDescr))] 1427[SRCategory(nameof(SR.CatPropertyChanged))] 1428[SRDescription(nameof(SR.PropertyGridPropertySortChangedDescr))] 1438[SRCategory(nameof(SR.CatPropertyChanged))] 1439[SRDescription(nameof(SR.PropertyGridSelectedGridItemChangedDescr))] 1446[SRCategory(nameof(SR.CatPropertyChanged))] 1447[SRDescription(nameof(SR.PropertyGridSelectedObjectsChangedDescr))] 1583throw new ArgumentException(SR.PropertyGridTabScope, nameof(tabScope)); 1693throw new ArgumentException(string.Format(SR.PropertyGridNoBitmap, tab.GetType().FullName)); 1698throw new ArgumentException(string.Format(SR.PropertyGridTabName, tab.GetType().FullName)); 2964string.Format(SR.PropertyGridPropertyValueSelectedFormat, changedItem.Value)); 3182string error = SR.ErrorPropertyPageFailed; 3192SR.PropertyGridTitle, 3425throw new ArgumentException(SR.PropertyGridTabScope); 3528throw new ArgumentException(SR.PropertyGridRemoveStaticTabs); 3571throw new ArgumentException(SR.PropertyGridRemoveStaticTabs); 3882SR.PBRSToolTipAlphabetic, 3887SR.PBRSToolTipCategorized, 3959SR.PBRSToolTipPropertyPages, 4200[SRCategory(nameof(SR.CatBehavior))] 4201[SRDescription(nameof(SR.UseCompatibleTextRenderingDescr))]
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.PropertyTabCollection.cs (5)
50throw new InvalidOperationException(SR.PropertyGridPropertyTabCollectionReadOnly); 61throw new InvalidOperationException(SR.PropertyGridPropertyTabCollectionReadOnly); 71throw new InvalidOperationException(SR.PropertyGridPropertyTabCollectionReadOnly); 85throw new InvalidOperationException(SR.PropertyGridPropertyTabCollectionReadOnly); 126throw new InvalidOperationException(SR.PropertyGridPropertyTabCollectionReadOnly);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CategoryGridEntry.CategoryGridEntryAccessibleObject.cs (1)
94UIA_PROPERTY_ID.UIA_LocalizedControlTypePropertyId => (VARIANT)SR.CategoryPropertyGridLocalizedControlType,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CommandsPane.cs (1)
129SR.PBRSErrorTitle,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.cs (2)
178? SR.PropertyGridDropDownButtonComboBoxAccessibleName 179: SR.PropertyGridDropDownButtonAccessibleName;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1102SR.PBRSErrorTitle,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (2)
43return SR.AccessibleActionCollapse; 47return SR.AccessibleActionExpand;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (5)
59_detailsButton.Text = $" {SR.ExDlgShowDetails}"; 61_detailsTextBox.AccessibleName = SR.ExDlgDetailsText; 63_okButton.Text = SR.ExDlgOk; 64_cancelButton.Text = SR.ExDlgCancel; 104private static bool IsRTLResources => SR.RTL != "RTL_False";
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (1)
56Text = SR.PropertyGridHelpPaneTitle;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.HelpPaneAccessibleObject.cs (1)
63? string.Format(SR.PropertyGridHelpPaneAccessibleNameTemplate, target.AccessibilityObject.Name)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (1)
79string.Format(SR.ExceptionCreatingObject, InstanceParentGridEntry?.PropertyType?.FullName, e),
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (1)
275DesignerTransaction? transaction = host?.CreateTransaction(string.Format(SR.PropertyGridResetValue, PropertyName));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertiesTab.cs (1)
11public override string TabName => SR.PBRSToolTipProperties;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (3)
409SetPropertyValue(owner, value: null, reset: true, undoText: string.Format(SR.PropertyGridResetValue, PropertyName)); 570transaction = host?.CreateTransaction(undoText ?? string.Format(SR.PropertyGridSetValue, PropertyDescriptor.Name)); 848SR.WindowsFormsSetEvent,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.ExceptionEditor.cs (1)
36SR.PropertyGridExceptionInfo,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (6)
527throw new ArgumentException(SR.PropertyGridInvalidGridEntry); 1469SR.ExpandedStateName); 4967ErrorDialog.Message = SR.PBRSFormatExceptionMessage; 4968ErrorDialog.Text = SR.PBRSErrorTitle; 5040ErrorDialog.Message = SR.PBRSErrorInvalidPropertyValue; 5041ErrorDialog.Text = SR.PBRSErrorTitle;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
350throw new InvalidCastException(string.Format(SR.PropertyGridViewEditorCreatedInvalidObject, createType));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.DropDownHolderAccessibleObject.cs (1)
51public override string? Name => SR.PropertyGridViewDropDownControlHolderAccessibleName;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewListBoxAccessibleObject.cs (1)
48public override string? Name => base.Name ?? SR.PropertyGridEntryValuesListDefaultAccessibleName;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.PropertyGridViewAccessibleObject.cs (1)
92SR.PropertyGridDefaultAccessibleNameTemplate,
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (71)
23[SRDescription(nameof(SR.DescriptionRichTextBox))] 158[SRCategory(nameof(SR.CatBehavior))] 160[SRDescription(nameof(SR.RichTextBoxAutoWordSelection))] 214[SRCategory(nameof(SR.CatBehavior))] 217[SRDescription(nameof(SR.RichTextBoxBulletIndent))] 249[SRDescription(nameof(SR.RichTextBoxCanRedoDescr))] 268throw new Win32Exception(lastWin32Error, string.Format(SR.LoadDLLError, Libraries.RichEdit41)); 330[SRCategory(nameof(SR.CatBehavior))] 332[SRDescription(nameof(SR.RichTextBoxDetectURLs))] 356[SRCategory(nameof(SR.CatBehavior))] 358[SRDescription(nameof(SR.RichTextBoxEnableAutoDragDrop))] 518[SRCategory(nameof(SR.CatBehavior))] 521[SRDescription(nameof(SR.RichTextBoxRedoActionNameDescr))] 554[SRCategory(nameof(SR.CatBehavior))] 557[SRDescription(nameof(SR.RichTextBoxRightMargin))] 589[SRDescription(nameof(SR.RichTextBoxRTF))] 632[SRCategory(nameof(SR.CatAppearance))] 635[SRDescription(nameof(SR.RichTextBoxScrollBars))] 660[SRDescription(nameof(SR.RichTextBoxSelAlignment))] 736[SRDescription(nameof(SR.RichTextBoxSelBullet))] 802[SRDescription(nameof(SR.RichTextBoxSelCharOffset))] 839[SRDescription(nameof(SR.RichTextBoxSelColor))] 875[SRDescription(nameof(SR.RichTextBoxSelBackColor))] 936[SRDescription(nameof(SR.RichTextBoxSelFont))] 952[SRDescription(nameof(SR.RichTextBoxSelHangingIndent))] 1000[SRDescription(nameof(SR.RichTextBoxSelIndent))] 1044[SRCategory(nameof(SR.CatAppearance))] 1047[SRDescription(nameof(SR.TextBoxSelectionLengthDescr))] 1071[SRDescription(nameof(SR.RichTextBoxSelProtected))] 1095[SRDescription(nameof(SR.RichTextBoxSelRTF))] 1121[SRDescription(nameof(SR.RichTextBoxSelRightIndent))] 1168[SRDescription(nameof(SR.RichTextBoxSelTabs))] 1202throw new ArgumentOutOfRangeException(nameof(value), SR.SelTabCountRange); 1234[SRDescription(nameof(SR.RichTextBoxSelText))] 1255[SRCategory(nameof(SR.CatBehavior))] 1258[SRDescription(nameof(SR.RichTextBoxSelTypeDescr))] 1280[SRCategory(nameof(SR.CatBehavior))] 1282[SRDescription(nameof(SR.RichTextBoxSelMargin))] 1397[SRCategory(nameof(SR.CatBehavior))] 1400[SRDescription(nameof(SR.RichTextBoxUndoActionNameDescr))] 1420return SR.RichTextBox_IDUnknown; 1422return SR.RichTextBox_IDTyping; 1424return SR.RichTextBox_IDDelete; 1426return SR.RichTextBox_IDDragDrop; 1428return SR.RichTextBox_IDCut; 1430return SR.RichTextBox_IDPaste; 1442[SRCategory(nameof(SR.CatBehavior))] 1445[SRDescription(nameof(SR.RichTextBoxZoomFactor))] 1483[SRCategory(nameof(SR.CatBehavior))] 1484[SRDescription(nameof(SR.RichTextBoxContentsResized))] 1545[SRCategory(nameof(SR.CatBehavior))] 1546[SRDescription(nameof(SR.RichTextBoxHScroll))] 1553[SRCategory(nameof(SR.CatBehavior))] 1554[SRDescription(nameof(SR.RichTextBoxLinkClick))] 1561[SRCategory(nameof(SR.CatBehavior))] 1562[SRDescription(nameof(SR.RichTextBoxIMEChange))] 1569[SRCategory(nameof(SR.CatBehavior))] 1570[SRDescription(nameof(SR.RichTextBoxProtected))] 1577[SRCategory(nameof(SR.CatBehavior))] 1578[SRDescription(nameof(SR.RichTextBoxSelChange))] 1585[SRCategory(nameof(SR.CatBehavior))] 1586[SRDescription(nameof(SR.RichTextBoxVScroll))] 1843throw new ArgumentOutOfRangeException(nameof(end), end, string.Format(SR.RichTextFindEndInvalid, end)); 1853throw new ArgumentException(string.Format(SR.RichTextFindEndInvalid, end)); 2330throw new ArgumentException(SR.InvalidFileType); 2698_ => throw new ArgumentException(SR.UnknownAttr), 2857throw new ArgumentException(SR.InvalidFileFormat, ex); 2864throw new ArgumentException(SR.InvalidFileFormat); 2913throw new InvalidOperationException(SR.LoadTextError); 3004throw new InvalidOperationException(SR.SaveTextError); 3183throw new OutOfMemoryException(SR.OutOfMemory);
System\Windows\Forms\Controls\Splitter\Splitter.cs (14)
18[SRDescription(nameof(SR.DescriptionSplitter))] 175[SRCategory(nameof(SR.CatAppearance))] 177[SRDescription(nameof(SR.SplitterBorderStyleDescr))] 244throw new ArgumentException(SR.SplitterInvalidDockEnum); 306[SRCategory(nameof(SR.CatBehavior))] 309[SRDescription(nameof(SR.SplitterMinExtraDescr))] 332[SRCategory(nameof(SR.CatBehavior))] 335[SRDescription(nameof(SR.SplitterMinSizeDescr))] 357[SRCategory(nameof(SR.CatLayout))] 360[SRDescription(nameof(SR.SplitterSplitPositionDescr))] 500[SRCategory(nameof(SR.CatBehavior))] 501[SRDescription(nameof(SR.SplitterSplitterMovingDescr))] 508[SRCategory(nameof(SR.CatBehavior))] 509[SRDescription(nameof(SR.SplitterSplitterMovedDescr))]
System\Windows\Forms\Controls\TabControl\TabControl.ControlCollection.cs (1)
25throw new ArgumentException(string.Format(SR.TabControlInvalidTabPageType, value.GetType().Name));
System\Windows\Forms\Controls\TabControl\TabControl.cs (50)
21[SRDescription(nameof(SR.DescriptionTabControl))] 96[SRCategory(nameof(SR.CatBehavior))] 100[SRDescription(nameof(SR.TabBaseAlignmentDescr))] 132[SRCategory(nameof(SR.CatBehavior))] 135[SRDescription(nameof(SR.TabBaseAppearanceDescr))] 402[SRCategory(nameof(SR.CatBehavior))] 404[SRDescription(nameof(SR.TabBaseDrawModeDescr))] 428[SRCategory(nameof(SR.CatBehavior))] 430[SRDescription(nameof(SR.TabBaseHotTrackDescr))] 451[SRCategory(nameof(SR.CatAppearance))] 454[SRDescription(nameof(SR.TabBaseImageListDescr))] 500[SRCategory(nameof(SR.CatBehavior))] 502[SRDescription(nameof(SR.TabBaseItemSizeDescr))] 525throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(ItemSize), value)); 556[SRCategory(nameof(SR.CatBehavior))] 558[SRDescription(nameof(SR.TabBaseMultilineDescr))] 581[SRCategory(nameof(SR.CatBehavior))] 583[SRDescription(nameof(SR.TabBasePaddingDescr))] 594throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(Padding), value)); 613[SRCategory(nameof(SR.CatAppearance))] 616[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 643[SRCategory(nameof(SR.CatAppearance))] 646[SRDescription(nameof(SR.TabBaseRowCountDescr))] 657[SRCategory(nameof(SR.CatBehavior))] 659[SRDescription(nameof(SR.selectedIndexDescr))] 722[SRCategory(nameof(SR.CatAppearance))] 725[SRDescription(nameof(SR.TabControlSelectedTabDescr))] 752[SRCategory(nameof(SR.CatBehavior))] 754[SRDescription(nameof(SR.TabBaseSizeModeDescr))] 778[SRCategory(nameof(SR.CatBehavior))] 781[SRDescription(nameof(SR.TabBaseShowToolTipsDescr))] 800[SRCategory(nameof(SR.CatAppearance))] 803[SRDescription(nameof(SR.TabBaseTabCountDescr))] 809[SRCategory(nameof(SR.CatBehavior))] 810[SRDescription(nameof(SR.TabControlTabsDescr))] 840[SRCategory(nameof(SR.CatBehavior))] 841[SRDescription(nameof(SR.drawItemEventDescr))] 848[SRCategory(nameof(SR.CatPropertyChanged))] 849[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))] 856[SRCategory(nameof(SR.CatBehavior))] 857[SRDescription(nameof(SR.selectedIndexChangedEventDescr))] 867[SRCategory(nameof(SR.CatAction))] 868[SRDescription(nameof(SR.TabControlSelectingEventDescr))] 878[SRCategory(nameof(SR.CatAction))] 879[SRDescription(nameof(SR.TabControlSelectedEventDescr))] 889[SRCategory(nameof(SR.CatAction))] 890[SRDescription(nameof(SR.TabControlDeselectingEventDescr))] 900[SRCategory(nameof(SR.CatAction))] 901[SRDescription(nameof(SR.TabControlDeselectedEventDescr))] 1135throw new ArgumentException(SR.TabControlBadControl, nameof(item));
System\Windows\Forms\Controls\TabControl\TabPage.cs (10)
79[SRCategory(nameof(SR.CatPropertyChanged))] 80[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 93[SRCategory(nameof(SR.CatAppearance))] 94[SRDescription(nameof(SR.ControlBackColorDescr))] 231[SRDescription(nameof(SR.TabItemImageIndexDescr))] 258[SRDescription(nameof(SR.TabItemImageIndexDescr))] 317[SRCategory(nameof(SR.CatAppearance))] 318[SRDescription(nameof(SR.TabItemUseVisualStyleBackColorDescr))] 445[SRDescription(nameof(SR.TabItemToolTipTextDescr))] 493throw new ArgumentException(string.Format(SR.TabControlTabPageNotOnTabControl, value.GetType().FullName));
System\Windows\Forms\Controls\TabControl\TabPage.TabPageControlCollection.cs (1)
31throw new ArgumentException(SR.TabControlTabPageOnTabPage);
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (54)
24[SRDescription(nameof(SR.DescriptionMaskedTextBox))] 193[SRCategory(nameof(SR.CatBehavior))] 194[SRDescription(nameof(SR.MaskedTextBoxAllowPromptAsInputDescr))] 236[SRCategory(nameof(SR.CatBehavior))] 237[SRDescription(nameof(SR.MaskedTextBoxAsciiOnlyDescr))] 268[SRCategory(nameof(SR.CatBehavior))] 269[SRDescription(nameof(SR.MaskedTextBoxBeepOnErrorDescr))] 334[SRCategory(nameof(SR.CatBehavior))] 335[SRDescription(nameof(SR.MaskedTextBoxCultureDescr))] 369[SRCategory(nameof(SR.CatBehavior))] 370[SRDescription(nameof(SR.MaskedTextBoxCutCopyMaskFormat))] 440[SRCategory(nameof(SR.CatBehavior))] 441[SRDescription(nameof(SR.MaskedTextBoxHidePromptOnLeaveDescr))] 502[SRCategory(nameof(SR.CatBehavior))] 503[SRDescription(nameof(SR.MaskedTextBoxInsertKeyModeDescr))] 581[SRCategory(nameof(SR.CatPropertyChanged))] 582[SRDescription(nameof(SR.MaskedTextBoxIsOverwriteModeChangedDescr))] 621[SRCategory(nameof(SR.CatBehavior))] 622[SRDescription(nameof(SR.MaskedTextBoxMaskDescr))] 690throw new ArgumentException(SR.MaskedTextBoxMaskInvalidChar); 722[SRCategory(nameof(SR.CatPropertyChanged))] 723[SRDescription(nameof(SR.MaskedTextBoxMaskChangedDescr))] 773[SRCategory(nameof(SR.CatBehavior))] 774[SRDescription(nameof(SR.MaskedTextBoxMaskInputRejectedDescr))] 824[SRCategory(nameof(SR.CatBehavior))] 825[SRDescription(nameof(SR.MaskedTextBoxPasswordCharDescr))] 841throw new ArgumentException(SR.MaskedTextBoxInvalidCharError); 849throw new InvalidOperationException(SR.MaskedTextBoxPasswordAndPromptCharError); 883[SRCategory(nameof(SR.CatAppearance))] 884[SRDescription(nameof(SR.MaskedTextBoxPromptCharDescr))] 899throw new ArgumentException(SR.MaskedTextBoxInvalidCharError); 908throw new InvalidOperationException(SR.MaskedTextBoxPasswordAndPromptCharError); 953[SRCategory(nameof(SR.CatBehavior))] 954[SRDescription(nameof(SR.MaskedTextBoxRejectInputOnFirstFailureDescr))] 972[SRCategory(nameof(SR.CatBehavior))] 973[SRDescription(nameof(SR.MaskedTextBoxResetOnPrompt))] 991[SRCategory(nameof(SR.CatBehavior))] 992[SRDescription(nameof(SR.MaskedTextBoxResetOnSpace))] 1010[SRCategory(nameof(SR.CatBehavior))] 1011[SRDescription(nameof(SR.MaskedTextBoxSkipLiterals))] 1135[SRCategory(nameof(SR.CatAppearance))] 1233[SRCategory(nameof(SR.CatAppearance))] 1235[SRDescription(nameof(SR.TextBoxTextAlignDescr))] 1260[SRCategory(nameof(SR.CatPropertyChanged))] 1261[SRDescription(nameof(SR.RadioButtonOnTextAlignChangedDescr))] 1274[SRCategory(nameof(SR.CatBehavior))] 1275[SRDescription(nameof(SR.MaskedTextBoxTextMaskFormat))] 1370[SRCategory(nameof(SR.CatFocus))] 1371[SRDescription(nameof(SR.MaskedTextBoxTypeValidationCompletedDescr))] 1382[SRCategory(nameof(SR.CatBehavior))] 1383[SRDescription(nameof(SR.MaskedTextBoxUseSystemPasswordCharDescr))] 1401throw new InvalidOperationException(SR.MaskedTextBoxPasswordAndPromptCharError); 2310message = SR.MaskedTextBoxIncompleteMsg; 2353message = SR.MaskedTextBoxTypeValidationSucceeded;
System\Windows\Forms\Controls\TextBox\TextBox.cs (21)
16[SRDescription(nameof(SR.DescriptionTextBox))] 88[SRCategory(nameof(SR.CatBehavior))] 90[SRDescription(nameof(SR.TextBoxAcceptsReturnDescr))] 112[SRDescription(nameof(SR.TextBoxAutoCompleteModeDescr))] 140[SRDescription(nameof(SR.TextBoxAutoCompleteSourceDescr))] 166throw new NotSupportedException(SR.TextBoxAutoCompleteSourceNoItems); 179[SRDescription(nameof(SR.TextBoxAutoCompleteCustomSourceDescr))] 221[SRCategory(nameof(SR.CatBehavior))] 223[SRDescription(nameof(SR.TextBoxCharacterCasingDescr))] 333[SRCategory(nameof(SR.CatBehavior))] 336[SRDescription(nameof(SR.TextBoxPasswordCharDescr))] 377[SRCategory(nameof(SR.CatAppearance))] 380[SRDescription(nameof(SR.TextBoxScrollBarsDescr))] 442[SRCategory(nameof(SR.CatAppearance))] 444[SRDescription(nameof(SR.TextBoxTextAlignDescr))] 471[SRCategory(nameof(SR.CatBehavior))] 473[SRDescription(nameof(SR.TextBoxUseSystemPasswordCharDescr))] 498[SRCategory(nameof(SR.CatPropertyChanged))] 499[SRDescription(nameof(SR.RadioButtonOnTextAlignChangedDescr))] 756throw new ArgumentException(SR.AutoCompleteFailure); 834[SRDescription(nameof(SR.TextBoxPlaceholderTextDescr))]
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (50)
114[SRCategory(nameof(SR.CatBehavior))] 116[SRDescription(nameof(SR.TextBoxAcceptsTabDescr))] 133[SRCategory(nameof(SR.CatPropertyChanged))] 134[SRDescription(nameof(SR.TextBoxBaseOnAcceptsTabChangedDescr))] 146[SRCategory(nameof(SR.CatBehavior))] 148[SRDescription(nameof(SR.TextBoxShortcutsEnabledDescr))] 236[SRCategory(nameof(SR.CatBehavior))] 239[SRDescription(nameof(SR.TextBoxAutoSizeDescr))] 275[SRCategory(nameof(SR.CatAppearance))] 277[SRDescription(nameof(SR.ControlBackColorDescr))] 345[SRCategory(nameof(SR.CatAppearance))] 348[SRDescription(nameof(SR.TextBoxBorderDescr))] 372[SRCategory(nameof(SR.CatPropertyChanged))] 373[SRDescription(nameof(SR.TextBoxBaseOnBorderStyleChangedDescr))] 387[SRCategory(nameof(SR.CatBehavior))] 390[SRDescription(nameof(SR.TextBoxCanUndoDescr))] 494[SRCategory(nameof(SR.CatAppearance))] 496[SRDescription(nameof(SR.ControlForeColorDescr))] 517[SRCategory(nameof(SR.CatBehavior))] 519[SRDescription(nameof(SR.TextBoxHideSelectionDescr))] 538[SRCategory(nameof(SR.CatPropertyChanged))] 539[SRDescription(nameof(SR.TextBoxBaseOnHideSelectionChangedDescr))] 561[SRCategory(nameof(SR.CatAppearance))] 566[SRDescription(nameof(SR.TextBoxLinesDescr))] 631[SRCategory(nameof(SR.CatBehavior))] 634[SRDescription(nameof(SR.TextBoxMaxLengthDescr))] 657[SRCategory(nameof(SR.CatBehavior))] 660[SRDescription(nameof(SR.TextBoxModifiedDescr))] 700[SRCategory(nameof(SR.CatPropertyChanged))] 701[SRDescription(nameof(SR.TextBoxBaseOnModifiedChangedDescr))] 712[SRCategory(nameof(SR.CatBehavior))] 715[SRDescription(nameof(SR.TextBoxMultilineDescr))] 750[SRCategory(nameof(SR.CatPropertyChanged))] 751[SRDescription(nameof(SR.TextBoxBaseOnMultilineChangedDescr))] 770[SRCategory(nameof(SR.CatLayout))] 771[SRDescription(nameof(SR.ControlOnPaddingChangedDescr))] 789[SRCategory(nameof(SR.CatLayout))] 793[SRDescription(nameof(SR.TextBoxPreferredHeightDescr))] 919[SRCategory(nameof(SR.CatBehavior))] 922[SRDescription(nameof(SR.TextBoxReadOnlyDescr))] 960[SRCategory(nameof(SR.CatPropertyChanged))] 961[SRDescription(nameof(SR.TextBoxBaseOnReadOnlyChangedDescr))] 971[SRCategory(nameof(SR.CatAppearance))] 975[SRDescription(nameof(SR.TextBoxSelectedTextDescr))] 1026[SRCategory(nameof(SR.CatAppearance))] 1029[SRDescription(nameof(SR.TextBoxSelectionLengthDescr))] 1053[SRCategory(nameof(SR.CatAppearance))] 1056[SRDescription(nameof(SR.TextBoxSelectionStartDescr))] 1157[SRCategory(nameof(SR.CatBehavior))] 1160[SRDescription(nameof(SR.TextBoxWordWrapDescr))]
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseAccessibleObject.cs (1)
70public override string? Value => this.TryGetOwnerAs(out TextBoxBase? owner) && !owner.PasswordProtect ? ValueInternal : SR.AccessDenied;
System\Windows\Forms\Controls\ToolStrips\OpacityConverter.cs (2)
68string.Format(SR.InvalidBoundArgument, 79string.Format(SR.InvalidBoundArgument,
System\Windows\Forms\Controls\ToolStrips\ProfessionalColors.cs (57)
34[SRDescription(nameof(SR.ProfessionalColorsButtonSelectedHighlightDescr))] 37[SRDescription(nameof(SR.ProfessionalColorsButtonSelectedHighlightBorderDescr))] 40[SRDescription(nameof(SR.ProfessionalColorsButtonPressedHighlightDescr))] 43[SRDescription(nameof(SR.ProfessionalColorsButtonPressedHighlightBorderDescr))] 46[SRDescription(nameof(SR.ProfessionalColorsButtonCheckedHighlightDescr))] 49[SRDescription(nameof(SR.ProfessionalColorsButtonCheckedHighlightBorderDescr))] 52[SRDescription(nameof(SR.ProfessionalColorsButtonPressedBorderDescr))] 55[SRDescription(nameof(SR.ProfessionalColorsButtonSelectedBorderDescr))] 58[SRDescription(nameof(SR.ProfessionalColorsButtonCheckedGradientBeginDescr))] 61[SRDescription(nameof(SR.ProfessionalColorsButtonCheckedGradientMiddleDescr))] 64[SRDescription(nameof(SR.ProfessionalColorsButtonCheckedGradientEndDescr))] 67[SRDescription(nameof(SR.ProfessionalColorsButtonSelectedGradientBeginDescr))] 70[SRDescription(nameof(SR.ProfessionalColorsButtonSelectedGradientMiddleDescr))] 73[SRDescription(nameof(SR.ProfessionalColorsButtonSelectedGradientEndDescr))] 76[SRDescription(nameof(SR.ProfessionalColorsButtonPressedGradientBeginDescr))] 79[SRDescription(nameof(SR.ProfessionalColorsButtonPressedGradientMiddleDescr))] 82[SRDescription(nameof(SR.ProfessionalColorsButtonPressedGradientEndDescr))] 85[SRDescription(nameof(SR.ProfessionalColorsCheckBackgroundDescr))] 88[SRDescription(nameof(SR.ProfessionalColorsCheckSelectedBackgroundDescr))] 91[SRDescription(nameof(SR.ProfessionalColorsCheckPressedBackgroundDescr))] 94[SRDescription(nameof(SR.ProfessionalColorsGripDarkDescr))] 97[SRDescription(nameof(SR.ProfessionalColorsGripLightDescr))] 100[SRDescription(nameof(SR.ProfessionalColorsImageMarginGradientBeginDescr))] 103[SRDescription(nameof(SR.ProfessionalColorsImageMarginGradientMiddleDescr))] 106[SRDescription(nameof(SR.ProfessionalColorsImageMarginGradientEndDescr))] 109[SRDescription(nameof(SR.ProfessionalColorsImageMarginRevealedGradientBeginDescr))] 112[SRDescription(nameof(SR.ProfessionalColorsImageMarginRevealedGradientMiddleDescr))] 115[SRDescription(nameof(SR.ProfessionalColorsImageMarginRevealedGradientEndDescr))] 118[SRDescription(nameof(SR.ProfessionalColorsMenuStripGradientBeginDescr))] 121[SRDescription(nameof(SR.ProfessionalColorsMenuStripGradientEndDescr))] 124[SRDescription(nameof(SR.ProfessionalColorsMenuBorderDescr))] 127[SRDescription(nameof(SR.ProfessionalColorsMenuItemSelectedDescr))] 130[SRDescription(nameof(SR.ProfessionalColorsMenuItemBorderDescr))] 133[SRDescription(nameof(SR.ProfessionalColorsMenuItemSelectedGradientBeginDescr))] 136[SRDescription(nameof(SR.ProfessionalColorsMenuItemSelectedGradientEndDescr))] 139[SRDescription(nameof(SR.ProfessionalColorsMenuItemPressedGradientBeginDescr))] 142[SRDescription(nameof(SR.ProfessionalColorsMenuItemPressedGradientMiddleDescr))] 145[SRDescription(nameof(SR.ProfessionalColorsMenuItemPressedGradientEndDescr))] 148[SRDescription(nameof(SR.ProfessionalColorsRaftingContainerGradientBeginDescr))] 151[SRDescription(nameof(SR.ProfessionalColorsRaftingContainerGradientEndDescr))] 154[SRDescription(nameof(SR.ProfessionalColorsSeparatorDarkDescr))] 157[SRDescription(nameof(SR.ProfessionalColorsSeparatorLightDescr))] 160[SRDescription(nameof(SR.ProfessionalColorsStatusStripBorderDescr))] 163[SRDescription(nameof(SR.ProfessionalColorsStatusStripGradientBeginDescr))] 166[SRDescription(nameof(SR.ProfessionalColorsStatusStripGradientEndDescr))] 169[SRDescription(nameof(SR.ProfessionalColorsToolStripBorderDescr))] 172[SRDescription(nameof(SR.ProfessionalColorsToolStripDropDownBackgroundDescr))] 175[SRDescription(nameof(SR.ProfessionalColorsToolStripGradientBeginDescr))] 178[SRDescription(nameof(SR.ProfessionalColorsToolStripGradientMiddleDescr))] 181[SRDescription(nameof(SR.ProfessionalColorsToolStripGradientEndDescr))] 184[SRDescription(nameof(SR.ProfessionalColorsToolStripContentPanelGradientBeginDescr))] 187[SRDescription(nameof(SR.ProfessionalColorsToolStripContentPanelGradientEndDescr))] 190[SRDescription(nameof(SR.ProfessionalColorsToolStripPanelGradientBeginDescr))] 193[SRDescription(nameof(SR.ProfessionalColorsToolStripPanelGradientEndDescr))] 196[SRDescription(nameof(SR.ProfessionalColorsOverflowButtonGradientBeginDescr))] 199[SRDescription(nameof(SR.ProfessionalColorsOverflowButtonGradientMiddleDescr))] 202[SRDescription(nameof(SR.ProfessionalColorsOverflowButtonGradientEndDescr))]
System\Windows\Forms\Controls\ToolStrips\ProfessionalColorTable.cs (57)
106[SRDescription(nameof(SR.ProfessionalColorsButtonSelectedHighlightDescr))] 109[SRDescription(nameof(SR.ProfessionalColorsButtonSelectedHighlightBorderDescr))] 112[SRDescription(nameof(SR.ProfessionalColorsButtonPressedHighlightDescr))] 115[SRDescription(nameof(SR.ProfessionalColorsButtonPressedHighlightBorderDescr))] 118[SRDescription(nameof(SR.ProfessionalColorsButtonCheckedHighlightDescr))] 121[SRDescription(nameof(SR.ProfessionalColorsButtonCheckedHighlightBorderDescr))] 124[SRDescription(nameof(SR.ProfessionalColorsButtonPressedBorderDescr))] 127[SRDescription(nameof(SR.ProfessionalColorsButtonSelectedBorderDescr))] 130[SRDescription(nameof(SR.ProfessionalColorsButtonCheckedGradientBeginDescr))] 133[SRDescription(nameof(SR.ProfessionalColorsButtonCheckedGradientMiddleDescr))] 136[SRDescription(nameof(SR.ProfessionalColorsButtonCheckedGradientEndDescr))] 139[SRDescription(nameof(SR.ProfessionalColorsButtonSelectedGradientBeginDescr))] 142[SRDescription(nameof(SR.ProfessionalColorsButtonSelectedGradientMiddleDescr))] 145[SRDescription(nameof(SR.ProfessionalColorsButtonSelectedGradientEndDescr))] 148[SRDescription(nameof(SR.ProfessionalColorsButtonPressedGradientBeginDescr))] 151[SRDescription(nameof(SR.ProfessionalColorsButtonPressedGradientMiddleDescr))] 154[SRDescription(nameof(SR.ProfessionalColorsButtonPressedGradientEndDescr))] 156[SRDescription(nameof(SR.ProfessionalColorsCheckBackgroundDescr))] 159[SRDescription(nameof(SR.ProfessionalColorsCheckSelectedBackgroundDescr))] 162[SRDescription(nameof(SR.ProfessionalColorsCheckPressedBackgroundDescr))] 165[SRDescription(nameof(SR.ProfessionalColorsGripDarkDescr))] 168[SRDescription(nameof(SR.ProfessionalColorsGripLightDescr))] 171[SRDescription(nameof(SR.ProfessionalColorsImageMarginGradientBeginDescr))] 174[SRDescription(nameof(SR.ProfessionalColorsImageMarginGradientMiddleDescr))] 177[SRDescription(nameof(SR.ProfessionalColorsImageMarginGradientEndDescr))] 180[SRDescription(nameof(SR.ProfessionalColorsImageMarginRevealedGradientBeginDescr))] 183[SRDescription(nameof(SR.ProfessionalColorsImageMarginRevealedGradientMiddleDescr))] 186[SRDescription(nameof(SR.ProfessionalColorsImageMarginRevealedGradientEndDescr))] 189[SRDescription(nameof(SR.ProfessionalColorsMenuStripGradientBeginDescr))] 192[SRDescription(nameof(SR.ProfessionalColorsMenuStripGradientEndDescr))] 195[SRDescription(nameof(SR.ProfessionalColorsMenuItemSelectedDescr))] 198[SRDescription(nameof(SR.ProfessionalColorsMenuItemBorderDescr))] 201[SRDescription(nameof(SR.ProfessionalColorsMenuBorderDescr))] 204[SRDescription(nameof(SR.ProfessionalColorsMenuItemSelectedGradientBeginDescr))] 207[SRDescription(nameof(SR.ProfessionalColorsMenuItemSelectedGradientEndDescr))] 210[SRDescription(nameof(SR.ProfessionalColorsMenuItemPressedGradientBeginDescr))] 213[SRDescription(nameof(SR.ProfessionalColorsMenuItemPressedGradientMiddleDescr))] 216[SRDescription(nameof(SR.ProfessionalColorsMenuItemPressedGradientEndDescr))] 219[SRDescription(nameof(SR.ProfessionalColorsRaftingContainerGradientBeginDescr))] 222[SRDescription(nameof(SR.ProfessionalColorsRaftingContainerGradientEndDescr))] 225[SRDescription(nameof(SR.ProfessionalColorsSeparatorDarkDescr))] 228[SRDescription(nameof(SR.ProfessionalColorsSeparatorLightDescr))] 231[SRDescription(nameof(SR.ProfessionalColorsStatusStripBorderDescr))] 235[SRDescription(nameof(SR.ProfessionalColorsStatusStripGradientBeginDescr))] 238[SRDescription(nameof(SR.ProfessionalColorsStatusStripGradientEndDescr))] 241[SRDescription(nameof(SR.ProfessionalColorsToolStripBorderDescr))] 244[SRDescription(nameof(SR.ProfessionalColorsToolStripDropDownBackgroundDescr))] 247[SRDescription(nameof(SR.ProfessionalColorsToolStripGradientBeginDescr))] 250[SRDescription(nameof(SR.ProfessionalColorsToolStripGradientMiddleDescr))] 253[SRDescription(nameof(SR.ProfessionalColorsToolStripGradientEndDescr))] 256[SRDescription(nameof(SR.ProfessionalColorsToolStripContentPanelGradientBeginDescr))] 259[SRDescription(nameof(SR.ProfessionalColorsToolStripContentPanelGradientEndDescr))] 262[SRDescription(nameof(SR.ProfessionalColorsToolStripPanelGradientBeginDescr))] 265[SRDescription(nameof(SR.ProfessionalColorsToolStripPanelGradientEndDescr))] 268[SRDescription(nameof(SR.ProfessionalColorsOverflowButtonGradientBeginDescr))] 271[SRDescription(nameof(SR.ProfessionalColorsOverflowButtonGradientMiddleDescr))] 274[SRDescription(nameof(SR.ProfessionalColorsOverflowButtonGradientEndDescr))]
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (9)
11[SRDescription(nameof(SR.DescriptionStatusStrip))] 44[SRDescription(nameof(SR.ToolStripCanOverflowDescr))] 45[SRCategory(nameof(SR.CatLayout))] 143[SRDescription(nameof(SR.ToolStripShowItemToolTipsDescr))] 144[SRCategory(nameof(SR.CatBehavior))] 174[SRCategory(nameof(SR.CatAppearance))] 176[SRDescription(nameof(SR.StatusStripSizingGripDescr))] 227[SRCategory(nameof(SR.CatLayout))] 228[SRDescription(nameof(SR.ToolStripStretchDescr))]
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (58)
22[SRDescription(nameof(SR.DescriptionToolStrip))] 208[SRCategory(nameof(SR.CatPropertyChanged))] 209[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 226throw new NotSupportedException(SR.ToolStripDoesntSupportAutoScroll); 262[SRDescription(nameof(SR.ToolStripAllowClickThrough))] 263[SRCategory(nameof(SR.CatBehavior))] 275throw new ArgumentException(SR.ToolStripAllowItemReorderAndAllowDropCannotBeSetToTrue); 296[SRDescription(nameof(SR.ToolStripAllowItemReorderDescr))] 297[SRCategory(nameof(SR.CatBehavior))] 307throw new ArgumentException(SR.ToolStripAllowItemReorderAndAllowDropCannotBeSetToTrue); 331[SRDescription(nameof(SR.ToolStripAllowMergeDescr))] 332[SRCategory(nameof(SR.CatBehavior))] 362[SRDescription(nameof(SR.ToolStripBackColorDescr))] 363[SRCategory(nameof(SR.CatAppearance))] 370[SRCategory(nameof(SR.CatBehavior))] 371[SRDescription(nameof(SR.ToolStripOnBeginDrag))] 407[SRDescription(nameof(SR.ToolStripCanOverflowDescr))] 408[SRCategory(nameof(SR.CatLayout))] 507[SRCategory(nameof(SR.CatBehavior))] 508[SRDescription(nameof(SR.ToolStripOnEndDrag))] 563[SRDescription(nameof(SR.ToolStripDefaultDropDownDirectionDescr))] 564[SRCategory(nameof(SR.CatBehavior))] 797[SRCategory(nameof(SR.CatAppearance))] 798[SRDescription(nameof(SR.ToolStripGripStyleDescr))] 832[SRCategory(nameof(SR.CatLayout))] 833[SRDescription(nameof(SR.ToolStripGripDisplayStyleDescr))] 906[SRCategory(nameof(SR.CatAppearance))] 907[SRDescription(nameof(SR.ToolStripImageScalingSizeDescr))] 945[SRCategory(nameof(SR.CatAppearance))] 946[SRDescription(nameof(SR.ToolStripImageListDescr))] 1039[SRCategory(nameof(SR.CatData))] 1040[SRDescription(nameof(SR.ToolStripItemsDescr))] 1052[SRCategory(nameof(SR.CatAppearance))] 1053[SRDescription(nameof(SR.ToolStripItemAddedDescr))] 1063[SRCategory(nameof(SR.CatAction))] 1064[SRDescription(nameof(SR.ToolStripItemOnClickDescr))] 1095[SRCategory(nameof(SR.CatAppearance))] 1096[SRDescription(nameof(SR.ToolStripItemRemovedDescr))] 1171[SRDescription(nameof(SR.ToolStripLayoutStyle))] 1172[SRCategory(nameof(SR.CatLayout))] 1259[SRCategory(nameof(SR.CatAppearance))] 1260[SRDescription(nameof(SR.ToolStripLayoutCompleteDescr))] 1269[SRCategory(nameof(SR.CatAppearance))] 1270[SRDescription(nameof(SR.ToolStripLayoutStyleChangedDescr))] 1382[SRCategory(nameof(SR.CatAppearance))] 1383[SRDescription(nameof(SR.ToolStripPaintGripDescr))] 1458[SRCategory(nameof(SR.CatLayout))] 1459[SRDescription(nameof(SR.ToolStripStretchDescr))] 1541[SRDescription(nameof(SR.ToolStripRenderModeDescr))] 1542[SRCategory(nameof(SR.CatAppearance))] 1571throw new NotSupportedException(SR.ToolStripRenderModeUseRendererPropertyInstead); 1604[SRDescription(nameof(SR.ToolStripShowItemToolTipsDescr))] 1605[SRCategory(nameof(SR.CatBehavior))] 1660[SRCategory(nameof(SR.CatBehavior))] 1663[SRDescription(nameof(SR.ControlTabStopDescr))] 1687[SRDescription(nameof(SR.ToolStripTextDirectionDescr))] 1688[SRCategory(nameof(SR.CatAppearance))] 4073throw new NotSupportedException(SR.ToolStripCanOnlyPositionItsOwnItems);
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.cs (8)
64[SRCategory(nameof(SR.CatBehavior))] 65[SRDescription(nameof(SR.ToolStripButtonCheckOnClickDescr))] 72[SRCategory(nameof(SR.CatAppearance))] 73[SRDescription(nameof(SR.ToolStripButtonCheckedDescr))] 90[SRCategory(nameof(SR.CatAppearance))] 92[SRDescription(nameof(SR.CheckBoxCheckStateDescr))] 117[SRDescription(nameof(SR.CheckBoxOnCheckedChangedDescr))] 127[SRDescription(nameof(SR.CheckBoxOnCheckStateChangedDescr))]
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.cs (38)
42throw new NotSupportedException(SR.ToolStripMustSupplyItsOwnComboBox); 53[SRDescription(nameof(SR.ComboBoxAutoCompleteCustomSourceDescr))] 64[SRDescription(nameof(SR.ComboBoxAutoCompleteModeDescr))] 74[SRDescription(nameof(SR.ComboBoxAutoCompleteSourceDescr))] 119[SRCategory(nameof(SR.CatBehavior))] 120[SRDescription(nameof(SR.ComboBoxOnDropDownDescr))] 127[SRCategory(nameof(SR.CatBehavior))] 128[SRDescription(nameof(SR.ComboBoxOnDropDownClosedDescr))] 135[SRCategory(nameof(SR.CatBehavior))] 136[SRDescription(nameof(SR.ComboBoxDropDownStyleChangedDescr))] 143[SRCategory(nameof(SR.CatBehavior))] 144[SRDescription(nameof(SR.ComboBoxDropDownHeightDescr))] 154[SRCategory(nameof(SR.CatAppearance))] 156[SRDescription(nameof(SR.ComboBoxStyleDescr))] 164[SRCategory(nameof(SR.CatBehavior))] 165[SRDescription(nameof(SR.ComboBoxDropDownWidthDescr))] 174[SRDescription(nameof(SR.ComboBoxDroppedDownDescr))] 181[SRCategory(nameof(SR.CatAppearance))] 184[SRDescription(nameof(SR.ComboBoxFlatStyleDescr))] 191[SRCategory(nameof(SR.CatBehavior))] 194[SRDescription(nameof(SR.ComboBoxIntegralHeightDescr))] 204[SRCategory(nameof(SR.CatData))] 207[SRDescription(nameof(SR.ComboBoxItemsDescr))] 217[SRCategory(nameof(SR.CatBehavior))] 220[SRDescription(nameof(SR.ComboBoxMaxDropDownItemsDescr))] 227[SRCategory(nameof(SR.CatBehavior))] 230[SRDescription(nameof(SR.ComboBoxMaxLengthDescr))] 239[SRDescription(nameof(SR.ComboBoxSelectedIndexDescr))] 246[SRCategory(nameof(SR.CatBehavior))] 247[SRDescription(nameof(SR.selectedIndexChangedEventDescr))] 257[SRDescription(nameof(SR.ComboBoxSelectedItemDescr))] 266[SRDescription(nameof(SR.ComboBoxSelectedTextDescr))] 275[SRDescription(nameof(SR.ComboBoxSelectionLengthDescr))] 284[SRDescription(nameof(SR.ComboBoxSelectionStartDescr))] 291[SRCategory(nameof(SR.CatBehavior))] 293[SRDescription(nameof(SR.ComboBoxSortedDescr))] 300[SRCategory(nameof(SR.CatBehavior))] 301[SRDescription(nameof(SR.ComboBoxOnTextUpdateDescr))]
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (19)
10[SRDescription(nameof(SR.ToolStripContainerDesc))] 138[SRCategory(nameof(SR.CatAppearance))] 139[SRDescription(nameof(SR.ToolStripContainerBottomToolStripPanelDescr))] 150[SRCategory(nameof(SR.CatAppearance))] 151[SRDescription(nameof(SR.ToolStripContainerBottomToolStripPanelVisibleDescr))] 165[SRCategory(nameof(SR.CatAppearance))] 166[SRDescription(nameof(SR.ToolStripContainerContentPanelDescr))] 256[SRCategory(nameof(SR.CatAppearance))] 257[SRDescription(nameof(SR.ToolStripContainerLeftToolStripPanelDescr))] 268[SRCategory(nameof(SR.CatAppearance))] 269[SRDescription(nameof(SR.ToolStripContainerLeftToolStripPanelVisibleDescr))] 283[SRCategory(nameof(SR.CatAppearance))] 284[SRDescription(nameof(SR.ToolStripContainerRightToolStripPanelDescr))] 295[SRCategory(nameof(SR.CatAppearance))] 296[SRDescription(nameof(SR.ToolStripContainerRightToolStripPanelVisibleDescr))] 312[SRCategory(nameof(SR.CatAppearance))] 313[SRDescription(nameof(SR.ToolStripContainerTopToolStripPanelDescr))] 324[SRCategory(nameof(SR.CatAppearance))] 325[SRDescription(nameof(SR.ToolStripContainerTopToolStripPanelVisibleDescr))]
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.ToolStripContainerTypedControlCollection.cs (4)
31throw new NotSupportedException(SR.ToolStripContainerUseContentPanel); 37throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, string.Format(SR.TypedControlCollectionShouldBeOfTypes, _contentPanelType.Name, _panelType.Name)), value.GetType().Name); 51throw new NotSupportedException(SR.ReadonlyControlsCollection); 67throw new NotSupportedException(SR.ReadonlyControlsCollection);
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (6)
154[SRCategory(nameof(SR.CatBehavior))] 155[SRDescription(nameof(SR.ToolStripContentPanelOnLoadDescr))] 271[SRDescription(nameof(SR.ToolStripRenderModeDescr))] 272[SRCategory(nameof(SR.CatAppearance))] 285[SRCategory(nameof(SR.CatAppearance))] 286[SRDescription(nameof(SR.ToolStripRendererChanged))]
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (25)
36_control = c.OrThrowIfNullWithMessage(SR.ControlCannotBeNull); 66[SRCategory(nameof(SR.CatAppearance))] 67[SRDescription(nameof(SR.ToolStripItemImageDescr))] 75[SRCategory(nameof(SR.CatAppearance))] 78[SRDescription(nameof(SR.ControlBackgroundImageLayoutDescr))] 90[SRCategory(nameof(SR.CatFocus))] 92[SRDescription(nameof(SR.ControlCausesValidationDescr))] 201[SRCategory(nameof(SR.CatFocus))] 202[SRDescription(nameof(SR.ControlOnEnterDescr))] 219[SRCategory(nameof(SR.CatFocus))] 220[SRDescription(nameof(SR.ToolStripItemOnGotFocusDescr))] 265[SRCategory(nameof(SR.CatFocus))] 266[SRDescription(nameof(SR.ControlOnLeaveDescr))] 276[SRCategory(nameof(SR.CatFocus))] 277[SRDescription(nameof(SR.ToolStripItemOnLostFocusDescr))] 289[SRCategory(nameof(SR.CatKey))] 290[SRDescription(nameof(SR.ControlOnKeyDownDescr))] 300[SRCategory(nameof(SR.CatKey))] 301[SRDescription(nameof(SR.ControlOnKeyPressDescr))] 311[SRCategory(nameof(SR.CatKey))] 312[SRDescription(nameof(SR.ControlOnKeyUpDescr))] 434[SRCategory(nameof(SR.CatFocus))] 435[SRDescription(nameof(SR.ControlOnValidatingDescr))] 442[SRCategory(nameof(SR.CatFocus))] 443[SRDescription(nameof(SR.ControlOnValidatedDescr))]
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (21)
68[SRDescription(nameof(SR.ControlAllowTransparencyDescr))] 124[SRCategory(nameof(SR.CatBehavior))] 125[SRDescription(nameof(SR.ToolStripDropDownAutoCloseDescr))] 330[SRCategory(nameof(SR.CatAction))] 331[SRDescription(nameof(SR.ToolStripDropDownClosedDecr))] 338[SRCategory(nameof(SR.CatAction))] 339[SRDescription(nameof(SR.ToolStripDropDownClosingDecr))] 529[SRCategory(nameof(SR.CatAction))] 530[SRDescription(nameof(SR.ToolStripDropDownOpeningDescr))] 540[SRCategory(nameof(SR.CatAction))] 541[SRDescription(nameof(SR.ToolStripDropDownOpenedDescr))] 560[SRCategory(nameof(SR.CatWindowStyle))] 562[SRDescription(nameof(SR.FormOpacityDescr))] 691[SRCategory(nameof(SR.CatAppearance))] 694[SRDescription(nameof(SR.ControlRightToLeftDescr))] 777[SRDescription(nameof(SR.ToolStripTextDirectionDescr))] 778[SRCategory(nameof(SR.CatAppearance))] 829[SRCategory(nameof(SR.CatPropertyChanged))] 830[SRDescription(nameof(SR.ControlOnTabIndexChangedDescr))] 854[SRCategory(nameof(SR.CatBehavior))] 856[SRDescription(nameof(SR.ControlVisibleDescr))]
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownButton.cs (2)
85[SRDescription(nameof(SR.ToolStripDropDownButtonShowDropDownArrowDescr))] 86[SRCategory(nameof(SR.CatAppearance))]
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (14)
58[SRCategory(nameof(SR.CatData))] 59[SRDescription(nameof(SR.ToolStripDropDownDescr))] 119[SRDescription(nameof(SR.ToolStripDropDownItemDropDownDirectionDescr))] 120[SRCategory(nameof(SR.CatBehavior))] 197[SRCategory(nameof(SR.CatAction))] 198[SRDescription(nameof(SR.ToolStripDropDownClosedDecr))] 219[SRCategory(nameof(SR.CatAction))] 220[SRDescription(nameof(SR.ToolStripDropDownOpeningDescr))] 230[SRCategory(nameof(SR.CatAction))] 231[SRDescription(nameof(SR.ToolStripDropDownOpenedDescr))] 242[SRCategory(nameof(SR.CatData))] 243[SRDescription(nameof(SR.ToolStripDropDownItemsDescr))] 250[SRCategory(nameof(SR.CatAction))] 715throw new InvalidOperationException(SR.ToolStripShowDropDownInvalidOperation);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (4)
164[SRDescription(nameof(SR.ToolStripDropDownMenuShowImageMarginDescr))] 165[SRCategory(nameof(SR.CatAppearance))] 181[SRDescription(nameof(SR.ToolStripDropDownMenuShowCheckMarginDescr))] 182[SRCategory(nameof(SR.CatAppearance))]
System\Windows\Forms\Controls\ToolStrips\ToolStripDropTargetManager.cs (2)
172throw new ThreadStateException(SR.ThreadMustBeSTA); 184throw new InvalidOperationException(SR.DragDropRegFailed, e);
System\Windows\Forms\Controls\ToolStrips\ToolStripGrip.ToolStripGripAccessibleObject.cs (1)
18public override string Name => Owner.AccessibleName ?? SR.ToolStripGripAccessibleName;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (138)
190[SRDescription(nameof(SR.ToolStripItemAccessibilityObjectDescr))] 207[SRCategory(nameof(SR.CatAccessibility))] 211[SRDescription(nameof(SR.ToolStripItemAccessibleDefaultActionDescr))] 225[SRCategory(nameof(SR.CatAccessibility))] 228[SRDescription(nameof(SR.ToolStripItemAccessibleDescriptionDescr))] 242[SRCategory(nameof(SR.CatAccessibility))] 245[SRDescription(nameof(SR.ToolStripItemAccessibleNameDescr))] 259[SRCategory(nameof(SR.CatAccessibility))] 261[SRDescription(nameof(SR.ToolStripItemAccessibleRoleDescr))] 277[SRCategory(nameof(SR.CatLayout))] 278[SRDescription(nameof(SR.ToolStripItemAlignmentDescr))] 305[SRCategory(nameof(SR.CatDragDrop))] 307[SRDescription(nameof(SR.ToolStripItemAllowDropDescr))] 327[SRCategory(nameof(SR.CatBehavior))] 330[SRDescription(nameof(SR.ToolStripItemAutoSizeDescr))] 351[SRDescription(nameof(SR.ToolStripItemAutoToolTipDescr))] 352[SRCategory(nameof(SR.CatBehavior))] 364[SRDescription(nameof(SR.ToolStripItemAvailableDescr))] 373[SRCategory(nameof(SR.CatPropertyChanged))] 374[SRDescription(nameof(SR.ToolStripItemOnAvailableChangedDescr))] 385[SRCategory(nameof(SR.CatAppearance))] 386[SRDescription(nameof(SR.ToolStripItemImageDescr))] 407[SRCategory(nameof(SR.CatData))] 408[SRDescription(nameof(SR.CommandComponentCommandDescr))] 419[SRCategory(nameof(SR.CatData))] 421[SRDescription(nameof(SR.CommandCanExecuteChangedEventDescr))] 431[SRCategory(nameof(SR.CatData))] 433[SRDescription(nameof(SR.CommandChangedEventDescr))] 445[SRCategory(nameof(SR.CatData))] 446[SRDescription(nameof(SR.CommandComponentCommandParameterDescr))] 471[SRCategory(nameof(SR.CatData))] 473[SRDescription(nameof(SR.CommandParameterChangedEventDescr))] 488[SRCategory(nameof(SR.CatAppearance))] 491[SRDescription(nameof(SR.ControlBackgroundImageLayoutDescr))] 508[SRCategory(nameof(SR.CatAppearance))] 509[SRDescription(nameof(SR.ToolStripItemBackColorDescr))] 539[SRCategory(nameof(SR.CatPropertyChanged))] 540[SRDescription(nameof(SR.ToolStripItemOnBackColorChangedDescr))] 591[SRCategory(nameof(SR.CatAction))] 592[SRDescription(nameof(SR.ToolStripItemOnClickDescr))] 701[SRCategory(nameof(SR.CatAppearance))] 702[SRDescription(nameof(SR.ToolStripItemDisplayStyleDescr))] 737[SRCategory(nameof(SR.CatAction))] 738[SRDescription(nameof(SR.ControlOnDoubleClickDescr))] 746[SRCategory(nameof(SR.CatBehavior))] 747[SRDescription(nameof(SR.ToolStripItemDoubleClickedEnabledDescr))] 754[SRCategory(nameof(SR.CatDragDrop))] 755[SRDescription(nameof(SR.ToolStripItemOnDragDropDescr))] 764[SRCategory(nameof(SR.CatDragDrop))] 765[SRDescription(nameof(SR.ToolStripItemOnDragEnterDescr))] 774[SRCategory(nameof(SR.CatDragDrop))] 775[SRDescription(nameof(SR.ToolStripItemOnDragOverDescr))] 784[SRCategory(nameof(SR.CatDragDrop))] 785[SRDescription(nameof(SR.ToolStripItemOnDragLeaveDescr))] 797[SRCategory(nameof(SR.CatBehavior))] 799[SRDescription(nameof(SR.ToolStripItemEnabledDescr))] 840[SRDescription(nameof(SR.ToolStripItemEnabledChangedDescr))] 862[SRCategory(nameof(SR.CatAppearance))] 863[SRDescription(nameof(SR.ToolStripItemForeColorDescr))] 893[SRCategory(nameof(SR.CatPropertyChanged))] 894[SRDescription(nameof(SR.ToolStripItemOnForeColorChangedDescr))] 905[SRCategory(nameof(SR.CatAppearance))] 907[SRDescription(nameof(SR.ToolStripItemFontDescr))] 935[SRCategory(nameof(SR.CatDragDrop))] 936[SRDescription(nameof(SR.ToolStripItemOnGiveFeedbackDescr))] 948[SRCategory(nameof(SR.CatLayout))] 1003[SRCategory(nameof(SR.CatAppearance))] 1004[SRDescription(nameof(SR.ToolStripItemImageAlignDescr))] 1024[SRCategory(nameof(SR.CatAppearance))] 1025[SRDescription(nameof(SR.ToolStripItemImageDescr))] 1081[SRCategory(nameof(SR.CatAppearance))] 1082[SRDescription(nameof(SR.ToolStripItemImageTransparentColorDescr))] 1110[SRDescription(nameof(SR.ToolStripItemImageIndexDescr))] 1112[SRCategory(nameof(SR.CatBehavior))] 1151[SRDescription(nameof(SR.ToolStripItemImageKeyDescr))] 1152[SRCategory(nameof(SR.CatBehavior))] 1172[SRCategory(nameof(SR.CatAppearance))] 1175[SRDescription(nameof(SR.ToolStripItemImageScalingDescr))] 1255[SRCategory(nameof(SR.CatLayout))] 1256[SRDescription(nameof(SR.ToolStripItemOnLocationChangedDescr))] 1266[SRDescription(nameof(SR.ToolStripItemMarginDescr))] 1267[SRCategory(nameof(SR.CatLayout))] 1284[SRDescription(nameof(SR.ToolStripMergeActionDescr))] 1286[SRCategory(nameof(SR.CatLayout))] 1300[SRDescription(nameof(SR.ToolStripMergeIndexDescr))] 1302[SRCategory(nameof(SR.CatLayout))] 1319[SRCategory(nameof(SR.CatMouse))] 1320[SRDescription(nameof(SR.ToolStripItemOnMouseDownDescr))] 1330[SRCategory(nameof(SR.CatMouse))] 1331[SRDescription(nameof(SR.ToolStripItemOnMouseEnterDescr))] 1341[SRCategory(nameof(SR.CatMouse))] 1342[SRDescription(nameof(SR.ToolStripItemOnMouseLeaveDescr))] 1352[SRCategory(nameof(SR.CatMouse))] 1353[SRDescription(nameof(SR.ToolStripItemOnMouseHoverDescr))] 1363[SRCategory(nameof(SR.CatMouse))] 1364[SRDescription(nameof(SR.ToolStripItemOnMouseMoveDescr))] 1374[SRCategory(nameof(SR.CatMouse))] 1375[SRDescription(nameof(SR.ToolStripItemOnMouseUpDescr))] 1454[SRCategory(nameof(SR.CatBehavior))] 1455[SRDescription(nameof(SR.ToolStripItemOwnerChangedDescr))] 1462[SRCategory(nameof(SR.CatAppearance))] 1463[SRDescription(nameof(SR.ToolStripItemOnPaintDescr))] 1491[SRDescription(nameof(SR.ToolStripItemOverflowDescr))] 1492[SRCategory(nameof(SR.CatLayout))] 1514[SRDescription(nameof(SR.ToolStripItemPaddingDescr))] 1515[SRCategory(nameof(SR.CatLayout))] 1593[SRCategory(nameof(SR.CatDragDrop))] 1594[SRDescription(nameof(SR.ToolStripItemOnQueryContinueDragDescr))] 1603[SRCategory(nameof(SR.CatBehavior))] 1604[SRDescription(nameof(SR.ToolStripItemOnQueryAccessibilityHelpDescr))] 1637[SRCategory(nameof(SR.CatAppearance))] 1639[SRDescription(nameof(SR.ToolStripItemRightToLeftDescr))] 1694[SRCategory(nameof(SR.CatAppearance))] 1696[SRDescription(nameof(SR.ToolStripItemRightToLeftAutoMirrorImageDescr))] 1736[SRCategory(nameof(SR.CatPropertyChanged))] 1737[SRDescription(nameof(SR.ToolStripItemOnRightToLeftChangedDescr))] 1784[SRDescription(nameof(SR.ToolStripItemSelectedChangedDescr))] 1804[SRCategory(nameof(SR.CatLayout))] 1806[SRDescription(nameof(SR.ToolStripItemSizeDescr))] 1843[SRCategory(nameof(SR.CatData))] 1846[SRDescription(nameof(SR.ToolStripItemTagDescr))] 1858[SRCategory(nameof(SR.CatAppearance))] 1860[SRDescription(nameof(SR.ToolStripItemTextDescr))] 1878[SRCategory(nameof(SR.CatAppearance))] 1879[SRDescription(nameof(SR.ToolStripItemTextAlignDescr))] 1895[SRCategory(nameof(SR.CatPropertyChanged))] 1896[SRDescription(nameof(SR.ToolStripItemOnTextChangedDescr))] 1903[SRDescription(nameof(SR.ToolStripTextDirectionDescr))] 1904[SRCategory(nameof(SR.CatAppearance))] 1936[SRDescription(nameof(SR.ToolStripItemTextImageRelationDescr))] 1937[SRCategory(nameof(SR.CatAppearance))] 1957[SRDescription(nameof(SR.ToolStripItemToolTipTextDescr))] 1958[SRCategory(nameof(SR.CatBehavior))] 1985[SRCategory(nameof(SR.CatBehavior))] 1987[SRDescription(nameof(SR.ToolStripItemVisibleDescr))] 1994[SRCategory(nameof(SR.CatPropertyChanged))] 1995[SRDescription(nameof(SR.ToolStripItemOnVisibleChangedDescr))] 2005[SRCategory(nameof(SR.CatLayout))]
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (1)
40return SR.AccessibleActionPress;
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (10)
121throw new NotSupportedException(SR.ToolStripItemCollectionIsReadOnly); 141throw new NotSupportedException(SR.ToolStripItemCollectionIsReadOnly); 174throw new NotSupportedException(SR.ToolStripItemCollectionIsReadOnly); 223throw new NotSupportedException(SR.ToolStripItemCollectionIsReadOnly); 233throw new NotSupportedException(SR.ToolStripItemCircularReference); 244key.ThrowIfNullOrEmptyWithMessage(SR.FindKeyMayNotBeEmptyOrNull); 309set { throw new NotSupportedException(SR.ToolStripCollectionMustInsertAndRemove); /* InnerList[index] = value; */ } 417throw new NotSupportedException(SR.ToolStripItemCollectionIsReadOnly); 432throw new NotSupportedException(SR.ToolStripItemCollectionIsReadOnly); 450throw new NotSupportedException(SR.ToolStripItemCollectionIsReadOnly);
System\Windows\Forms\Controls\ToolStrips\ToolStripLabel.cs (12)
71[SRCategory(nameof(SR.CatBehavior))] 72[SRDescription(nameof(SR.ToolStripLabelIsLinkDescr))] 89[SRCategory(nameof(SR.CatAppearance))] 90[SRDescription(nameof(SR.ToolStripLabelActiveLinkColorDescr))] 139[SRCategory(nameof(SR.CatBehavior))] 140[SRDescription(nameof(SR.ToolStripLabelLinkBehaviorDescr))] 160[SRCategory(nameof(SR.CatAppearance))] 161[SRDescription(nameof(SR.ToolStripLabelLinkColorDescr))] 186[SRCategory(nameof(SR.CatAppearance))] 187[SRDescription(nameof(SR.ToolStripLabelLinkVisitedDescr))] 204[SRCategory(nameof(SR.CatAppearance))] 205[SRDescription(nameof(SR.ToolStripLabelVisitedLinkColorDescr))]
System\Windows\Forms\Controls\ToolStrips\ToolStripLabel.ToolStripLabelAccessibleObject.cs (1)
17public override string DefaultAction => _owningToolStripLabel.IsLink ? SR.AccessibleActionClick : string.Empty;
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (3)
522throw new NotSupportedException(SR.ToolStripRenderModeUseRendererPropertyInstead); 1075throw new ArgumentException(SR.ToolStripMergeImpossibleIdentical); 1259throw new ArgumentException(SR.ToolStripMergeImpossibleIdentical);
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (14)
250[SRCategory(nameof(SR.CatAppearance))] 252[SRDescription(nameof(SR.CheckBoxCheckedDescr))] 284[SRCategory(nameof(SR.CatBehavior))] 285[SRDescription(nameof(SR.ToolStripButtonCheckOnClickDescr))] 296[SRCategory(nameof(SR.CatAppearance))] 299[SRDescription(nameof(SR.CheckBoxCheckStateDescr))] 320[SRDescription(nameof(SR.CheckBoxOnCheckedChangedDescr))] 330[SRDescription(nameof(SR.CheckBoxOnCheckStateChangedDescr))] 342[SRDescription(nameof(SR.ToolStripItemOverflowDescr))] 343[SRCategory(nameof(SR.CatLayout))] 356[SRDescription(nameof(SR.MenuItemShortCutDescr))] 408[SRDescription(nameof(SR.ToolStripMenuItemShortcutKeyDisplayStringDescr))] 409[SRCategory(nameof(SR.CatAppearance))] 446[SRDescription(nameof(SR.MenuItemShowShortCutDescr))]
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.ToolStripMenuItemAccessibleObject.cs (1)
120?? (_owningToolStripMenuItem.CheckOnClick ? SR.AccessibleActionCheck : base.DefaultAction);
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflowButton.ToolStripOverflowButtonAccessibleObject.cs (1)
20public override string Name => Owner.AccessibleName ?? SR.ToolStripOptions;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (6)
242[SRDescription(nameof(SR.ToolStripRenderModeDescr))] 243[SRCategory(nameof(SR.CatAppearance))] 256[SRCategory(nameof(SR.CatAppearance))] 257[SRDescription(nameof(SR.ToolStripRendererChanged))] 269[SRDescription(nameof(SR.ToolStripPanelRowsDescr))] 285[SRDescription(nameof(SR.ToolStripPanelRowsDescr))]
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelRowCollection.cs (1)
124set { throw new NotSupportedException(SR.ToolStripCollectionMustInsertAndRemove); /* InnerList[index] = value; */ }
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelCell.cs (1)
52throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, string.Format(SR.TypedControlCollectionShouldBeOfType, nameof(ToolStrip))), control.GetType().Name);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (2)
71[SRDescription(nameof(SR.ControlControlsDescr))] 87[SRDescription(nameof(SR.ControlControlsDescr))]
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowControlCollection.cs (3)
78throw new NotSupportedException(string.Format(SR.TypedControlCollectionShouldBeOfType, nameof(ToolStrip))); 210throw new NotSupportedException(string.Format(SR.TypedControlCollectionShouldBeOfType, nameof(ToolStrip))); 290throw new ArgumentException(SR.ToolStripPanelRowControlCollectionIncorrectIndexLength);
System\Windows\Forms\Controls\ToolStrips\ToolStripProgressBar.cs (16)
99[SRCategory(nameof(SR.CatBehavior))] 100[SRDescription(nameof(SR.ProgressBarMarqueeAnimationSpeed))] 108[SRCategory(nameof(SR.CatBehavior))] 110[SRDescription(nameof(SR.ProgressBarMaximumDescr))] 124[SRCategory(nameof(SR.CatBehavior))] 126[SRDescription(nameof(SR.ProgressBarMinimumDescr))] 144[SRCategory(nameof(SR.CatAppearance))] 147[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 166[SRCategory(nameof(SR.CatBehavior))] 167[SRDescription(nameof(SR.ProgressBarStepDescr))] 185[SRCategory(nameof(SR.CatBehavior))] 186[SRDescription(nameof(SR.ProgressBarStyleDescr))] 223[SRCategory(nameof(SR.CatBehavior))] 225[SRDescription(nameof(SR.ProgressBarValueDescr))] 327[SRCategory(nameof(SR.CatPropertyChanged))] 328[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))]
System\Windows\Forms\Controls\ToolStrips\ToolStripRendererSwitcher.cs (1)
108throw new NotSupportedException(SR.ToolStripRenderModeUseRendererPropertyInstead);
System\Windows\Forms\Controls\ToolStrips\ToolStripScrollButton.StickyLabelAccessibleObject.cs (3)
47? SR.ToolStripScrollButtonUpAccessibleName 48: SR.ToolStripScrollButtonDownAccessibleName; 52public override string? DefaultAction => SR.AccessibleActionPress;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (10)
114[SRCategory(nameof(SR.CatAction))] 115[SRDescription(nameof(SR.ToolStripSplitButtonOnButtonClickDescr))] 125[SRCategory(nameof(SR.CatAction))] 126[SRDescription(nameof(SR.ToolStripSplitButtonOnButtonDoubleClickDescr))] 162[SRCategory(nameof(SR.CatAction))] 163[SRDescription(nameof(SR.ToolStripSplitButtonOnDefaultItemChangedDescr))] 186[SRCategory(nameof(SR.CatLayout))] 187[SRDescription(nameof(SR.ToolStripSplitButtonDropDownButtonWidthDescr))] 260[SRDescription(nameof(SR.ToolStripSplitButtonSplitterWidthDescr))] 261[SRCategory(nameof(SR.CatLayout))]
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (2)
158throw new NotSupportedException(SR.ToolStripSplitStackLayoutContainerMustBeAToolStrip); 184throw new NotSupportedException(SR.ToolStripSplitStackLayoutContainerMustBeAToolStrip);
System\Windows\Forms\Controls\ToolStrips\ToolStripStatusLabel.cs (8)
84[SRDescription(nameof(SR.ToolStripStatusLabelBorderStyleDescr))] 85[SRCategory(nameof(SR.CatAppearance))] 105[SRDescription(nameof(SR.ToolStripStatusLabelBorderSidesDescr))] 106[SRCategory(nameof(SR.CatAppearance))] 128[SRDescription(nameof(SR.ToolStripStatusLabelSpringDescr))] 129[SRCategory(nameof(SR.CatAppearance))] 150[SRCategory(nameof(SR.CatAccessibility))] 152[SRDescription(nameof(SR.LiveRegionAutomationLiveSettingDescr))]
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.cs (52)
50throw new NotSupportedException(SR.ToolStripMustSupplyItsOwnTextBox); 162[SRCategory(nameof(SR.CatBehavior))] 164[SRDescription(nameof(SR.TextBoxAcceptsTabDescr))] 171[SRCategory(nameof(SR.CatBehavior))] 173[SRDescription(nameof(SR.TextBoxAcceptsReturnDescr))] 182[SRDescription(nameof(SR.TextBoxAutoCompleteCustomSourceDescr))] 194[SRDescription(nameof(SR.TextBoxAutoCompleteModeDescr))] 204[SRDescription(nameof(SR.TextBoxAutoCompleteSourceDescr))] 213[SRCategory(nameof(SR.CatAppearance))] 216[SRDescription(nameof(SR.TextBoxBorderDescr))] 223[SRCategory(nameof(SR.CatBehavior))] 226[SRDescription(nameof(SR.TextBoxCanUndoDescr))] 232[SRCategory(nameof(SR.CatBehavior))] 234[SRDescription(nameof(SR.TextBoxCharacterCasingDescr))] 241[SRCategory(nameof(SR.CatBehavior))] 243[SRDescription(nameof(SR.TextBoxHideSelectionDescr))] 250[SRCategory(nameof(SR.CatAppearance))] 253[SRDescription(nameof(SR.TextBoxLinesDescr))] 262[SRCategory(nameof(SR.CatBehavior))] 265[SRDescription(nameof(SR.TextBoxMaxLengthDescr))] 272[SRCategory(nameof(SR.CatBehavior))] 275[SRDescription(nameof(SR.TextBoxModifiedDescr))] 282[SRCategory(nameof(SR.CatBehavior))] 285[SRDescription(nameof(SR.TextBoxMultilineDescr))] 295[SRCategory(nameof(SR.CatBehavior))] 297[SRDescription(nameof(SR.TextBoxReadOnlyDescr))] 304[SRCategory(nameof(SR.CatAppearance))] 307[SRDescription(nameof(SR.TextBoxSelectedTextDescr))] 315[SRCategory(nameof(SR.CatAppearance))] 318[SRDescription(nameof(SR.TextBoxSelectionLengthDescr))] 325[SRCategory(nameof(SR.CatAppearance))] 328[SRDescription(nameof(SR.TextBoxSelectionStartDescr))] 335[SRCategory(nameof(SR.CatBehavior))] 337[SRDescription(nameof(SR.TextBoxShortcutsEnabledDescr))] 351[SRCategory(nameof(SR.CatAppearance))] 353[SRDescription(nameof(SR.TextBoxTextAlignDescr))] 360[SRCategory(nameof(SR.CatBehavior))] 363[SRDescription(nameof(SR.TextBoxWordWrapDescr))] 375[SRCategory(nameof(SR.CatPropertyChanged))] 376[SRDescription(nameof(SR.TextBoxBaseOnAcceptsTabChangedDescr))] 383[SRCategory(nameof(SR.CatPropertyChanged))] 384[SRDescription(nameof(SR.TextBoxBaseOnBorderStyleChangedDescr))] 391[SRCategory(nameof(SR.CatPropertyChanged))] 392[SRDescription(nameof(SR.TextBoxBaseOnHideSelectionChangedDescr))] 399[SRCategory(nameof(SR.CatPropertyChanged))] 400[SRDescription(nameof(SR.TextBoxBaseOnModifiedChangedDescr))] 407[SRCategory(nameof(SR.CatPropertyChanged))] 408[SRDescription(nameof(SR.TextBoxBaseOnMultilineChangedDescr))] 417[SRCategory(nameof(SR.CatPropertyChanged))] 418[SRDescription(nameof(SR.TextBoxBaseOnReadOnlyChangedDescr))] 425[SRCategory(nameof(SR.CatPropertyChanged))] 426[SRDescription(nameof(SR.ToolStripTextBoxTextBoxTextAlignChangedDescr))]
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (32)
23[SRDescription(nameof(SR.DescriptionTrackBar))] 66[SRCategory(nameof(SR.CatBehavior))] 68[SRDescription(nameof(SR.TrackBarAutoSizeDescr))] 101[SRCategory(nameof(SR.CatPropertyChanged))] 102[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 272[SRCategory(nameof(SR.CatBehavior))] 274[SRDescription(nameof(SR.TrackBarLargeChangeDescr))] 282throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.TrackBarLargeChangeError, value)); 301[SRCategory(nameof(SR.CatBehavior))] 304[SRDescription(nameof(SR.TrackBarMaximumDescr))] 327[SRCategory(nameof(SR.CatBehavior))] 330[SRDescription(nameof(SR.TrackBarMinimumDescr))] 355[SRCategory(nameof(SR.CatAppearance))] 358[SRDescription(nameof(SR.TrackBarOrientationDescr))] 447[SRCategory(nameof(SR.CatAppearance))] 450[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 475[SRCategory(nameof(SR.CatBehavior))] 477[SRDescription(nameof(SR.TrackBarSmallChangeDescr))] 485throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.TrackBarSmallChangeError, value)); 527[SRCategory(nameof(SR.CatAppearance))] 529[SRDescription(nameof(SR.TrackBarTickStyleDescr))] 557[SRCategory(nameof(SR.CatAppearance))] 559[SRDescription(nameof(SR.TrackBarTickFrequencyDescr))] 599[SRCategory(nameof(SR.CatBehavior))] 602[SRDescription(nameof(SR.TrackBarValueDescr))] 619throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(Minimum)}'", $"'${nameof(Maximum)}'")); 660[SRCategory(nameof(SR.CatPropertyChanged))] 661[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))] 668[SRCategory(nameof(SR.CatBehavior))] 669[SRDescription(nameof(SR.TrackBarOnScrollDescr))] 684[SRCategory(nameof(SR.CatAction))] 685[SRDescription(nameof(SR.valueChangedEventDescr))]
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarFirstButtonAccessibleObject.cs (3)
15public override string DefaultAction => SR.AccessibleActionPress; 24? SR.TrackBarLargeDecreaseButtonName 25: SR.TrackBarLargeIncreaseButtonName;
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarLastButtonAccessibleObject.cs (3)
15public override string DefaultAction => SR.AccessibleActionPress; 24? SR.TrackBarLargeIncreaseButtonName 25: SR.TrackBarLargeDecreaseButtonName;
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarThumbAccessibleObject.cs (1)
16public override string? Name => SR.TrackBarPositionButtonName;
System\Windows\Forms\Controls\TreeView\TreeNode.cs (36)
175[SRCategory(nameof(SR.CatAppearance))] 176[SRDescription(nameof(SR.TreeNodeBackColorDescr))] 320[SRCategory(nameof(SR.CatBehavior))] 321[SRDescription(nameof(SR.TreeNodeCheckedDescr))] 368[SRCategory(nameof(SR.CatBehavior))] 370[SRDescription(nameof(SR.ControlContextMenuDescr))] 402[SRCategory(nameof(SR.CatAppearance))] 403[SRDescription(nameof(SR.TreeNodeForeColorDescr))] 467throw new InvalidOperationException(SR.TreeNodeNoParent); 498[SRCategory(nameof(SR.CatBehavior))] 499[SRDescription(nameof(SR.TreeNodeImageIndexDescr))] 541[SRCategory(nameof(SR.CatBehavior))] 542[SRDescription(nameof(SR.TreeNodeImageKeyDescr))] 567[SRCategory(nameof(SR.CatBehavior))] 568[SRDescription(nameof(SR.TreeNodeIndexDescr))] 726[SRCategory(nameof(SR.CatAppearance))] 727[SRDescription(nameof(SR.TreeNodeNodeFontDescr))] 881[SRCategory(nameof(SR.CatBehavior))] 882[SRDescription(nameof(SR.TreeNodeSelectedImageIndexDescr))] 924[SRCategory(nameof(SR.CatBehavior))] 925[SRDescription(nameof(SR.TreeNodeSelectedImageKeyDescr))] 981[SRCategory(nameof(SR.CatBehavior))] 982[SRDescription(nameof(SR.TreeNodeStateImageKeyDescr))] 1010[SRCategory(nameof(SR.CatBehavior))] 1011[SRDescription(nameof(SR.TreeNodeStateImageIndexDescr))] 1047[SRCategory(nameof(SR.CatData))] 1050[SRDescription(nameof(SR.ControlTagDescr))] 1063[SRCategory(nameof(SR.CatAppearance))] 1064[SRDescription(nameof(SR.TreeNodeTextDescr))] 1080[SRCategory(nameof(SR.CatAppearance))] 1081[SRDescription(nameof(SR.TreeNodeToolTipTextDescr))] 1092[SRCategory(nameof(SR.CatAppearance))] 1093[SRDescription(nameof(SR.TreeNodeNodeNameDescr))] 1282throw new InvalidOperationException(SR.TreeNodeBeginEditFailed); 1774throw new ArgumentException(SR.TreeNodeCircularReference); 1828throw new InvalidOperationException(SR.InvalidCrossThreadControlCall);
System\Windows\Forms\Controls\TreeView\TreeNode.TreeNodeAccessibleObject.cs (4)
43? SR.AccessibleActionUncheck 44: SR.AccessibleActionCheck; 54? SR.AccessibleActionCollapse 55: SR.AccessibleActionExpand;
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (7)
50throw new ArgumentException(string.Format(SR.TreeNodeBoundToAnotherTreeView), nameof(value)); 55throw new ArgumentException(string.Format(SR.OnlyOneControl, value.Text), nameof(value)); 81throw new ArgumentException(SR.TreeNodeCollectionBadTreeNode, nameof(value)); 242key.ThrowIfNullOrEmptyWithMessage(SR.FindKeyMayNotBeEmptyOrNull); 302throw new ArgumentException(string.Format(SR.OnlyOneControl, node.Text), nameof(node)); 438throw new ArgumentException(string.Format(SR.OnlyOneControl, node.Text), nameof(node)); 482throw new ArgumentException(SR.TreeNodeCollectionBadTreeNode, nameof(node));
System\Windows\Forms\Controls\TreeView\TreeView.cs (93)
26[SRDescription(nameof(SR.DescriptionTreeView))] 246[SRCategory(nameof(SR.CatAppearance))] 249[SRDescription(nameof(SR.borderStyleDescr))] 270[SRCategory(nameof(SR.CatAppearance))] 272[SRDescription(nameof(SR.TreeViewCheckBoxesDescr))] 455[SRCategory(nameof(SR.CatBehavior))] 457[SRDescription(nameof(SR.TreeViewFullRowSelectDescr))] 478[SRCategory(nameof(SR.CatBehavior))] 480[SRDescription(nameof(SR.TreeViewHideSelectionDescr))] 502[SRCategory(nameof(SR.CatBehavior))] 504[SRDescription(nameof(SR.TreeViewHotTrackingDescr))] 525[SRCategory(nameof(SR.CatBehavior))] 530[SRDescription(nameof(SR.TreeViewImageIndexDescr))] 575[SRCategory(nameof(SR.CatBehavior))] 581[SRDescription(nameof(SR.TreeViewImageKeyDescr))] 592if (string.IsNullOrEmpty(value) || value.Equals(SR.toStringNone)) 608[SRCategory(nameof(SR.CatBehavior))] 610[SRDescription(nameof(SR.TreeViewImageListDescr))] 685[SRCategory(nameof(SR.CatBehavior))] 687[SRDescription(nameof(SR.TreeViewStateImageListDescr))] 729[SRCategory(nameof(SR.CatBehavior))] 730[SRDescription(nameof(SR.TreeViewIndentDescr))] 766[SRCategory(nameof(SR.CatAppearance))] 767[SRDescription(nameof(SR.TreeViewItemHeightDescr))] 827[SRCategory(nameof(SR.CatBehavior))] 829[SRDescription(nameof(SR.TreeViewLabelEditDescr))] 849[SRCategory(nameof(SR.CatBehavior))] 850[SRDescription(nameof(SR.TreeViewLineColorDescr))] 880[SRCategory(nameof(SR.CatBehavior))] 883[SRDescription(nameof(SR.TreeViewNodesDescr))] 898[SRCategory(nameof(SR.CatBehavior))] 900[SRDescription(nameof(SR.TreeViewDrawModeDescr))] 925[SRCategory(nameof(SR.CatBehavior))] 927[SRDescription(nameof(SR.TreeViewPathSeparatorDescr))] 956[SRCategory(nameof(SR.CatAppearance))] 959[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 976[SRCategory(nameof(SR.CatBehavior))] 978[SRDescription(nameof(SR.TreeViewScrollableDescr))] 997[SRCategory(nameof(SR.CatBehavior))] 1001[SRDescription(nameof(SR.TreeViewSelectedImageIndexDescr))] 1046[SRCategory(nameof(SR.CatBehavior))] 1052[SRDescription(nameof(SR.TreeViewSelectedImageKeyDescr))] 1064if (string.IsNullOrEmpty(value) || value.Equals(SR.toStringNone)) 1080[SRCategory(nameof(SR.CatAppearance))] 1083[SRDescription(nameof(SR.TreeViewSelectedNodeDescr))] 1131[SRCategory(nameof(SR.CatBehavior))] 1133[SRDescription(nameof(SR.TreeViewShowLinesDescr))] 1153[SRCategory(nameof(SR.CatBehavior))] 1155[SRDescription(nameof(SR.TreeViewShowShowNodeToolTipsDescr))] 1176[SRCategory(nameof(SR.CatBehavior))] 1178[SRDescription(nameof(SR.TreeViewShowPlusMinusDescr))] 1199[SRCategory(nameof(SR.CatBehavior))] 1201[SRDescription(nameof(SR.TreeViewShowRootLinesDescr))] 1221[SRCategory(nameof(SR.CatBehavior))] 1223[SRDescription(nameof(SR.TreeViewSortedDescr))] 1245[SRCategory(nameof(SR.CatBehavior))] 1248[SRDescription(nameof(SR.TreeViewNodeSorterDescr))] 1293[SRCategory(nameof(SR.CatAppearance))] 1296[SRDescription(nameof(SR.TreeViewTopNodeDescr))] 1335[SRCategory(nameof(SR.CatAppearance))] 1338[SRDescription(nameof(SR.TreeViewVisibleCountDescr))] 1341[SRCategory(nameof(SR.CatBehavior))] 1342[SRDescription(nameof(SR.TreeViewBeforeEditDescr))] 1349[SRCategory(nameof(SR.CatBehavior))] 1350[SRDescription(nameof(SR.TreeViewAfterEditDescr))] 1357[SRCategory(nameof(SR.CatBehavior))] 1358[SRDescription(nameof(SR.TreeViewBeforeCheckDescr))] 1365[SRCategory(nameof(SR.CatBehavior))] 1366[SRDescription(nameof(SR.TreeViewAfterCheckDescr))] 1373[SRCategory(nameof(SR.CatBehavior))] 1374[SRDescription(nameof(SR.TreeViewBeforeCollapseDescr))] 1381[SRCategory(nameof(SR.CatBehavior))] 1382[SRDescription(nameof(SR.TreeViewAfterCollapseDescr))] 1389[SRCategory(nameof(SR.CatBehavior))] 1390[SRDescription(nameof(SR.TreeViewBeforeExpandDescr))] 1397[SRCategory(nameof(SR.CatBehavior))] 1398[SRDescription(nameof(SR.TreeViewAfterExpandDescr))] 1408[SRCategory(nameof(SR.CatBehavior))] 1409[SRDescription(nameof(SR.TreeViewDrawNodeEventDescr))] 1416[SRCategory(nameof(SR.CatAction))] 1417[SRDescription(nameof(SR.ListViewItemDragDescr))] 1424[SRCategory(nameof(SR.CatAction))] 1425[SRDescription(nameof(SR.TreeViewNodeMouseHoverDescr))] 1432[SRCategory(nameof(SR.CatBehavior))] 1433[SRDescription(nameof(SR.TreeViewBeforeSelectDescr))] 1440[SRCategory(nameof(SR.CatBehavior))] 1441[SRDescription(nameof(SR.TreeViewAfterSelectDescr))] 1460[SRCategory(nameof(SR.CatBehavior))] 1461[SRDescription(nameof(SR.TreeViewNodeMouseClickDescr))] 1468[SRCategory(nameof(SR.CatBehavior))] 1469[SRDescription(nameof(SR.TreeViewNodeMouseDoubleClickDescr))] 1476[SRCategory(nameof(SR.CatPropertyChanged))] 1477[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))]
System\Windows\Forms\Controls\TreeView\TreeViewImageIndexConverter.cs (4)
30if (string.Compare(strValue, SR.toStringDefault, true, culture) == 0) 34else if (string.Compare(strValue, SR.toStringNone, true, culture) == 0) 58return SR.toStringDefault; 62return SR.toStringNone;
System\Windows\Forms\Controls\TreeView\TreeViewImageKeyConverter.cs (2)
28return SR.toStringDefault; 34return SR.toStringDefault;
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (12)
19[SRDescription(nameof(SR.DescriptionDomainUpDown))] 53[SRCategory(nameof(SR.CatData))] 55[SRDescription(nameof(SR.DomainUpDownItemsDescr))] 82[SRCategory(nameof(SR.CatAppearance))] 83[SRDescription(nameof(SR.DomainUpDownSelectedIndexDescr))] 117[SRDescription(nameof(SR.DomainUpDownSelectedItemDescr))] 150[SRCategory(nameof(SR.CatBehavior))] 152[SRDescription(nameof(SR.DomainUpDownSortedDescr))] 176[SRCategory(nameof(SR.CatBehavior))] 179[SRDescription(nameof(SR.DomainUpDownWrapDescr))] 186[SRCategory(nameof(SR.CatBehavior))] 187[SRDescription(nameof(SR.DomainUpDownOnSelectedItemChangedDescr))]
System\Windows\Forms\Controls\UpDown\DomainUpDown.DomainUpDownItemCollection.cs (1)
73throw new ArgumentOutOfRangeException(nameof(item), item, string.Format(SR.InvalidArgument, nameof(item), item));
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (18)
16[SRDescription(nameof(SR.DescriptionNumericUpDown))] 94[SRCategory(nameof(SR.CatData))] 96[SRDescription(nameof(SR.NumericUpDownDecimalPlacesDescr))] 119[SRCategory(nameof(SR.CatAppearance))] 121[SRDescription(nameof(SR.NumericUpDownHexadecimalDescr))] 141[SRCategory(nameof(SR.CatData))] 142[SRDescription(nameof(SR.NumericUpDownIncrementDescr))] 166[SRCategory(nameof(SR.CatData))] 168[SRDescription(nameof(SR.NumericUpDownMaximumDescr))] 193[SRCategory(nameof(SR.CatData))] 195[SRDescription(nameof(SR.NumericUpDownMinimumDescr))] 273[SRCategory(nameof(SR.CatData))] 276[SRDescription(nameof(SR.NumericUpDownThousandsSeparatorDescr))] 295[SRCategory(nameof(SR.CatAppearance))] 297[SRDescription(nameof(SR.NumericUpDownValueDescr))] 316throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(Minimum)}'", $"'{nameof(Maximum)}'")); 333[SRCategory(nameof(SR.CatAction))] 334[SRDescription(nameof(SR.NumericUpDownOnValueChangedDescr))]
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (15)
114[SRCategory(nameof(SR.CatPropertyChanged))] 115[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 176[SRCategory(nameof(SR.CatAppearance))] 179[SRDescription(nameof(SR.UpDownBaseBorderStyleDescr))] 256[SRDescription(nameof(SR.ControlFocusedDescr))] 276[SRCategory(nameof(SR.CatBehavior))] 278[SRDescription(nameof(SR.UpDownBaseInterceptArrowKeysDescr))] 328[SRCategory(nameof(SR.CatLayout))] 332[SRDescription(nameof(SR.UpDownBasePreferredHeightDescr))] 357[SRCategory(nameof(SR.CatBehavior))] 359[SRDescription(nameof(SR.UpDownBaseReadOnlyDescr))] 399[SRCategory(nameof(SR.CatAppearance))] 401[SRDescription(nameof(SR.UpDownBaseTextAlignDescr))] 419[SRCategory(nameof(SR.CatAppearance))] 421[SRDescription(nameof(SR.UpDownBaseAlignmentDescr))]
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.UpDownButtonsAccessibleObject.cs (1)
81return string.IsNullOrEmpty(baseName) ? SR.DefaultUpDownButtonsAccessibleName : baseName;
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.UpDownButtonsAccessibleObject.DirectionButtonAccessibleObject.cs (3)
50public override string DefaultAction => SR.AccessibleActionPress; 92get => _up ? SR.UpDownBaseUpButtonAccName : SR.UpDownBaseDownButtonAccName;
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownEdit.cs (1)
31Automation.AutomationNotificationProcessing.CurrentThenMostRecent, SR.UpDownEditLocalizedControlTypeName);
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownEdit.UpDownEditAccessibleObject.cs (1)
26NumericUpDown or DomainUpDown => SR.EditDefaultAccessibleName,
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.cs (1)
117throw new ArgumentException(SR.HtmlDocumentInvalidDomain);
System\Windows\Forms\Controls\WebBrowser\HtmlElement.cs (6)
224throw new NotSupportedException(SR.HtmlElementPropertyNotSupported); 253throw new NotSupportedException(SR.HtmlElementPropertyNotSupported); 353throw new NotSupportedException(SR.HtmlElementPropertyNotSupported); 382throw new NotSupportedException(SR.HtmlElementPropertyNotSupported); 530throw new NotSupportedException(SR.HtmlElementMethodNotSupported); 671throw new NotSupportedException(SR.HtmlElementAttributeNotSupported);
System\Windows\Forms\Controls\WebBrowser\HtmlWindowCollection.cs (1)
70throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(windowId), windowId), nameof(windowId));
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (43)
22[SRDescription(nameof(SR.DescriptionWebBrowser))] 71[SRDescription(nameof(SR.WebBrowserAllowNavigationDescr))] 72[SRCategory(nameof(SR.CatBehavior))] 91[SRDescription(nameof(SR.WebBrowserAllowWebBrowserDropDescr))] 92[SRCategory(nameof(SR.CatBehavior))] 120[SRDescription(nameof(SR.WebBrowserScriptErrorsSuppressedDescr))] 121[SRCategory(nameof(SR.CatBehavior))] 148[SRDescription(nameof(SR.WebBrowserWebBrowserShortcutsEnabledDescr))] 149[SRCategory(nameof(SR.CatBehavior))] 434[SRDescription(nameof(SR.WebBrowserIsOfflineDescr))] 455[SRDescription(nameof(SR.WebBrowserIsWebBrowserContextMenuEnabledDescr))] 456[SRCategory(nameof(SR.CatBehavior))] 481throw new ArgumentException(SR.WebBrowserObjectForScriptingComVisibleOnly, nameof(value)); 501[SRCategory(nameof(SR.CatLayout))] 502[SRDescription(nameof(SR.ControlOnPaddingChangedDescr))] 558[SRDescription(nameof(SR.WebBrowserUrlDescr))] 560[SRCategory(nameof(SR.CatBehavior))] 877[SRDescription(nameof(SR.WebBrowserScrollBarsEnabledDescr))] 878[SRCategory(nameof(SR.CatBehavior))] 995[SRCategory(nameof(SR.CatPropertyChanged))] 996[SRDescription(nameof(SR.WebBrowserCanGoBackChangedDescr))] 1004[SRCategory(nameof(SR.CatPropertyChanged))] 1005[SRDescription(nameof(SR.WebBrowserCanGoForwardChangedDescr))] 1014[SRCategory(nameof(SR.CatBehavior))] 1015[SRDescription(nameof(SR.WebBrowserDocumentCompletedDescr))] 1025[SRCategory(nameof(SR.CatPropertyChanged))] 1026[SRDescription(nameof(SR.WebBrowserDocumentTitleChangedDescr))] 1035[SRCategory(nameof(SR.CatPropertyChanged))] 1036[SRDescription(nameof(SR.WebBrowserEncryptionLevelChangedDescr))] 1043[SRCategory(nameof(SR.CatBehavior))] 1044[SRDescription(nameof(SR.WebBrowserFileDownloadDescr))] 1051[SRCategory(nameof(SR.CatAction))] 1052[SRDescription(nameof(SR.WebBrowserNavigatedDescr))] 1060[SRCategory(nameof(SR.CatAction))] 1061[SRDescription(nameof(SR.WebBrowserNavigatingDescr))] 1068[SRCategory(nameof(SR.CatAction))] 1069[SRDescription(nameof(SR.WebBrowserNewWindowDescr))] 1078[SRCategory(nameof(SR.CatAction))] 1079[SRDescription(nameof(SR.WebBrowserProgressChangedDescr))] 1088[SRCategory(nameof(SR.CatPropertyChanged))] 1089[SRDescription(nameof(SR.WebBrowserStatusTextChangedDescr))] 1287throw new ArgumentException(string.Format(SR.WebBrowserNavigateAbsoluteUri, "uri")); 1400return _axIWebBrowser2 ?? throw new InvalidOperationException(SR.WebBrowserNoCastToIWebBrowser2);
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (52)
74throw new ThreadStateException(string.Format(SR.AXMTAThread, clsidString)); 946throw new TargetInvocationException(string.Format(SR.AXNohWnd, GetType().Name), t); 989throw new TargetInvocationException(string.Format(SR.AXNohWnd, GetType().Name), t); 1217throw new ThreadStateException(SR.ThreadMustBeSTA); 1290throw new NotSupportedException(SR.WebBrowserAllowDropNotSupported); 1302throw new NotSupportedException(SR.WebBrowserBackgroundImageNotSupported); 1314throw new NotSupportedException(SR.WebBrowserBackgroundImageLayoutNotSupported); 1327throw new NotSupportedException(SR.WebBrowserCursorNotSupported); 1339throw new NotSupportedException(SR.WebBrowserEnabledNotSupported); 1351throw new NotSupportedException(SR.WebBrowserRightToLeftNotSupported); 1364set => throw new NotSupportedException(SR.WebBrowserTextNotSupported); 1375throw new NotSupportedException(SR.WebBrowserUseWaitCursorNotSupported); 1387add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "BackgroundImageLayoutChanged")); 1395add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "Enter")); 1403add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "Leave")); 1411add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseCaptureChanged")); 1419add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseClick")); 1427add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseDoubleClick")); 1435add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "BackColorChanged")); 1443add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "BackgroundImageChanged")); 1451add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "BindingContextChanged")); 1459add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "CursorChanged")); 1467add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "EnabledChanged")); 1475add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "FontChanged")); 1483add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "ForeColorChanged")); 1491add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "RightToLeftChanged")); 1499add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "TextChanged")); 1507add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "Click")); 1515add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DragDrop")); 1523add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DragEnter")); 1531add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DragOver")); 1539add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DragLeave")); 1547add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "GiveFeedback")); 1556add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "HelpRequested")); 1564add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "Paint")); 1572add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "QueryContinueDrag")); 1580add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "QueryAccessibilityHelp")); 1588add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DoubleClick")); 1596add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "ImeModeChanged")); 1604add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "KeyDown")); 1612add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "KeyPress")); 1620add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "KeyUp")); 1628add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "Layout")); 1636add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseDown")); 1644add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseEnter")); 1652add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseLeave")); 1660add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseHover")); 1668add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseMove")); 1676add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseUp")); 1684add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseWheel")); 1692add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "ChangeUICues")); 1700add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "StyleChanged"));
System\Windows\Forms\Controls\WebBrowser\WebBrowserContainer.cs (1)
304throw new ArgumentException(string.Format(SR.AXDuplicateControl, GetNameForControl(ctl)), nameof(ctl));
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (1)
202throw new InvalidOperationException(SR.AXWindowlessControl);
System\Windows\Forms\DataBinding\BindableComponent.cs (5)
25[SRCategory(nameof(SR.CatData))] 26[SRDescription(nameof(SR.BindingComponentBindingContextDescr))] 44[SRCategory(nameof(SR.CatData))] 45[SRDescription(nameof(SR.BindableComponentBindingContextChangedDescr))] 76[SRCategory(nameof(SR.CatData))]
System\Windows\Forms\DataBinding\Binding.BindToObject.cs (1)
223throw new ArgumentException(string.Format(SR.ListBindingBindField, dataField), "dataMember");
System\Windows\Forms\DataBinding\Binding.cs (3)
528throw new ArgumentException(string.Format(SR.ListBindingBindProperty, PropertyName), nameof(PropertyName)); 533throw new ArgumentException(string.Format(SR.ListBindingBindPropertyReadOnly, PropertyName), nameof(PropertyName)); 808throw new FormatException(SR.ListBindingFormatFailed);
System\Windows\Forms\DataBinding\BindingContext.cs (3)
121[SRDescription(nameof(SR.collectionChangedEventDescr))] 267?? throw new ArgumentException(string.Format(SR.RelatedListManagerChild, dataField)); 307throw new ArgumentException(string.Format(SR.DataBindingCycle, binding.PropertyName), nameof(propBinding));
System\Windows\Forms\DataBinding\BindingNavigator.cs (35)
13[SRDescription(nameof(SR.DescriptionBindingNavigator))] 27private string _countItemFormat = SR.BindingNavigatorCountItemFormat; 165MoveFirstItem.Text = SR.BindingNavigatorMoveFirstItemText; 166MovePreviousItem.Text = SR.BindingNavigatorMovePreviousItemText; 167MoveNextItem.Text = SR.BindingNavigatorMoveNextItemText; 168MoveLastItem.Text = SR.BindingNavigatorMoveLastItemText; 169AddNewItem.Text = SR.BindingNavigatorAddNewItemText; 170DeleteItem.Text = SR.BindingNavigatorDeleteItemText; 172CountItem.ToolTipText = SR.BindingNavigatorCountItemTip; 173PositionItem.ToolTipText = SR.BindingNavigatorPositionItemTip; 177PositionItem.AccessibleName = SR.BindingNavigatorPositionAccessibleName; 237[SRCategory(nameof(SR.CatData))] 238[SRDescription(nameof(SR.BindingNavigatorBindingSourcePropDescr))] 257[SRCategory(nameof(SR.CatItems))] 258[SRDescription(nameof(SR.BindingNavigatorMoveFirstItemPropDescr))] 281[SRCategory(nameof(SR.CatItems))] 282[SRDescription(nameof(SR.BindingNavigatorMovePreviousItemPropDescr))] 305[SRCategory(nameof(SR.CatItems))] 306[SRDescription(nameof(SR.BindingNavigatorMoveNextItemPropDescr))] 329[SRCategory(nameof(SR.CatItems))] 330[SRDescription(nameof(SR.BindingNavigatorMoveLastItemPropDescr))] 353[SRCategory(nameof(SR.CatItems))] 354[SRDescription(nameof(SR.BindingNavigatorAddNewItemPropDescr))] 383[SRCategory(nameof(SR.CatItems))] 384[SRDescription(nameof(SR.BindingNavigatorDeleteItemPropDescr))] 413[SRCategory(nameof(SR.CatItems))] 414[SRDescription(nameof(SR.BindingNavigatorPositionItemPropDescr))] 437[SRCategory(nameof(SR.CatItems))] 438[SRDescription(nameof(SR.BindingNavigatorCountItemPropDescr))] 459[SRCategory(nameof(SR.CatAppearance))] 460[SRDescription(nameof(SR.BindingNavigatorCountItemFormatPropDescr))] 481[SRCategory(nameof(SR.CatBehavior))] 482[SRDescription(nameof(SR.BindingNavigatorRefreshItemsEventDescr))] 799_countItemFormat = SR.BindingNavigatorCountItemFormat; 804return _countItemFormat != SR.BindingNavigatorCountItemFormat;
System\Windows\Forms\DataBinding\BindingsCollection.cs (2)
55[SRDescription(nameof(SR.collectionChangingEventDescr))] 65[SRDescription(nameof(SR.collectionChangedEventDescr))]
System\Windows\Forms\DataBinding\BindingSource.cs (48)
16[SRDescription(nameof(SR.DescriptionBindingSource))] 191[SRCategory(nameof(SR.CatData))] 195[SRDescription(nameof(SR.BindingSourceDataMemberDescr))] 213[SRCategory(nameof(SR.CatData))] 217[SRDescription(nameof(SR.BindingSourceDataSourceDescr))] 378[SRCategory(nameof(SR.CatData))] 380[SRDescription(nameof(SR.BindingSourceSortDescr))] 391[SRCategory(nameof(SR.CatData))] 392[SRDescription(nameof(SR.BindingSourceAddingNewEventHandlerDescr))] 399[SRCategory(nameof(SR.CatData))] 400[SRDescription(nameof(SR.BindingSourceBindingCompleteEventHandlerDescr))] 407[SRCategory(nameof(SR.CatData))] 408[SRDescription(nameof(SR.BindingSourceDataErrorEventHandlerDescr))] 415[SRCategory(nameof(SR.CatData))] 416[SRDescription(nameof(SR.BindingSourceDataSourceChangedEventHandlerDescr))] 423[SRCategory(nameof(SR.CatData))] 424[SRDescription(nameof(SR.BindingSourceDataMemberChangedEventHandlerDescr))] 431[SRCategory(nameof(SR.CatData))] 432[SRDescription(nameof(SR.BindingSourceCurrentChangedEventHandlerDescr))] 439[SRCategory(nameof(SR.CatData))] 440[SRDescription(nameof(SR.BindingSourceCurrentItemChangedEventHandlerDescr))] 447[SRCategory(nameof(SR.CatData))] 448[SRDescription(nameof(SR.BindingSourceListChangedEventHandlerDescr))] 455[SRCategory(nameof(SR.CatData))] 456[SRDescription(nameof(SR.BindingSourcePositionChangedEventHandlerDescr))] 497throw new InvalidOperationException(SR.BindingSourceRecursionDetected); 552throw new NotSupportedException(SR.BindingSourceInstanceError, instanceException); 651?? throw new ArgumentException(string.Format(SR.DataSourceDataMemberPropNotFound, propertyName)); 999: throw new ArgumentException(SR.BindingSourceBadSortString); 1004?? throw new ArgumentException(SR.BindingSourceSortStringPropertyNotInIBindingList); 1017throw new InvalidOperationException(SR.BindingSourceRemoveCurrentNotAllowed); 1022throw new InvalidOperationException(SR.BindingSourceRemoveCurrentNoCurrentItem); 1439throw new InvalidOperationException(SR.BindingSourceRecursionDetected); 1474throw new InvalidOperationException(SR.BindingSourceItemTypeMismatchOnAdd); 1479throw new InvalidOperationException(SR.BindingSourceItemTypeIsValueType); 1565throw new InvalidOperationException(SR.BindingSourceBindingListWrapperAddToReadOnlyList); 1571SR.BindingSourceBindingListWrapperNeedToSetAllowNew, 1610SR.BindingSourceBindingListWrapperNeedAParameterlessConstructor, 1640[SRCategory(nameof(SR.CatBehavior))] 1641[SRDescription(nameof(SR.BindingSourceAllowNewDescr)),] 1658throw new InvalidOperationException(SR.NoAllowNewOnReadOnlyList); 1715throw new NotSupportedException(SR.OperationRequiresIBindingList); 1726throw new NotSupportedException(SR.OperationRequiresIBindingList); 1736throw new NotSupportedException(SR.OperationRequiresIBindingList); 1746throw new NotSupportedException(SR.OperationRequiresIBindingList); 1767throw new NotSupportedException(SR.OperationRequiresIBindingListView); 1782[SRCategory(nameof(SR.CatData))] 1784[SRDescription(nameof(SR.BindingSourceFilterDescr))]
System\Windows\Forms\DataBinding\Command.cs (1)
90throw new ArgumentException(SR.CommandIdNotAllocated);
System\Windows\Forms\DataBinding\ControlBindingsCollection.cs (4)
175throw new ArgumentException(SR.BindingsCollectionAdd1, nameof(dataBinding)); 180throw new ArgumentException(SR.BindingsCollectionAdd2, nameof(dataBinding)); 200throw new ArgumentException(SR.BindingsCollectionDup, nameof(binding)); 246throw new ArgumentException(SR.BindingsCollectionForeign, nameof(dataBinding));
System\Windows\Forms\DataBinding\CurrencyManager.cs (9)
39[SRCategory(nameof(SR.CatData))] 188throw new ArgumentException(string.Format(SR.ListManagerSetDataSource, tempList.GetType().FullName), nameof(dataSource)); 258throw new IndexOutOfRangeException(string.Format(SR.ListManagerNoValue, index.ToString(CultureInfo.CurrentCulture))); 267throw new IndexOutOfRangeException(string.Format(SR.ListManagerNoValue, index.ToString(CultureInfo.CurrentCulture))); 283throw new NotSupportedException(SR.CurrencyManagerCantAddNew); 341throw new IndexOutOfRangeException(SR.ListManagerBadPosition); 393throw new InvalidOperationException(SR.ListManagerEmptyList); 512throw new InvalidOperationException(SR.DataBindingPushDataException); 822[SRCategory(nameof(SR.CatData))]
System\Windows\Forms\DataBinding\ICurrencyManagerProvider.cs (1)
6[SRDescription(nameof(SR.ICurrencyManagerProviderDescr))]
System\Windows\Forms\DataBinding\ListBindingConverter.cs (2)
93throw new ArgumentException(SR.PropertyValueInvalidEntry, invalidCast); 97throw new ArgumentException(SR.PropertyValueInvalidEntry, nullRef);
System\Windows\Forms\DataBinding\ListBindingHelper.cs (3)
49?? throw new ArgumentException(string.Format(SR.DataSourceDataMemberPropNotFound, dataMember)); 187listAccessors2[0] = dmProp ?? throw new ArgumentException(string.Format(SR.DataSourceDataMemberPropNotFound, dataMember)); 267throw new NotSupportedException(SR.BindingSourceInstanceError, instanceException);
System\Windows\Forms\DataBinding\ListManagerBindingsCollection.cs (3)
32throw new ArgumentException(SR.BindingsCollectionAdd1, nameof(dataBinding)); 37throw new ArgumentException(SR.BindingsCollectionAdd2, nameof(dataBinding)); 61throw new ArgumentException(SR.BindingsCollectionForeign, nameof(dataBinding));
System\Windows\Forms\DataBinding\PropertyManager.cs (3)
42throw new ArgumentException(string.Format(SR.PropertyManagerPropDoesNotExist, _propName, dataSource)); 205throw new NotSupportedException(SR.DataBindingAddNewNotSupportedOnPropertyManager); 215throw new NotSupportedException(SR.DataBindingRemoveAtNotSupportedOnPropertyManager);
System\Windows\Forms\DataBinding\RelatedCurrencyManager.cs (1)
38throw new ArgumentException(string.Format(SR.RelatedListManagerChild, dataField));
System\Windows\Forms\DataBinding\RelatedPropertyManager.cs (1)
27throw new ArgumentException(string.Format(SR.RelatedListManagerChild, dataField));
System\Windows\Forms\Design\ComponentEditorForm.ComponentEditorPageSite.cs (1)
43throw new TargetInvocationException(string.Format(SR.ExceptionCreatingCompEditorControl, e), e.InnerException);
System\Windows\Forms\Design\ComponentEditorForm.cs (9)
47throw new ArgumentException(SR.ComponentEditorFormBadComponent, nameof(component)); 102_cancelButton.Text = SR.CloseCaption; 226caption = string.Format(SR.ComponentEditorFormProperties, site.Name); 230caption = SR.ComponentEditorFormPropertiesNoName; 267_helpButton.Text = SR.HelpCaption; 274_applyButton.Text = SR.ApplyCaption; 281_cancelButton.Text = SR.CancelCaption; 288_okButton.Text = SR.OKCaption; 428_cancelButton.Text = SR.CancelCaption;
System\Windows\Forms\Design\EventsTab.cs (1)
24public override string TabName => SR.PBRSToolTipEvents;
System\Windows\Forms\Dialogs\CommonDialogs\ColorDialog.cs (14)
15[SRDescription(nameof(SR.DescriptionColorDialog))] 32[SRCategory(nameof(SR.CatBehavior))] 34[SRDescription(nameof(SR.CDallowFullOpenDescr))] 45[SRCategory(nameof(SR.CatBehavior))] 47[SRDescription(nameof(SR.CDanyColorDescr))] 57[SRCategory(nameof(SR.CatData))] 58[SRDescription(nameof(SR.CDcolorDescr))] 70[SRDescription(nameof(SR.CDcustomColorsDescr))] 96[SRCategory(nameof(SR.CatAppearance))] 98[SRDescription(nameof(SR.CDfullOpenDescr))] 118[SRCategory(nameof(SR.CatBehavior))] 120[SRDescription(nameof(SR.CDshowHelpDescr))] 130[SRCategory(nameof(SR.CatBehavior))] 132[SRDescription(nameof(SR.CDsolidColorOnlyDescr))]
System\Windows\Forms\Dialogs\CommonDialogs\CommonDialog.cs (4)
36[SRCategory(nameof(SR.CatData))] 39[SRDescription(nameof(SR.ControlTagDescr))] 47[SRDescription(nameof(SR.CommonDialogHelpRequested))] 172throw new InvalidOperationException(SR.CantShowModalOnNonInteractive);
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (39)
49[SRCategory(nameof(SR.CatBehavior))] 51[SRDescription(nameof(SR.FDaddExtensionDescr))] 58[SRCategory(nameof(SR.CatBehavior))] 60[SRDescription(nameof(SR.FileDialogAddToRecentDescr))] 71[SRCategory(nameof(SR.CatBehavior))] 73[SRDescription(nameof(SR.FDcheckFileExistsDescr))] 84[SRCategory(nameof(SR.CatBehavior))] 86[SRDescription(nameof(SR.FDcheckPathExistsDescr))] 114[SRCategory(nameof(SR.CatBehavior))] 116[SRDescription(nameof(SR.FDdefaultExtDescr))] 145[SRCategory(nameof(SR.CatBehavior))] 147[SRDescription(nameof(SR.FDdereferenceLinksDescr))] 159[SRCategory(nameof(SR.CatData))] 161[SRDescription(nameof(SR.FDfileNameDescr))] 174[SRDescription(nameof(SR.FDFileNamesDescr))] 185[SRCategory(nameof(SR.CatBehavior))] 188[SRDescription(nameof(SR.FDfilterDescr))] 205throw new ArgumentException(SR.FileDialogInvalidFilter, nameof(value)); 242throw new InvalidOperationException(SR.FileDialogInvalidFilterIndex); 266[SRCategory(nameof(SR.CatBehavior))] 268[SRDescription(nameof(SR.FDfilterIndexDescr))] 274[SRCategory(nameof(SR.CatData))] 277[SRDescription(nameof(SR.FDinitialDirDescr))] 304[SRCategory(nameof(SR.CatBehavior))] 306[SRDescription(nameof(SR.FDrestoreDirectoryDescr))] 317[SRCategory(nameof(SR.CatBehavior))] 319[SRDescription(nameof(SR.FDshowHelpDescr))] 329[SRCategory(nameof(SR.CatBehavior))] 331[SRDescription(nameof(SR.FileDialogShowHiddenFilesDescr))] 341[SRCategory(nameof(SR.CatBehavior))] 343[SRDescription(nameof(SR.FDsupportMultiDottedExtensionsDescr))] 349[SRCategory(nameof(SR.CatAppearance))] 352[SRDescription(nameof(SR.FDtitleDescr))] 363[SRCategory(nameof(SR.CatBehavior))] 365[SRDescription(nameof(SR.FDvalidateNamesDescr))] 375[SRDescription(nameof(SR.FDfileOkDescr))] 692string.Format(SR.FileDialogFileNotFound, fileName), 730throw new ThreadStateException(string.Format(SR.DebuggingExceptionOnly, SR.ThreadMustBeSTA));
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.Vista.cs (4)
266[SRCategory(nameof(SR.CatBehavior))] 268[SRDescription(nameof(SR.FileDialogOkRequiresInteractionDescr))] 279[SRCategory(nameof(SR.CatBehavior))] 281[SRDescription(nameof(SR.FileDialogShowPinnedPlacesDescr))]
System\Windows\Forms\Dialogs\CommonDialogs\FolderBrowserDialog.cs (26)
20[SRDescription(nameof(SR.DescriptionFolderBrowserDialog))] 49[SRCategory(nameof(SR.CatBehavior))] 51[SRDescription(nameof(SR.FolderBrowserDialogAddToRecent))] 75[SRCategory(nameof(SR.CatBehavior))] 77[SRDescription(nameof(SR.FolderBrowserDialogMultiSelectDescr))] 93[SRCategory(nameof(SR.CatBehavior))] 95[SRDescription(nameof(SR.FolderBrowserDialogOkRequiresInteraction))] 105[SRCategory(nameof(SR.CatBehavior))] 107[SRDescription(nameof(SR.FolderBrowserDialogShowHiddenFiles))] 118[SRCategory(nameof(SR.CatBehavior))] 120[SRDescription(nameof(SR.FolderBrowserDialogShowPinnedPlaces))] 134[SRCategory(nameof(SR.CatFolderBrowsing))] 135[SRDescription(nameof(SR.FolderBrowserDialogShowNewFolderButton))] 164[SRCategory(nameof(SR.CatFolderBrowsing))] 165[SRDescription(nameof(SR.FolderBrowserDialogSelectedPath))] 178[SRDescription(nameof(SR.FolderBrowserDialogSelectedPathsDescr))] 184[SRCategory(nameof(SR.CatFolderBrowsing))] 187[SRDescription(nameof(SR.FDinitialDirDescr))] 200[SRCategory(nameof(SR.CatFolderBrowsing))] 201[SRDescription(nameof(SR.FolderBrowserDialogRootFolder))] 222[SRCategory(nameof(SR.CatFolderBrowsing))] 223[SRDescription(nameof(SR.FolderBrowserDialogDescription))] 242[SRCategory(nameof(SR.CatFolderBrowsing))] 243[SRDescription(nameof(SR.FolderBrowserDialogUseDescriptionForTitle))] 450throw new ThreadStateException(string.Format(SR.DebuggingExceptionOnly, SR.ThreadMustBeSTA));
System\Windows\Forms\Dialogs\CommonDialogs\FontDialog.cs (32)
17[SRDescription(nameof(SR.DescriptionFontDialog))] 41[SRCategory(nameof(SR.CatBehavior))] 43[SRDescription(nameof(SR.FnDallowSimulationsDescr))] 53[SRCategory(nameof(SR.CatBehavior))] 55[SRDescription(nameof(SR.FnDallowVectorFontsDescr))] 67[SRCategory(nameof(SR.CatBehavior))] 69[SRDescription(nameof(SR.FnDallowVerticalFontsDescr))] 80[SRCategory(nameof(SR.CatBehavior))] 82[SRDescription(nameof(SR.FnDallowScriptChangeDescr))] 92[SRCategory(nameof(SR.CatData))] 93[SRDescription(nameof(SR.FnDcolorDescr))] 121[SRCategory(nameof(SR.CatBehavior))] 123[SRDescription(nameof(SR.FnDfixedPitchOnlyDescr))] 133[SRCategory(nameof(SR.CatData))] 134[SRDescription(nameof(SR.FnDfontDescr))] 161[SRCategory(nameof(SR.CatBehavior))] 163[SRDescription(nameof(SR.FnDfontMustExistDescr))] 173[SRCategory(nameof(SR.CatData))] 175[SRDescription(nameof(SR.FnDmaxSizeDescr))] 198[SRCategory(nameof(SR.CatData))] 200[SRDescription(nameof(SR.FnDminSizeDescr))] 229[SRCategory(nameof(SR.CatBehavior))] 231[SRDescription(nameof(SR.FnDscriptsOnlyDescr))] 241[SRCategory(nameof(SR.CatBehavior))] 243[SRDescription(nameof(SR.FnDshowApplyDescr))] 253[SRCategory(nameof(SR.CatBehavior))] 255[SRDescription(nameof(SR.FnDshowColorDescr))] 262[SRCategory(nameof(SR.CatBehavior))] 264[SRDescription(nameof(SR.FnDshowEffectsDescr))] 274[SRCategory(nameof(SR.CatBehavior))] 276[SRDescription(nameof(SR.FnDshowHelpDescr))] 286[SRDescription(nameof(SR.FnDapplyDescr))]
System\Windows\Forms\Dialogs\CommonDialogs\OpenFileDialog.cs (15)
16[SRDescription(nameof(SR.DescriptionOpenFileDialog))] 24[SRDescription(nameof(SR.OFDcheckFileExistsDescr))] 34[SRCategory(nameof(SR.CatBehavior))] 36[SRDescription(nameof(SR.OFDmultiSelectDescr))] 46[SRCategory(nameof(SR.CatBehavior))] 48[SRDescription(nameof(SR.OFDreadOnlyCheckedDescr))] 58[SRCategory(nameof(SR.CatBehavior))] 60[SRDescription(nameof(SR.OpenFileDialogSelectReadOnlyDescr))] 70[SRCategory(nameof(SR.CatBehavior))] 72[SRDescription(nameof(SR.OpenFileDialogShowPreviewDescr))] 82[SRCategory(nameof(SR.CatBehavior))] 84[SRDescription(nameof(SR.OFDshowReadOnlyDescr))] 124throw new InvalidOperationException(string.Format(SR.FileDialogInvalidFileName, FileName)); 126throw new InvalidOperationException(SR.FileDialogSubLassFailure); 128throw new InvalidOperationException(SR.FileDialogBufferTooSmall);
System\Windows\Forms\Dialogs\CommonDialogs\SaveFileDialog.cs (12)
17[SRDescription(nameof(SR.DescriptionSaveFileDialog))] 25[SRCategory(nameof(SR.CatBehavior))] 27[SRDescription(nameof(SR.SaveFileDialogCheckWriteAccess))] 38[SRCategory(nameof(SR.CatBehavior))] 40[SRDescription(nameof(SR.SaveFileDialogCreatePrompt))] 50[SRCategory(nameof(SR.CatBehavior))] 52[SRDescription(nameof(SR.SaveFileDialogExpandedMode))] 63[SRCategory(nameof(SR.CatBehavior))] 65[SRDescription(nameof(SR.SaveFileDialogOverWritePrompt))] 89string.Format(SR.FileDialogCreatePrompt, fileName), 101string.Format(SR.FileDialogOverwritePrompt, fileName), 150throw new InvalidOperationException(string.Format(SR.FileDialogInvalidFileName, FileName));
System\Windows\Forms\Dialogs\MessageBox.cs (4)
55throw new InvalidOperationException(SR.CantShowModalOnNonInteractive); 60throw new ArgumentException(SR.CantShowMBServiceWithOwner, nameof(options)); 65throw new ArgumentException(SR.CantShowMBServiceWithHelp, nameof(options)); 470throw new Win32Exception(lastWin32Error, string.Format(SR.LoadDLLError, Libraries.Shell32));
System\Windows\Forms\Dialogs\TaskDialog\TaskDialog.cs (11)
217throw new InvalidOperationException(string.Format(SR.IllegalCrossThreadCall, nameof(TaskDialog))); 408?? throw new InvalidOperationException(SR.FormOrTaskDialog_NoSyncContextForShowAsync); 553throw new InvalidOperationException(string.Format(SR.TaskDialogInstanceAlreadyShown, nameof(TaskDialog))); 616SR.TaskDialogVisualStylesNotEnabled, 1214SR.TaskDialogCannotNavigateWithinRadioButtonCheckedChanged, 1222throw new InvalidOperationException(SR.TaskDialogCannotNavigateWithinNavigationEventHandler); 1235throw new InvalidOperationException(SR.TaskDialogCannotNavigateClosedDialog); 1258throw new InvalidOperationException(SR.TaskDialogCannotNavigateClosedDialog); 1613throw new InvalidOperationException(SR.TaskDialogCannotSetPropertyOfShownDialog); 1623throw new InvalidOperationException(SR.TaskDialogCanUpdateStateOnlyWhenShown); 1638SR.TaskDialogCannotUpdateAfterNavigation,
System\Windows\Forms\Dialogs\TaskDialog\TaskDialogButton.cs (1)
286throw new InvalidOperationException(SR.TaskDialogCannotSetTextForStandardButton);
System\Windows\Forms\Dialogs\TaskDialog\TaskDialogButtonCollection.cs (3)
73throw new ArgumentException(SR.TaskDialogControlAlreadyAddedToCollection); 108throw new ArgumentException(SR.TaskDialogControlAlreadyAddedToCollection); 153throw new InvalidOperationException(SR.TaskDialogControlIsPartOfOtherCollection);
System\Windows\Forms\Dialogs\TaskDialog\TaskDialogControl.cs (2)
140throw new InvalidOperationException(SR.TaskDialogControlNotBound); 148throw new InvalidOperationException(SR.TaskDialogControlNotCreated);
System\Windows\Forms\Dialogs\TaskDialog\TaskDialogFootnote.cs (1)
127throw new InvalidOperationException(SR.TaskDialogCannotUpdateIconType);
System\Windows\Forms\Dialogs\TaskDialog\TaskDialogPage.cs (13)
411throw new InvalidOperationException(SR.TaskDialogCannotUpdateIconType); 624throw new InvalidOperationException(SR.TaskDialogCannotNavigateWithoutDialog); 691throw new InvalidOperationException(SR.TaskDialogCannotSetPropertyOfBoundPage); 700SR.TaskDialogNavigationNotCompleted, 748SR.TaskDialogPageIsAlreadyBound, 759SR.TaskDialogCollectionAlreadyBound, 772SR.TaskDialogControlAlreadyBound, 784throw new InvalidOperationException(SR.TaskDialogTooManyButtonsAdded); 789throw new InvalidOperationException(SR.TaskDialogOnlySingleRadioButtonCanBeChecked); 809throw new InvalidOperationException(SR.TaskDialogCannotShowCustomButtonsAndCommandLinks); 817throw new InvalidOperationException(SR.TaskDialogButtonTextMustNotBeNull); 822throw new InvalidOperationException(SR.TaskDialogRadioButtonTextMustNotBeNull); 828throw new InvalidOperationException(SR.TaskDialogDefaultButtonMustExistInCollection);
System\Windows\Forms\Dialogs\TaskDialog\TaskDialogProgressBar.cs (1)
80SR.TaskDialogCannotRemoveProgressBarWhileDialogIsShown);
System\Windows\Forms\Dialogs\TaskDialog\TaskDialogRadioButton.cs (2)
156throw new InvalidOperationException(SR.TaskDialogCannotUncheckRadioButtonWhileBound); 207SR.TaskDialogCannotSetRadioButtonCheckedWithinCheckedChangedEvent,
System\Windows\Forms\Dialogs\TaskDialog\TaskDialogRadioButtonCollection.cs (3)
72throw new ArgumentException(SR.TaskDialogControlAlreadyAddedToCollection); 107throw new ArgumentException(SR.TaskDialogControlAlreadyAddedToCollection); 153throw new InvalidOperationException(SR.TaskDialogControlIsPartOfOtherCollection);
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (21)
103messageFormat = SR.ExDlgWarningText; 124messageFormat = SR.ExDlgSecurityErrorText; 128messageFormat = SR.ExDlgErrorText; 137messageFormat = SR.ExDlgSecurityContinueErrorText; 141messageFormat = SR.ExDlgContinueErrorText; 163string separator = SR.ExDlgMsgSeparator; 164string sectionseparator = SR.ExDlgMsgSectionSeparator; 167detailsTextBuilder.Append(SR.ExDlgMsgHeaderNonSwitchable); 171detailsTextBuilder.Append(SR.ExDlgMsgHeaderSwitchable); 174detailsTextBuilder.AppendFormat(CultureInfo.CurrentCulture, sectionseparator, SR.ExDlgMsgExceptionSection); 177detailsTextBuilder.AppendFormat(CultureInfo.CurrentCulture, sectionseparator, SR.ExDlgMsgLoadedAssembliesSection); 187SR.ExDlgMsgLoadedAssembliesEntry, 194detailsTextBuilder.AppendFormat(CultureInfo.CurrentCulture, sectionseparator, SR.ExDlgMsgJITDebuggingSection); 197detailsTextBuilder.AppendLine(SR.ExDlgMsgFooterNonSwitchable); 201detailsTextBuilder.AppendLine(SR.ExDlgMsgFooterSwitchable); 239Text = SR.ExDlgCaption; 243Text = string.Format(SR.ExDlgCaption2, activeForm.Text); 270_continueButton.Text = SR.ExDlgContinue; 274_quitButton.Text = SR.ExDlgQuit; 278_helpButton.Text = SR.ExDlgHelp; 282_detailsButton.Text = SR.ExDlgShowDetails;
System\Windows\Forms\ErrorProvider\ErrorProvider.cs (26)
22[SRDescription(nameof(SR.DescriptionErrorProvider))] 111[SRCategory(nameof(SR.CatBehavior))] 113[SRDescription(nameof(SR.ErrorProviderBlinkStyleDescr))] 164[SRCategory(nameof(SR.CatData))] 165[SRDescription(nameof(SR.ErrorProviderContainerControlDescr))] 201[SRCategory(nameof(SR.CatAppearance))] 204[SRDescription(nameof(SR.ControlRightToLeftDescr))] 220[SRCategory(nameof(SR.CatPropertyChanged))] 221[SRDescription(nameof(SR.ControlOnRightToLeftChangedDescr))] 231[SRCategory(nameof(SR.CatData))] 234[SRDescription(nameof(SR.ControlTagDescr))] 302[SRCategory(nameof(SR.CatData))] 304[SRDescription(nameof(SR.ErrorProviderDataSourceDescr))] 334[SRCategory(nameof(SR.CatData))] 336[SRDescription(nameof(SR.ErrorProviderDataMemberDescr))] 515[SRCategory(nameof(SR.CatBehavior))] 517[SRDescription(nameof(SR.ErrorProviderBlinkRateDescr))] 526throw new ArgumentOutOfRangeException(nameof(value), value, SR.BlinkRateMustBeZeroOrMore); 565[SRCategory(nameof(SR.CatAppearance))] 566[SRDescription(nameof(SR.ErrorProviderIconDescr))] 746[SRCategory(nameof(SR.CatAppearance))] 747[SRDescription(nameof(SR.ErrorProviderErrorDescr))] 755[SRCategory(nameof(SR.CatAppearance))] 756[SRDescription(nameof(SR.ErrorProviderIconAlignmentDescr))] 764[SRCategory(nameof(SR.CatAppearance))] 765[SRDescription(nameof(SR.ErrorProviderIconPaddingDescr))]
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.ErrorWindowAccessibleObject.cs (1)
108return string.IsNullOrEmpty(name) ? SR.ErrorProviderDefaultAccessibleName : name;
System\Windows\Forms\Form.ControlCollection.cs (3)
35throw new ArgumentException(SR.MDIContainerMustBeTopLevel, nameof(value)); 41throw new ArgumentException(SR.FormMDIParentAndChild, nameof(value)); 50throw new ArgumentException(SR.FormMDIParentCannotAdd, nameof(value));
System\Windows\Forms\Form.cs (156)
215[SRDescription(nameof(SR.FormAcceptButtonDescr))] 295[SRDescription(nameof(SR.FormActiveMDIChildDescr))] 350[SRDescription(nameof(SR.ControlAllowTransparencyDescr))] 386[SRCategory(nameof(SR.CatLayout))] 387[SRDescription(nameof(SR.FormAutoScaleDescr))] 511[SRCategory(nameof(SR.CatPropertyChanged))] 512[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 524[SRDescription(nameof(SR.ControlAutoSizeModeDescr))] 525[SRCategory(nameof(SR.CatLayout))] 651[SRCategory(nameof(SR.CatAppearance))] 654[SRDescription(nameof(SR.FormBorderStyleDescr))] 707[SRDescription(nameof(SR.FormCancelButtonDescr))] 737[SRCategory(nameof(SR.CatWindowStyle))] 739[SRDescription(nameof(SR.FormControlBoxDescr))] 887[SRCategory(nameof(SR.CatLayout))] 890[SRDescription(nameof(SR.FormDesktopBoundsDescr))] 910[SRCategory(nameof(SR.CatLayout))] 913[SRDescription(nameof(SR.FormDesktopLocationDescr))] 933[SRCategory(nameof(SR.CatBehavior))] 936[SRDescription(nameof(SR.FormDialogResultDescr))] 957[SRCategory(nameof(SR.CatWindowStyle))] 959[SRDescription(nameof(SR.FormHelpButtonDescr))] 984[SRCategory(nameof(SR.CatBehavior))] 985[SRDescription(nameof(SR.FormHelpButtonClickedDescr))] 997[SRCategory(nameof(SR.CatWindowStyle))] 998[SRDescription(nameof(SR.FormIconDescr))] 1062[SRCategory(nameof(SR.CatWindowStyle))] 1065[SRDescription(nameof(SR.FormIsMDIChildDescr))] 1081[SRCategory(nameof(SR.CatWindowStyle))] 1083[SRDescription(nameof(SR.FormIsMDIContainerDescr))] 1133[SRDescription(nameof(SR.FormKeyPreviewDescr))] 1168[SRCategory(nameof(SR.CatPropertyChanged))] 1169[SRDescription(nameof(SR.FormOnMaximizedBoundsChangedDescr))] 1179[SRCategory(nameof(SR.CatLayout))] 1181[SRDescription(nameof(SR.FormMaximumSizeDescr))] 1243[SRCategory(nameof(SR.CatPropertyChanged))] 1244[SRDescription(nameof(SR.FormOnMaximumSizeChangedDescr))] 1251[SRCategory(nameof(SR.CatWindowStyle))] 1253[SRDescription(nameof(SR.FormMenuStripDescr))] 1293[SRCategory(nameof(SR.CatLayout))] 1295[SRDescription(nameof(SR.FormMinimumSizeDescr))] 1374[SRCategory(nameof(SR.CatPropertyChanged))] 1375[SRDescription(nameof(SR.FormOnMinimumSizeChangedDescr))] 1386[SRCategory(nameof(SR.CatWindowStyle))] 1388[SRDescription(nameof(SR.FormMaximizeBoxDescr))] 1403[SRCategory(nameof(SR.CatWindowStyle))] 1406[SRDescription(nameof(SR.FormMDIChildrenDescr))] 1421[SRCategory(nameof(SR.CatWindowStyle))] 1423[SRDescription(nameof(SR.FormMdiChildrenMinimizedAnchorBottomDescr))] 1437[SRCategory(nameof(SR.CatWindowStyle))] 1440[SRDescription(nameof(SR.FormMDIParentDescr))] 1460throw new ArgumentException(SR.AddDifferentThreads, nameof(value)); 1477throw new ArgumentException(SR.FormMDIParentAndChild, nameof(value)); 1482throw new ArgumentException(SR.MDIParentNotContainer, nameof(value)); 1534[SRCategory(nameof(SR.CatWindowStyle))] 1536[SRDescription(nameof(SR.FormMinimizeBoxDescr))] 1550[SRCategory(nameof(SR.CatWindowStyle))] 1553[SRDescription(nameof(SR.FormModalDescr))] 1560[SRCategory(nameof(SR.CatWindowStyle))] 1562[SRDescription(nameof(SR.FormOpacityDescr))] 1609[SRCategory(nameof(SR.CatWindowStyle))] 1612[SRDescription(nameof(SR.FormOwnedFormsDescr))] 1618[SRCategory(nameof(SR.CatWindowStyle))] 1621[SRDescription(nameof(SR.FormOwnerDescr))] 1635throw new ArgumentException(SR.NonTopLevelCantHaveOwner, nameof(value)); 1685[SRCategory(nameof(SR.CatAppearance))] 1688[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 1754[SRCategory(nameof(SR.CatWindowStyle))] 1755[SRDescription(nameof(SR.FormScreenCaptureModeDescr))] 1768throw new InvalidOperationException(SR.FormScreenCaptureModeRequiresTopLevel); 1807[SRCategory(nameof(SR.CatWindowStyle))] 1808[SRDescription(nameof(SR.FormShowInTaskbarDescr))] 1832[SRCategory(nameof(SR.CatWindowStyle))] 1833[SRDescription(nameof(SR.FormShowIconDescr))] 1914[SRCategory(nameof(SR.CatWindowStyle))] 1916[SRDescription(nameof(SR.FormSizeGripStyleDescr))] 1943[SRCategory(nameof(SR.CatLayout))] 1945[SRDescription(nameof(SR.FormStartPositionDescr))] 1980[SRCategory(nameof(SR.CatBehavior))] 1985[SRDescription(nameof(SR.ControlTabStopDescr))] 2044throw new ArgumentException(SR.MDIContainerMustBeTopLevel, nameof(value)); 2056[SRCategory(nameof(SR.CatWindowStyle))] 2057[SRDescription(nameof(SR.FormTopMostDescr))] 2079[SRCategory(nameof(SR.CatWindowStyle))] 2080[SRDescription(nameof(SR.FormTransparencyKeyDescr))] 2259[SRCategory(nameof(SR.CatWindowStyle))] 2260[SRDescription(nameof(SR.FormCornerPreferenceDescr))] 2347[SRCategory(nameof(SR.CatWindowStyle))] 2348[SRDescription(nameof(SR.FormBorderColorDescr))] 2407[SRCategory(nameof(SR.CatWindowStyle))] 2408[SRDescription(nameof(SR.FormCaptionBackColorDescr))] 2468[SRCategory(nameof(SR.CatWindowStyle))] 2469[SRDescription(nameof(SR.FormCaptionTextColorDescr))] 2535[SRCategory(nameof(SR.CatLayout))] 2537[SRDescription(nameof(SR.FormWindowStateDescr))] 2607[SRCategory(nameof(SR.CatFocus))] 2608[SRDescription(nameof(SR.FormOnActivateDescr))] 2618[SRCategory(nameof(SR.CatBehavior))] 2619[SRDescription(nameof(SR.FormOnClosingDescr))] 2636[SRCategory(nameof(SR.CatBehavior))] 2637[SRDescription(nameof(SR.FormOnClosedDescr))] 2654[SRCategory(nameof(SR.CatFocus))] 2655[SRDescription(nameof(SR.FormOnDeactivateDescr))] 2665[SRCategory(nameof(SR.CatBehavior))] 2666[SRDescription(nameof(SR.FormOnFormClosingDescr))] 2676[SRCategory(nameof(SR.CatAppearance))] 2677[SRDescription(nameof(SR.FormBorderColorChangedDescr))] 2687[SRCategory(nameof(SR.CatAppearance))] 2688[SRDescription(nameof(SR.FormCaptionBackColorChangedDescr))] 2698[SRCategory(nameof(SR.CatAppearance))] 2699[SRDescription(nameof(SR.FormCaptionTextColorChangedDescr))] 2709[SRCategory(nameof(SR.CatAppearance))] 2710[SRDescription(nameof(SR.FormCornerPreferenceChangedDescr))] 2720[SRCategory(nameof(SR.CatBehavior))] 2721[SRDescription(nameof(SR.FormOnFormClosedDescr))] 2731[SRCategory(nameof(SR.CatBehavior))] 2732[SRDescription(nameof(SR.FormOnLoadDescr))] 2743[SRCategory(nameof(SR.CatLayout))] 2744[SRDescription(nameof(SR.FormOnMDIChildActivateDescr))] 2754[SRCategory(nameof(SR.CatBehavior))] 2755[SRDescription(nameof(SR.FormOnMenuCompleteDescr))] 2766[SRCategory(nameof(SR.CatBehavior))] 2767[SRDescription(nameof(SR.FormOnMenuStartDescr))] 2778[SRCategory(nameof(SR.CatBehavior))] 2779[SRDescription(nameof(SR.FormOnInputLangChangeDescr))] 2790[SRCategory(nameof(SR.CatBehavior))] 2791[SRDescription(nameof(SR.FormOnInputLangChangeRequestDescr))] 2798[SRCategory(nameof(SR.CatPropertyChanged))] 2799[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))] 2809[SRCategory(nameof(SR.CatBehavior))] 2810[SRDescription(nameof(SR.FormOnShownDescr))] 3245throw new InvalidOperationException(string.Format(SR.ClosingWhileCreatingHandle, "Close")); 4548[SRCategory(nameof(SR.CatLayout))] 4549[SRDescription(nameof(SR.FormOnDpiChangedDescr))] 5035[SRCategory(nameof(SR.CatAction))] 5036[SRDescription(nameof(SR.FormOnResizeBeginDescr))] 5046[SRCategory(nameof(SR.CatAction))] 5047[SRDescription(nameof(SR.FormOnResizeEndDescr))] 5105throw new InvalidOperationException(SR.TooManyResumeUpdateMenuHandles); 5445throw new InvalidOperationException(string.Format(SR.OwnsSelfOrOwner, nameof(Show))); 5450throw new InvalidOperationException(string.Format(SR.ShowDialogOnVisible, nameof(Show))); 5455throw new InvalidOperationException(string.Format(SR.ShowDialogOnDisabled, nameof(Show))); 5460throw new InvalidOperationException(string.Format(SR.ShowDialogOnNonTopLevel, nameof(Show))); 5465throw new InvalidOperationException(SR.CantShowModalOnNonInteractive); 5491throw new ArgumentException(string.Format(SR.OwnsSelfOrOwner, nameof(Show)), nameof(owner)); 5605throw new InvalidOperationException(SR.Form_HasAlreadyBeenShownAsync); 5619?? throw new InvalidOperationException(SR.FormOrTaskDialog_NoSyncContextForShowAsync); 5666throw new ArgumentException(string.Format(SR.OwnsSelfOrOwner, nameof(ShowDialog)), nameof(owner)); 5671throw new InvalidOperationException(string.Format(SR.ShowDialogOnVisible, nameof(ShowDialog))); 5676throw new InvalidOperationException(string.Format(SR.ShowDialogOnDisabled, nameof(ShowDialog))); 5681throw new InvalidOperationException(string.Format(SR.ShowDialogOnNonTopLevel, nameof(ShowDialog))); 5686throw new InvalidOperationException(string.Format(SR.ShowDialogOnModal, nameof(ShowDialog))); 5691throw new InvalidOperationException(SR.CantShowModalOnNonInteractive); 5745throw new ArgumentException(string.Format(SR.OwnsSelfOrOwner, nameof(ShowDialog)), nameof(owner)); 5905throw new InvalidOperationException(SR.Form_HasAlreadyBeenShownAsync); 5919?? throw new InvalidOperationException(SR.FormOrTaskDialog_NoSyncContextForShowAsync);
System\Windows\Forms\Help\Help.cs (2)
187throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(param), "Integer"), nameof(param)); 196Uri? file = Resolve(url) ?? throw new ArgumentException(string.Format(SR.HelpInvalidURL, url), nameof(url));
System\Windows\Forms\Help\HelpProvider.cs (8)
17[SRDescription(nameof(SR.DescriptionHelpProvider))] 40[SRDescription(nameof(SR.HelpProviderHelpNamespaceDescr))] 43[SRCategory(nameof(SR.CatData))] 46[SRDescription(nameof(SR.ControlTagDescr))] 62[SRDescription(nameof(SR.HelpProviderHelpKeywordDescr))] 74[SRDescription(nameof(SR.HelpProviderNavigatorDescr))] 86[SRDescription(nameof(SR.HelpProviderHelpStringDescr))] 97[SRDescription(nameof(SR.HelpProviderShowHelpDescr))]
System\Windows\Forms\ImageIndexConverter.cs (3)
53if (value is string stringValue && string.Compare(stringValue, SR.toStringNone, true, culture) == 0) 74return SR.toStringNone; 97throw new NotSupportedException(string.Format(SR.ControlNotSupportedInTrimming, nameof(ImageIndexConverter)));
System\Windows\Forms\ImageKeyConverter.cs (2)
89return SR.toStringNone; 93return SR.toStringNone;
System\Windows\Forms\Input\Cursor.cs (9)
41throw new Win32Exception(string.Format(SR.FailedToLoadCursor, Marshal.GetLastWin32Error())); 61throw new ArgumentException(string.Format(SR.InvalidGDIHandle, (typeof(Cursor)).Name), nameof(handle)); 206[SRCategory(nameof(SR.CatData))] 209[SRDescription(nameof(SR.ControlTagDescr))] 430throw new Win32Exception(string.Format(SR.FailedToLoadCursor, Marshal.GetLastWin32Error())); 435throw new ArgumentException(string.Format(SR.InvalidPictureType, nameof(picture), nameof(Cursor)), paramName); 440throw new ArgumentException(SR.InvalidPictureFormat, paramName, e); 452? new InvalidOperationException(SR.InvalidPictureFormat) 453: new FormatException(SR.CursorCannotCovertToBytes);
System\Windows\Forms\Input\CursorConverter.cs (1)
118throw new FormatException(SR.CursorCannotCovertToString);
System\Windows\Forms\Input\InputLanguage.cs (2)
50throw new ArgumentException(SR.ErrorBadInputLanguage, nameof(value)); 111return key.GetMUIString("Layout Display Name", "Layout Text") ?? SR.UnknownInputLanguageLayout;
System\Windows\Forms\Input\InputLanguageChangedEventArgs.cs (1)
20?? throw new ArgumentException(string.Format(SR.InputLanguageCultureNotFound, culture), nameof(culture));
System\Windows\Forms\Input\InputLanguageChangingEventArgs.cs (1)
21?? throw new ArgumentException(string.Format(SR.InputLanguageCultureNotFound, culture), nameof(culture));
System\Windows\Forms\Input\KeysConverter.cs (15)
40AddLocalizedKey(nameof(SR.toStringEnter), Keys.Return); 44AddLocalizedKey(nameof(SR.toStringEnd), Keys.End); 45AddLocalizedKey(nameof(SR.toStringControl), Keys.Control); 48AddLocalizedKey(nameof(SR.toStringAlt), Keys.Alt); 56AddLocalizedKey(nameof(SR.toStringPageDown), Keys.Next); 57AddLocalizedKey(nameof(SR.toStringInsert), Keys.Insert); 58AddLocalizedKey(nameof(SR.toStringHome), Keys.Home); 59AddLocalizedKey(nameof(SR.toStringDelete), Keys.Delete); 60AddLocalizedKey(nameof(SR.toStringShift), Keys.Shift); 61AddLocalizedKey(nameof(SR.toStringPageUp), Keys.Prior); 62AddLocalizedKey(nameof(SR.toStringBack), Keys.Back); 63AddLocalizedKey(nameof(SR.toStringNone), Keys.None); 90string key = SR.ResourceManager.GetString(resourceName, cultureInfo) ?? 91throw new InvalidOperationException(string.Format(SR.ResourceValueNotFound, resourceName)); 185throw new FormatException(SR.KeysConverterInvalidKeyCombination);
System\Windows\Forms\Internal\Formatter.cs (2)
422string stringResId = (value is null) ? SR.Formatter_CantConvertNull : SR.Formatter_CantConvert;
System\Windows\Forms\Internal\ItemArray.EntryEnumerator.cs (3)
41throw new InvalidOperationException(SR.ListEnumVersionMismatch); 82throw new InvalidOperationException(SR.ListEnumVersionMismatch); 97throw new InvalidOperationException(SR.ListEnumCurrentOutOfRange);
System\Windows\Forms\Internal\ReadOnlyControlCollection.cs (3)
30throw new NotSupportedException(SR.ReadonlyControlsCollection); 42throw new NotSupportedException(SR.ReadonlyControlsCollection); 54throw new NotSupportedException(SR.ReadonlyControlsCollection);
System\Windows\Forms\Internal\TypedControlCollection.cs (2)
43throw new NotSupportedException(SR.ReadonlyControlsCollection); 48throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, string.Format(SR.TypedControlCollectionShouldBeOfType, _typeOfControl.Name)), value.GetType().Name);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (16)
106[SRCategory(nameof(SR.CatLayout))] 116throw new ArgumentOutOfRangeException(nameof(value), value, SR.ContainerControlInvalidAutoScaleDimensions); 162[SRCategory(nameof(SR.CatLayout))] 163[SRDescription(nameof(SR.ContainerControlAutoScaleModeDescr))] 204[SRCategory(nameof(SR.CatBehavior))] 205[SRDescription(nameof(SR.ContainerControlAutoValidate))] 236[SRCategory(nameof(SR.CatPropertyChanged))] 237[SRDescription(nameof(SR.ContainerControlOnAutoValidateChangedDescr))] 248[SRDescription(nameof(SR.ContainerControlBindingContextDescr))] 255throw new NotSupportedException(SR.BindingNotSupported); 279[SRCategory(nameof(SR.CatBehavior))] 282[SRDescription(nameof(SR.ContainerControlActiveControlDescr))] 304[SRCategory(nameof(SR.CatLayout))] 359[SRCategory(nameof(SR.CatAppearance))] 362[SRDescription(nameof(SR.ContainerControlParentFormDescr))] 1458throw new ArgumentException(SR.CannotActivateControl, nameof(value));
System\Windows\Forms\Layout\Containers\SplitContainer.cs (48)
22[SRDescription(nameof(SR.DescriptionSplitContainer))] 115[SRCategory(nameof(SR.CatLayout))] 118[SRDescription(nameof(SR.FormAutoScrollDescr))] 164[SRCategory(nameof(SR.CatLayout))] 168[SRDescription(nameof(SR.FormAutoScrollPositionDescr))] 215[SRDescription(nameof(SR.ContainerControlBindingContextDescr))] 234[SRCategory(nameof(SR.CatAppearance))] 236[SRDescription(nameof(SR.SplitterBorderStyleDescr))] 337[SRCategory(nameof(SR.CatLayout))] 338[SRDescription(nameof(SR.SplitContainerFixedPanelDescr))] 379[SRCategory(nameof(SR.CatLayout))] 382[SRDescription(nameof(SR.SplitContainerIsSplitterFixedDescr))] 414[SRCategory(nameof(SR.CatBehavior))] 417[SRDescription(nameof(SR.SplitContainerOrientationDescr))] 475[SRCategory(nameof(SR.CatAppearance))] 476[SRDescription(nameof(SR.SplitContainerPanel1Descr))] 520[SRCategory(nameof(SR.CatLayout))] 522[SRDescription(nameof(SR.SplitContainerPanel1CollapsedDescr))] 546[SRCategory(nameof(SR.CatLayout))] 548[SRDescription(nameof(SR.SplitContainerPanel2CollapsedDescr))] 572[SRCategory(nameof(SR.CatLayout))] 575[SRDescription(nameof(SR.SplitContainerPanel1MinSizeDescr))] 596[SRCategory(nameof(SR.CatAppearance))] 597[SRDescription(nameof(SR.SplitContainerPanel2Descr))] 605[SRCategory(nameof(SR.CatLayout))] 608[SRDescription(nameof(SR.SplitContainerPanel2MinSizeDescr))] 629[SRCategory(nameof(SR.CatLayout))] 632[SRDescription(nameof(SR.SplitContainerSplitterDistanceDescr))] 664throw new InvalidOperationException(SR.SplitterDistanceNotAllowed); 685throw new InvalidOperationException(SR.SplitterDistanceNotAllowed); 738[SRCategory(nameof(SR.CatLayout))] 741[SRDescription(nameof(SR.SplitContainerSplitterIncrementDescr))] 759[SRCategory(nameof(SR.CatLayout))] 760[SRDescription(nameof(SR.SplitContainerSplitterRectangleDescr))] 776[SRCategory(nameof(SR.CatLayout))] 777[SRDescription(nameof(SR.SplitContainerSplitterWidthDescr))] 815[SRCategory(nameof(SR.CatBehavior))] 818[SRDescription(nameof(SR.ControlTabStopDescr))] 892[SRCategory(nameof(SR.CatBehavior))] 893[SRDescription(nameof(SR.SplitterSplitterMovingDescr))] 900[SRCategory(nameof(SR.CatBehavior))] 901[SRDescription(nameof(SR.SplitterSplitterMovedDescr))] 1261throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(Panel1MinSize), value)); 1268throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(Panel1MinSize), value)); 1290throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(Panel2MinSize), value.ToString())); 1297throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(Panel2MinSize), value)); 1319throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(SplitterWidth), value)); 1326throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(SplitterWidth), value));
System\Windows\Forms\Layout\Containers\SplitContainer.SplitContainerTypedControlCollection.cs (2)
26throw new NotSupportedException(SR.ReadonlyControlsCollection); 48throw new NotSupportedException(SR.ReadonlyControlsCollection);
System\Windows\Forms\Layout\LayoutEngine.cs (1)
14throw new NotSupportedException(string.Format(SR.LayoutEngineUnsupportedType, obj.GetType()));
System\Windows\Forms\Layout\TableLayout.cs (2)
259throw new ArgumentException(SR.TableLayoutPanelFullDesc); 264throw new ArgumentException(SR.TableLayoutPanelSpanDesc);
System\Windows\Forms\MDI\MDIClient.ControlCollection.cs (2)
46throw new ArgumentException(SR.MDIChildAddToNonMDIParent, nameof(value)); 51throw new ArgumentException(SR.AddDifferentThreads, nameof(value));
System\Windows\Forms\MDI\MDIClient.cs (3)
295throw new InvalidOperationException(SR.ErrorSettingWindowRegion); 300throw new InvalidOperationException(SR.ErrorSettingWindowRegion); 305throw new InvalidOperationException(SR.ErrorSettingWindowRegion);
System\Windows\Forms\MDI\MdiControlStrip.SystemMenuItem.cs (1)
13AccessibleName = SR.MDIChildSystemMenuItemAccessibleName;
System\Windows\Forms\MDI\MDIWindowDialog.cs (1)
88throw new NotSupportedException(string.Format(SR.ControlNotSupportedInTrimming, nameof(MdiWindowDialog)));
System\Windows\Forms\MDI\MdiWindowListStrip.cs (1)
141Text = SR.MDIMenuMoreWindows
System\Windows\Forms\NativeWindow.cs (5)
390throw new InvalidOperationException(SR.HandleAlreadyExists); 457throw new OutOfMemoryException(SR.ErrorCreatingHandle, e); 472throw new Win32Exception(lastWin32Error, SR.ErrorCreatingHandle); 779throw new InvalidOperationException(SR.ApplicationCannotChangeApplicationExceptionMode); 784throw new InvalidOperationException(SR.ApplicationCannotChangeThreadExceptionMode);
System\Windows\Forms\NativeWindow.WindowClass.cs (1)
147throw new Win32Exception(Marshal.GetLastWin32Error(), SR.InvalidWndClsName);
System\Windows\Forms\NotifyIcon.cs (39)
16[SRDescription(nameof(SR.DescriptionNotifyIcon))] 78[SRCategory(nameof(SR.CatAppearance))] 81[SRDescription(nameof(SR.NotifyIconBalloonTipTextDescr))] 102[SRCategory(nameof(SR.CatAppearance))] 104[SRDescription(nameof(SR.NotifyIconBalloonTipIconDescr))] 126[SRCategory(nameof(SR.CatAppearance))] 129[SRDescription(nameof(SR.NotifyIconBalloonTipTitleDescr))] 148[SRCategory(nameof(SR.CatAction))] 149[SRDescription(nameof(SR.NotifyIconOnBalloonTipClickedDescr))] 160[SRCategory(nameof(SR.CatAction))] 161[SRDescription(nameof(SR.NotifyIconOnBalloonTipClosedDescr))] 172[SRCategory(nameof(SR.CatAction))] 173[SRDescription(nameof(SR.NotifyIconOnBalloonTipShownDescr))] 181[SRCategory(nameof(SR.CatBehavior))] 182[SRDescription(nameof(SR.NotifyIconMenuDescr))] 200[SRCategory(nameof(SR.CatAppearance))] 203[SRDescription(nameof(SR.NotifyIconIconDescr))] 224[SRCategory(nameof(SR.CatAppearance))] 228[SRDescription(nameof(SR.NotifyIconTextDescr))] 244throw new ArgumentOutOfRangeException(nameof(Text), value, SR.TrayIcon_TextTooLong); 259[SRCategory(nameof(SR.CatBehavior))] 262[SRDescription(nameof(SR.NotifyIconVisDescr))] 279[SRCategory(nameof(SR.CatData))] 282[SRDescription(nameof(SR.ControlTagDescr))] 300[SRCategory(nameof(SR.CatAction))] 301[SRDescription(nameof(SR.ControlOnClickDescr))] 311[SRCategory(nameof(SR.CatAction))] 312[SRDescription(nameof(SR.ControlOnDoubleClickDescr))] 322[SRCategory(nameof(SR.CatAction))] 323[SRDescription(nameof(SR.NotifyIconMouseClickDescr))] 333[SRCategory(nameof(SR.CatAction))] 334[SRDescription(nameof(SR.NotifyIconMouseDoubleClickDescr))] 345[SRCategory(nameof(SR.CatMouse))] 346[SRDescription(nameof(SR.ControlOnMouseDownDescr))] 357[SRCategory(nameof(SR.CatMouse))] 358[SRDescription(nameof(SR.ControlOnMouseMoveDescr))] 370[SRCategory(nameof(SR.CatMouse))] 371[SRDescription(nameof(SR.ControlOnMouseUpDescr))] 551throw new ArgumentException(SR.NotifyIconEmptyOrNullTipText);
System\Windows\Forms\OLE\Clipboard.cs (3)
51throw new ExternalException(SR.ClipboardOperationFailed, (int)result); 64throw new ExternalException(SR.ClipboardOperationFailed, (int)result); 78throw new ExternalException(SR.ClipboardOperationFailed, (int)result);
System\Windows\Forms\OLE\DataObjectExtensions.cs (1)
18SR.ITypeDataObject_Not_Implemented,
System\Windows\Forms\OLE\WinFormsOleServices.cs (2)
32throw new ThreadStateException(SR.ThreadMustBeSTA); 136format = autoConvert ? DataFormatNames.Bitmap : throw new NotSupportedException(SR.DataObjectDibNotSupported);
System\Windows\Forms\Panels\FlowLayoutPanel.cs (5)
13[SRDescription(nameof(SR.DescriptionFlowLayoutPanel))] 25[SRDescription(nameof(SR.FlowPanelFlowDirectionDescr))] 27[SRCategory(nameof(SR.CatLayout))] 39[SRDescription(nameof(SR.FlowPanelWrapContentsDescr))] 41[SRCategory(nameof(SR.CatLayout))]
System\Windows\Forms\Panels\FlowLayoutSettings.cs (4)
19[SRDescription(nameof(SR.FlowPanelFlowDirectionDescr))] 21[SRCategory(nameof(SR.CatLayout))] 32[SRDescription(nameof(SR.FlowPanelWrapContentsDescr))] 34[SRCategory(nameof(SR.CatLayout))]
System\Windows\Forms\Panels\Panel.cs (7)
18[SRDescription(nameof(SR.DescriptionPanel))] 47[SRCategory(nameof(SR.CatPropertyChanged))] 48[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 60[SRDescription(nameof(SR.ControlAutoSizeModeDescr))] 61[SRCategory(nameof(SR.CatLayout))] 94[SRCategory(nameof(SR.CatAppearance))] 97[SRDescription(nameof(SR.PanelBorderStyleDescr))]
System\Windows\Forms\Panels\SplitterPanel.cs (6)
118[SRCategory(nameof(SR.CatLayout))] 122[SRDescription(nameof(SR.ControlHeightDescr))] 126set => throw new NotSupportedException(SR.SplitContainerPanelHeight); 269[SRCategory(nameof(SR.CatLayout))] 273[SRDescription(nameof(SR.ControlWidthDescr))] 277set => throw new NotSupportedException(SR.SplitContainerPanelWidth);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (27)
21[SRDescription(nameof(SR.DescriptionTableLayoutPanel))] 55throw new NotSupportedException(SR.TableLayoutSettingSettingsIsNotSupported); 74[SRCategory(nameof(SR.CatAppearance))] 75[SRDescription(nameof(SR.TableLayoutPanelCellBorderStyleDescr))] 99[SRDescription(nameof(SR.ControlControlsDescr))] 107[SRDescription(nameof(SR.GridPanelColumnsDescr))] 108[SRCategory(nameof(SR.CatLayout))] 126[SRDescription(nameof(SR.TableLayoutPanelGrowStyleDescr))] 127[SRCategory(nameof(SR.CatLayout))] 140[SRDescription(nameof(SR.GridPanelRowsDescr))] 141[SRCategory(nameof(SR.CatLayout))] 150[SRDescription(nameof(SR.GridPanelRowStylesDescr))] 152[SRCategory(nameof(SR.CatLayout))] 158[SRDescription(nameof(SR.GridPanelColumnStylesDescr))] 160[SRCategory(nameof(SR.CatLayout))] 179[SRDescription(nameof(SR.GridPanelGetColumnSpanDescr))] 181[SRCategory(nameof(SR.CatLayout))] 193[SRDescription(nameof(SR.GridPanelGetRowSpanDescr))] 195[SRCategory(nameof(SR.CatLayout))] 208[SRDescription(nameof(SR.GridPanelRowDescr))] 209[SRCategory(nameof(SR.CatLayout))] 223[SRDescription(nameof(SR.GridPanelCellPositionDescr))] 224[SRCategory(nameof(SR.CatLayout))] 236[SRDescription(nameof(SR.GridPanelColumnDescr))] 237[SRCategory(nameof(SR.CatLayout))] 306[SRCategory(nameof(SR.CatAppearance))] 307[SRDescription(nameof(SR.TableLayoutPanelOnPaintCellDescr))]
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPositionTypeConverter.cs (3)
52SR.TextParseFailedFormat, 88throw new ArgumentException(SR.PropertyValueInvalidEntry, nameof(propertyValues), invalidCast); 92throw new ArgumentException(SR.PropertyValueInvalidEntry, nameof(propertyValues), nullRef);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (20)
64[SRCategory(nameof(SR.CatAppearance))] 65[SRDescription(nameof(SR.TableLayoutPanelCellBorderStyleDescr))] 90[SRDescription(nameof(SR.GridPanelColumnsDescr))] 91[SRCategory(nameof(SR.CatLayout))] 116[SRDescription(nameof(SR.GridPanelRowsDescr))] 117[SRCategory(nameof(SR.CatLayout))] 137[SRDescription(nameof(SR.GridPanelRowStylesDescr))] 139[SRCategory(nameof(SR.CatLayout))] 156[SRDescription(nameof(SR.GridPanelColumnStylesDescr))] 158[SRCategory(nameof(SR.CatLayout))] 180[SRDescription(nameof(SR.TableLayoutPanelGrowStyleDescr))] 181[SRCategory(nameof(SR.CatLayout))] 313[SRDescription(nameof(SR.GridPanelRowDescr))] 314[SRCategory(nameof(SR.CatLayout))] 348[SRDescription(nameof(SR.TableLayoutSettingsGetCellPositionDescr))] 349[SRCategory(nameof(SR.CatLayout))] 361[SRDescription(nameof(SR.TableLayoutSettingsSetCellPositionDescr))] 362[SRCategory(nameof(SR.CatLayout))] 374[SRDescription(nameof(SR.GridPanelColumnDescr))] 375[SRCategory(nameof(SR.CatLayout))]
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (1)
78throw new InvalidOperationException(SR.TableLayoutSettingsConverterNoName);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutStyleCollection.cs (5)
33throw new ArgumentException(string.Format(SR.InvalidArgumentType, nameof(style), typeof(TableLayoutStyle)), nameof(style)); 48throw new ArgumentException(string.Format(SR.InvalidArgumentType, nameof(style), typeof(TableLayoutStyle)), nameof(style)); 65throw new ArgumentException(string.Format(SR.InvalidArgumentType, nameof(value), typeof(TableLayoutStyle)), nameof(value)); 90throw new ArgumentException(string.Format(SR.InvalidArgumentType, nameof(style), typeof(TableLayoutStyle)), nameof(style)); 143throw new ArgumentException(string.Format(SR.OnlyOneControl, style.GetType().Name), nameof(style));
System\Windows\Forms\Printing\PageSetupDialog.cs (23)
16[SRDescription(nameof(SR.DescriptionPageSetupDialog))] 34[SRCategory(nameof(SR.CatBehavior))] 36[SRDescription(nameof(SR.PSDallowMarginsDescr))] 43[SRCategory(nameof(SR.CatBehavior))] 45[SRDescription(nameof(SR.PSDallowOrientationDescr))] 52[SRCategory(nameof(SR.CatBehavior))] 54[SRDescription(nameof(SR.PSDallowPaperDescr))] 60[SRCategory(nameof(SR.CatBehavior))] 62[SRDescription(nameof(SR.PSDallowPrinterDescr))] 68[SRCategory(nameof(SR.CatData))] 70[SRDescription(nameof(SR.PDdocumentDescr))] 90[SRDescription(nameof(SR.PSDenableMetricDescr))] 99[SRCategory(nameof(SR.CatData))] 100[SRDescription(nameof(SR.PSDminMarginsDescr))] 110[SRCategory(nameof(SR.CatData))] 114[SRDescription(nameof(SR.PSDpageSettingsDescr))] 128[SRCategory(nameof(SR.CatData))] 132[SRDescription(nameof(SR.PSDprinterSettingsDescr))] 146[SRCategory(nameof(SR.CatBehavior))] 148[SRDescription(nameof(SR.PSDshowHelpDescr))] 154[SRCategory(nameof(SR.CatBehavior))] 156[SRDescription(nameof(SR.PSDshowNetworkDescr))] 268throw new ArgumentException(SR.PSDcantShowWithoutPage);
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.BackgroundThread.cs (1)
91SR.PrintControllerWithStatusDialog_NowPrinting,
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.cs (1)
18: this(underlyingController, SR.PrintControllerWithStatusDialog_DialogTitlePrint)
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (3)
29if (SR.RTL != "RTL_False") 49Text = SR.PrintControllerWithStatusDialog_Cancel, 87_messageLabel.Text = SR.PrintControllerWithStatusDialog_Canceling;
System\Windows\Forms\Printing\PrintDialog.cs (25)
15[SRDescription(nameof(SR.DescriptionPrintDialog))] 39[SRDescription(nameof(SR.PDallowCurrentPageDescr))] 45[SRCategory(nameof(SR.CatBehavior))] 47[SRDescription(nameof(SR.PDallowPagesDescr))] 53[SRCategory(nameof(SR.CatBehavior))] 55[SRDescription(nameof(SR.PDallowPrintToFileDescr))] 61[SRCategory(nameof(SR.CatBehavior))] 63[SRDescription(nameof(SR.PDallowSelectionDescr))] 70[SRCategory(nameof(SR.CatData))] 72[SRDescription(nameof(SR.PDdocumentDescr))] 90[SRCategory(nameof(SR.CatData))] 94[SRDescription(nameof(SR.PDprinterSettingsDescr))] 112[SRCategory(nameof(SR.CatBehavior))] 114[SRDescription(nameof(SR.PDprintToFileDescr))] 120[SRCategory(nameof(SR.CatBehavior))] 122[SRDescription(nameof(SR.PDshowHelpDescr))] 128[SRCategory(nameof(SR.CatBehavior))] 130[SRDescription(nameof(SR.PDshowNetworkDescr))] 144[SRDescription(nameof(SR.PDuseEXDialog))] 275throw new ArgumentException(string.Format(SR.PDpageOutOfRange, "FromPage")); 281throw new ArgumentException(string.Format(SR.PDpageOutOfRange, "ToPage")); 286throw new ArgumentException(string.Format(SR.PDpageOutOfRange, "FromPage")); 389throw new ArgumentException(string.Format(SR.PDpageOutOfRange, "FromPage")); 395throw new ArgumentException(string.Format(SR.PDpageOutOfRange, "ToPage")); 400throw new ArgumentException(string.Format(SR.PDpageOutOfRange, "FromPage"));
System\Windows\Forms\Printing\PrintPreviewControl.cs (29)
17[SRDescription(nameof(SR.DescriptionPrintPreviewControl))] 67AccessibleName = SR.HScrollBarDefaultAccessibleName, 81AccessibleName = SR.VScrollBarDefaultAccessibleName, 96[SRCategory(nameof(SR.CatBehavior))] 98[SRDescription(nameof(SR.PrintPreviewAntiAliasDescr))] 108[SRCategory(nameof(SR.CatBehavior))] 110[SRDescription(nameof(SR.PrintPreviewAutoZoomDescr))] 127[SRCategory(nameof(SR.CatBehavior))] 128[SRDescription(nameof(SR.PrintPreviewZoomDescr))] 137throw new ArgumentException(SR.PrintPreviewControlZoomNegative); 149[SRCategory(nameof(SR.CatBehavior))] 151[SRDescription(nameof(SR.PrintPreviewDocumentDescr))] 166[SRDescription(nameof(SR.PrintPreviewRowsDescr))] 167[SRCategory(nameof(SR.CatBehavior))] 184[SRCategory(nameof(SR.CatLayout))] 185[SRDescription(nameof(SR.PrintPreviewColumnsDescr))] 202[SRDescription(nameof(SR.PrintPreviewStartPageDescr))] 203[SRCategory(nameof(SR.CatBehavior))] 232[SRCategory(nameof(SR.CatPropertyChanged))] 233[SRDescription(nameof(SR.RadioButtonOnStartPageChangedDescr))] 251[SRCategory(nameof(SR.CatAppearance))] 254[SRDescription(nameof(SR.ControlRightToLeftDescr))] 382[SRCategory(nameof(SR.CatLayout))] 386[SRDescription(nameof(SR.ControlWithScrollbarsVirtualSizeDescr))] 400[SRCategory(nameof(SR.CatLayout))] 403[SRDescription(nameof(SR.ControlWithScrollbarsPositionDescr))] 516SR.PrintControllerWithStatusDialog_DialogTitlePreview); 609string message = isExceptionPrinting ? SR.PrintPreviewExceptionPrinting : SR.PrintPreviewNoPages;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (8)
18[SRDescription(nameof(SR.DescriptionPrintPreviewDialog))] 655[SRCategory(nameof(SR.CatBehavior))] 657[SRDescription(nameof(SR.PrintPreviewAntiAliasDescr))] 681[SRCategory(nameof(SR.CatBehavior))] 683[SRDescription(nameof(SR.PrintPreviewDocumentDescr))] 702[SRCategory(nameof(SR.CatBehavior))] 703[SRDescription(nameof(SR.PrintPreviewPrintPreviewControlDescr))] 1061internal override bool ShouldSerializeText() => !Text.Equals(SR.PrintPreviewDialog_PrintPreview);
System\Windows\Forms\Rendering\GdiCache.cs (1)
73throw new InvalidOperationException(string.Format(SR.InvalidHdcType, type));
System\Windows\Forms\Rendering\TextRenderer.cs (1)
374throw new ArgumentOutOfRangeException(nameof(flags), SR.TextFormatFlagsModifyStringNotAllowed);
System\Windows\Forms\Scrolling\HScrollBar.cs (1)
10[SRDescription(nameof(SR.DescriptionHScrollBar))]
System\Windows\Forms\Scrolling\ScrollableControl.cs (16)
69[SRCategory(nameof(SR.CatLayout))] 72[SRDescription(nameof(SR.FormAutoScrollDescr))] 91[SRCategory(nameof(SR.CatLayout))] 93[SRDescription(nameof(SR.FormAutoScrollMarginDescr))] 101throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(AutoScrollMargin), value)); 111[SRCategory(nameof(SR.CatLayout))] 114[SRDescription(nameof(SR.FormAutoScrollPositionDescr))] 132[SRCategory(nameof(SR.CatLayout))] 134[SRDescription(nameof(SR.FormAutoScrollMinSizeDescr))] 241[SRCategory(nameof(SR.CatLayout))] 242[SRDescription(nameof(SR.ScrollableControlHorizontalScrollDescr))] 259[SRCategory(nameof(SR.CatLayout))] 260[SRDescription(nameof(SR.ScrollableControlVerticalScrollDescr))] 857throw new InvalidOperationException(SR.ScrollableControlActiveControlParentNull); 911[SRCategory(nameof(SR.CatAction))] 912[SRDescription(nameof(SR.ScrollBarOnScrollDescr))]
System\Windows\Forms\Scrolling\ScrollableControl.DockPaddingEdgesConverter.cs (5)
43[SRDescription(nameof(SR.PaddingAllDescr))] 97[SRDescription(nameof(SR.PaddingBottomDescr))] 120[SRDescription(nameof(SR.PaddingLeftDescr))] 143[SRDescription(nameof(SR.PaddingRightDescr))] 166[SRDescription(nameof(SR.PaddingTopDescr))]
System\Windows\Forms\Scrolling\ScrollBar.cs (17)
197[SRCategory(nameof(SR.CatBehavior))] 199[SRDescription(nameof(SR.ScrollBarLargeChangeDescr))] 226[SRCategory(nameof(SR.CatBehavior))] 228[SRDescription(nameof(SR.ScrollBarMaximumDescr))] 256[SRCategory(nameof(SR.CatBehavior))] 258[SRDescription(nameof(SR.ScrollBarMinimumDescr))] 287[SRCategory(nameof(SR.CatBehavior))] 289[SRDescription(nameof(SR.ScrollBarSmallChangeDescr))] 343[SRCategory(nameof(SR.CatBehavior))] 346[SRDescription(nameof(SR.ScrollBarValueDescr))] 356throw new ArgumentOutOfRangeException(nameof(value), string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(Minimum)}'", $"'{nameof(Maximum)}'")); 374[SRCategory(nameof(SR.CatBehavior))] 378[SRDescription(nameof(SR.ControlDpiChangeScale))] 448[SRCategory(nameof(SR.CatAction))] 449[SRDescription(nameof(SR.ScrollBarOnScrollDescr))] 461[SRCategory(nameof(SR.CatAction))] 462[SRDescription(nameof(SR.valueChangedEventDescr))]
System\Windows\Forms\Scrolling\ScrollProperties.cs (15)
38[SRCategory(nameof(SR.CatBehavior))] 40[SRDescription(nameof(SR.ScrollBarEnableDescr))] 69[SRCategory(nameof(SR.CatBehavior))] 71[SRDescription(nameof(SR.ScrollBarLargeChangeDescr))] 99[SRCategory(nameof(SR.CatBehavior))] 101[SRDescription(nameof(SR.ScrollBarMaximumDescr))] 135[SRCategory(nameof(SR.CatBehavior))] 137[SRDescription(nameof(SR.ScrollBarMinimumDescr))] 181[SRCategory(nameof(SR.CatBehavior))] 183[SRDescription(nameof(SR.ScrollBarSmallChangeDescr))] 210[SRCategory(nameof(SR.CatBehavior))] 213[SRDescription(nameof(SR.ScrollBarValueDescr))] 223throw new ArgumentOutOfRangeException(nameof(value), string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(Minimum)}'", $"'{nameof(Maximum)}'")); 236[SRCategory(nameof(SR.CatBehavior))] 238[SRDescription(nameof(SR.ScrollBarVisibleDescr))]
System\Windows\Forms\Scrolling\VScrollBar.cs (1)
12[SRDescription(nameof(SR.DescriptionVScrollBar))]
System\Windows\Forms\SendKeys\SendKeys.cs (14)
232throw new SecurityException(SR.SendKeysHookFailed); 406throw new ArgumentException(string.Format(SR.InvalidSendKeysString, keys)); 440throw new ArgumentException(SR.SendKeysKeywordDelimError); 457throw new ArgumentException(SR.SendKeysKeywordDelimError); 474throw new ArgumentException(SR.SendKeysKeywordDelimError); 479throw new ArgumentException(SR.InvalidSendKeysRepeat); 516throw new ArgumentException(string.Format(SR.InvalidSendKeysKeyword, keys[(i + 1)..j])); 526throw new ArgumentException(string.Format(SR.InvalidSendKeysString, keys)); 537throw new ArgumentException(string.Format(SR.InvalidSendKeysString, keys)); 548throw new ArgumentException(string.Format(SR.InvalidSendKeysString, keys)); 567throw new ArgumentException(SR.SendKeysNestingError); 590throw new ArgumentException(string.Format(SR.InvalidSendKeysString, keys)); 618throw new ArgumentException(SR.SendKeysGroupDelimError); 912throw new InvalidOperationException(SR.SendKeysNoMessageLoop);
System\Windows\Forms\Timer.cs (10)
16[SRDescription(nameof(SR.DescriptionTimer))] 49[SRCategory(nameof(SR.CatData))] 52[SRDescription(nameof(SR.ControlTagDescr))] 60[SRCategory(nameof(SR.CatBehavior))] 61[SRDescription(nameof(SR.TimerTimerDescr))] 86[SRCategory(nameof(SR.CatBehavior))] 88[SRDescription(nameof(SR.TimerEnabledDescr))] 132[SRCategory(nameof(SR.CatBehavior))] 134[SRDescription(nameof(SR.TimerIntervalDescr))] 144throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.TimerInvalidInterval, value, 0));
System\Windows\Forms\ToolTip\ToolTip.cs (26)
16[SRDescription(nameof(SR.DescriptionToolTip))] 103[SRDescription(nameof(SR.ToolTipActiveDescr))] 136[SRDescription(nameof(SR.ToolTipAutomaticDelayDescr))] 158[SRDescription(nameof(SR.ToolTipAutoPopDelayDescr))] 173[SRDescription(nameof(SR.ToolTipBackColorDescr))] 237[SRDescription(nameof(SR.ToolTipForeColorDescr))] 246throw new ArgumentException(string.Format(SR.ToolTipEmptyColor, nameof(ForeColor)), nameof(value)); 282[SRDescription(nameof(SR.ToolTipIsBalloonDescr))] 329[SRDescription(nameof(SR.ToolTipInitialDelayDescr))] 344[SRCategory(nameof(SR.CatBehavior))] 346[SRDescription(nameof(SR.ToolTipOwnerDrawDescr))] 354[SRDescription(nameof(SR.ToolTipReshowDelayDescr))] 371[SRDescription(nameof(SR.ToolTipShowAlwaysDescr))] 391[SRDescription(nameof(SR.ToolTipStripAmpersandsDescr))] 410[SRCategory(nameof(SR.CatData))] 413[SRDescription(nameof(SR.ControlTagDescr))] 422[SRDescription(nameof(SR.ToolTipToolTipIconDescr))] 451[SRDescription(nameof(SR.ToolTipTitleDescr))] 540[SRDescription(nameof(SR.ToolTipUseAnimationDescr))] 562[SRDescription(nameof(SR.ToolTipUseFadingDescr))] 584[SRCategory(nameof(SR.CatBehavior))] 585[SRDescription(nameof(SR.ToolTipDrawEventDescr))] 595[SRCategory(nameof(SR.CatBehavior))] 596[SRDescription(nameof(SR.ToolTipPopupEventDescr))] 839throw new InvalidOperationException(SR.ToolTipAddFailed); 1010[SRDescription(nameof(SR.ToolTipToolTipDescr))]
System\Windows\Forms\UserControl.cs (6)
63[SRDescription(nameof(SR.ControlAutoSizeModeDescr))] 64[SRCategory(nameof(SR.CatLayout))] 122[SRCategory(nameof(SR.CatAppearance))] 124[SRDescription(nameof(SR.UserControlBorderStyleDescr))] 191[SRCategory(nameof(SR.CatBehavior))] 192[SRDescription(nameof(SR.UserControlOnLoadDescr))]
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (8)
90? SR.VisualStylesDisabledInClientArea 91: SR.VisualStyleNotActive); 139throw new ArgumentException(SR.VisualStylesInvalidCombination); 175? SR.VisualStylesDisabledInClientArea 176: SR.VisualStyleNotActive) 201throw new ArgumentException(SR.VisualStylesInvalidCombination); 868return htheme.IsNull ? throw new InvalidOperationException(SR.VisualStyleHandleCreationFailed) : htheme; 892? throwExceptionOnFail ? throw new InvalidOperationException(SR.VisualStyleHandleCreationFailed) : null
System\Windows\Forms\WinCategoryAttribute.cs (1)
44resourceObject = SR.ResourceManager.GetObject(name);
System\Windows\Forms\WindowsFormsSynchronizationContext.cs (1)
83throw new InvalidAsynchronousStateException(SR.ThreadNoLongerValid);
System\Windows\Forms\WindowSubclassHandler.cs (1)
198throw new InvalidOperationException(SR.WindowSubclassHandlerWndProcIsNotExceptedOne);
System.Windows.Forms.Tests (144)
BindingNavigatorTests.cs (9)
64Assert.Equal(SR.BindingNavigatorCountItemTip, bn.CountItem.ToolTipText); 65Assert.Equal(SR.BindingNavigatorPositionItemTip, bn.PositionItem.ToolTipText); 68Assert.Equal(SR.BindingNavigatorPositionAccessibleName, bn.PositionItem.AccessibleName); 92SR.BindingNavigatorMoveFirstItemText, 93SR.BindingNavigatorMovePreviousItemText, 94SR.BindingNavigatorMoveNextItemText, 95SR.BindingNavigatorMoveLastItemText, 96SR.BindingNavigatorAddNewItemText, 97SR.BindingNavigatorDeleteItemText
ResourceStrings.cs (4)
14PlaceholdersPattern().Replace(SR.ClipboardOrDragDrop_InvalidFormatTypeCombination, "*"); 15internal static string TypeRequiresResolver => PlaceholdersPattern().Replace(SR.ClipboardOrDragDrop_InvalidType, "*"); 16internal static string UseTryGetDataWithResolver => PlaceholdersPattern().Replace(SR.ClipboardOrDragDrop_UseTypedAPI, "*"); 17internal static string TypedInterfaceNotImplemented => PlaceholdersPattern().Replace(SR.ITypeDataObject_Not_Implemented, "*");
SRCategoryAttributeTests.cs (2)
14SRCategoryAttribute srCategoryAttribute = new(nameof(SR.CatAccessibility)); 15Assert.Equal(SR.CatAccessibility, srCategoryAttribute.Category);
SRDescriptionAttributeTests.cs (3)
14SRDescriptionAttribute srDescriptionAttribute = new(nameof(SR.AboutBoxDesc)); 15Assert.Equal(SR.AboutBoxDesc, srDescriptionAttribute.Description); 18Assert.Equal(SR.AboutBoxDesc, srDescriptionAttribute.Description);
System\Windows\Forms\AccessibleObjects\CategoryGridEntryAccessibleObjectTests.cs (1)
157string expected = SR.CategoryPropertyGridLocalizedControlType;
System\Windows\Forms\AccessibleObjects\CheckedListBoxItemAccessibleObjectTests.cs (2)
178yield return new object[] { true, SR.AccessibleActionUncheck }; 179yield return new object[] { false, SR.AccessibleActionCheck };
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxAccessibleObjectTests.cs (4)
338yield return new object[] { ComboBoxStyle.DropDown, false, SR.AccessibleActionExpand }; 339yield return new object[] { ComboBoxStyle.DropDown, true, SR.AccessibleActionCollapse }; 340yield return new object[] { ComboBoxStyle.DropDownList, false, SR.AccessibleActionExpand }; 341yield return new object[] { ComboBoxStyle.DropDownList, true, SR.AccessibleActionCollapse };
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (2)
1357{ typeof(DataGridViewTextBoxEditingControl), SR.DataGridView_AccEditingControlAccName }, 1359{ typeof(PrintPreviewDialog), SR.PrintPreviewDialog_PrintPreview },
System\Windows\Forms\AccessibleObjects\DataGridView.DataGridViewEditingPanelAccessibleObjectTests.cs (2)
119Assert.Equal(SR.DataGridView_AccEditingPanelAccName, ((BSTR)editingPanel.AccessibilityObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_NamePropertyId)).ToStringAndFree()); 120Assert.Equal(SR.DataGridView_AccEditingPanelAccName, ((BSTR)editingPanel.AccessibilityObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_LegacyIAccessibleNamePropertyId)).ToStringAndFree());
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (2)
71Assert.Equal(SR.NotSortedAccessibleStatus, itemStatus); 1675Assert.Equal(SR.NotSortedAccessibleStatus, ((BSTR)actual).ToStringAndFree());
System\Windows\Forms\AccessibleObjects\DataGridViewButtonCellAccessibleObjectTests.cs (2)
24Assert.Equal(SR.DataGridView_AccButtonCellDefaultAction, accessibleObject.DefaultAction); 31Assert.Equal(SR.DataGridView_AccButtonCellDefaultAction, ((BSTR)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_LegacyIAccessibleDefaultActionPropertyId)).ToStringAndFree());
System\Windows\Forms\AccessibleObjects\DataGridViewCellAccessibleObjectTests.cs (5)
221string expected = string.Format(SR.DataGridView_AccDataGridViewCellName, cell.OwningColumn.HeaderText, -1); 238string expected = string.Format(SR.DataGridView_AccDataGridViewCellName, column.HeaderText, 3); 257string expected = string.Format(SR.DataGridView_AccDataGridViewCellName, column.HeaderText, 2); 277string expected = string.Format(SR.DataGridView_AccDataGridViewCellName, column.HeaderText, 1); 1485Assert.Equal($"{string.Format(SR.DataGridView_AccRowName, expectedIndex)}, Not sorted.", dataGridView.Rows[0].Cells[0].AccessibilityObject.Name);
System\Windows\Forms\AccessibleObjects\DataGridViewCheckBoxCellAccessibleObjectTests.cs (4)
125yield return new object[] { false, SR.DataGridView_AccCheckBoxCellDefaultActionCheck }; 126yield return new object[] { true, SR.DataGridView_AccCheckBoxCellDefaultActionUncheck }; 144Assert.Equal(SR.DataGridView_AccCheckBoxCellDefaultActionCheck, accessibleObject.DefaultAction); 168Assert.Equal(SR.DataGridView_AccCheckBoxCellDefaultActionCheck, ((BSTR)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_LegacyIAccessibleDefaultActionPropertyId)).ToStringAndFree());
System\Windows\Forms\AccessibleObjects\DataGridViewColumnHeaderCellAccessibleObjectTests.cs (2)
107Assert.Equal(SR.DataGridView_AccColumnHeaderCellDefaultAction, accessibleObject.DefaultAction); 120Assert.Equal(SR.DataGridView_AccColumnHeaderCellDefaultAction, ((BSTR)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_LegacyIAccessibleDefaultActionPropertyId)).ToStringAndFree());
System\Windows\Forms\AccessibleObjects\DataGridViewLinkCellAccessibleObjectTests.cs (1)
26Assert.Equal(SR.DataGridView_AccLinkCellDefaultAction, accessibleObject.DefaultAction);
System\Windows\Forms\AccessibleObjects\DataGridViewRowAccessibleObjectTests.cs (14)
73Assert.Equal(string.Format(SR.DataGridView_AccRowName, -1), accessibilityObject.Name); 90Assert.Equal(string.Format(SR.DataGridView_AccRowName, 1), accessibleObject1.Name); 91Assert.Equal(string.Format(SR.DataGridView_AccRowName, 2), accessibleObject2.Name); 92Assert.Equal(string.Format(SR.DataGridView_AccRowName, 3), accessibleObject3.Name); 111Assert.Equal(string.Format(SR.DataGridView_AccRowName, -1), accessibleObject1.Name); 112Assert.Equal(string.Format(SR.DataGridView_AccRowName, 1), accessibleObject2.Name); 113Assert.Equal(string.Format(SR.DataGridView_AccRowName, 2), accessibleObject3.Name); 132Assert.Equal(string.Format(SR.DataGridView_AccRowName, 1), accessibleObject1.Name); 133Assert.Equal(string.Format(SR.DataGridView_AccRowName, -1), accessibleObject2.Name); 134Assert.Equal(string.Format(SR.DataGridView_AccRowName, 2), accessibleObject3.Name); 153Assert.Equal(string.Format(SR.DataGridView_AccRowName, 1), accessibleObject1.Name); 154Assert.Equal(string.Format(SR.DataGridView_AccRowName, 2), accessibleObject2.Name); 155Assert.Equal(string.Format(SR.DataGridView_AccRowName, -1), accessibleObject3.Name); 2401Assert.Equal(string.Format(SR.DataGridView_AccRowName, expectedIndex), dataGridView.Rows[0].AccessibilityObject.Name);
System\Windows\Forms\AccessibleObjects\DataGridViewRowHeaderCellAccessibleObjectTests.cs (2)
66yield return new object[] { DataGridViewSelectionMode.FullRowSelect, SR.DataGridView_RowHeaderCellAccDefaultAction }; 67yield return new object[] { DataGridViewSelectionMode.RowHeaderSelect, SR.DataGridView_RowHeaderCellAccDefaultAction };
System\Windows\Forms\AccessibleObjects\DataGridViewSelectedCellsAccessibleObjectTests.cs (2)
31Assert.Equal(SR.DataGridView_AccSelectedCellsName, accessibleObject.Name); 41Assert.Equal(SR.DataGridView_AccSelectedCellsName, accessibleObject.Value);
System\Windows\Forms\AccessibleObjects\DataGridViewSelectedRowCellsAccessibleObjectTests.cs (2)
31Assert.Equal(SR.DataGridView_AccSelectedRowCellsName, accessibleObject.Name); 41Assert.Equal(SR.DataGridView_AccSelectedRowCellsName, accessibleObject.Value);
System\Windows\Forms\AccessibleObjects\DataGridViewTopLeftHeaderCellAccessibleObjectTests.cs (7)
63{ true, SR.DataGridView_AccTopLeftColumnHeaderCellDefaultAction }, 87action.Should().Throw<InvalidOperationException>().WithMessage(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 96action.Should().Throw<InvalidOperationException>().WithMessage(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 146{ RightToLeft.No, null, SR.DataGridView_AccTopLeftColumnHeaderCellName }, 147{ RightToLeft.Yes, null, SR.DataGridView_AccTopLeftColumnHeaderCellNameRTL }, 173action.Should().Throw<InvalidOperationException>().WithMessage(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 195action.Should().Throw<InvalidOperationException>().WithMessage(SR.DataGridViewCellAccessibleObject_OwnerNotSet);
System\Windows\Forms\AccessibleObjects\DataGridViewTopRowAccessibleObjectTests.cs (2)
1244Assert.Equal(SR.DataGridView_AccTopRow, ((BSTR)topRowAccessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_NamePropertyId)).ToStringAndFree()); 1245Assert.Equal(SR.DataGridView_AccTopRow, ((BSTR)topRowAccessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_LegacyIAccessibleNamePropertyId)).ToStringAndFree());
System\Windows\Forms\AccessibleObjects\DateTimePicker.DateTimePickerAccessibleObjectTests.cs (3)
56string expected = SR.DateTimePickerLocalizedControlType; 301yield return new object[] { true, SR.AccessibleActionCollapse }; 302yield return new object[] { false, SR.AccessibleActionExpand };
System\Windows\Forms\AccessibleObjects\ErrorProvider.ErrorWindow.ErrorWindowAccessibleObjectTests.cs (1)
156Assert.Equal(SR.ErrorProviderDefaultAccessibleName, accessibleObject.Name);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemBaseAccessibleObjectTests.cs (4)
39Assert.Equal(SR.AccessibleActionDoubleClick, item.AccessibilityObject.DefaultAction); 275Assert.Equal(SR.AccessibleActionDoubleClick, ((BSTR)item.AccessibilityObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_LegacyIAccessibleDefaultActionPropertyId)).ToStringAndFree()); 328Assert.Equal(itemIsChecked ? SR.AccessibleActionUncheck : SR.AccessibleActionCheck, itemAccessibleObject.DefaultAction);
System\Windows\Forms\AccessibleObjects\MaskedTextBox.MaskedTextBoxAccessibleObjectTests.cs (1)
140Assert.Equal(SR.AccessDenied, actual);
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarButtonAccessibleObjectTests.cs (2)
34Assert.Equal(SR.AccessibleActionClick, buttonAccessibleObject.DefaultAction); 45Assert.Equal(SR.AccessibleActionClick, ((BSTR)buttonAccessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_LegacyIAccessibleDefaultActionPropertyId)).ToStringAndFree());
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarNextButtonAccessibleObjectTests.cs (2)
23nextButtonAccessibleObject.Description.Should().Be(SR.CalendarNextButtonAccessibleObjectDescription); 25nextButtonAccessibleObject.Name.Should().Be(SR.MonthCalendarNextButtonAccessibleName);
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarPreviousButtonAccessibleObjectTests.cs (2)
35Assert.Equal(SR.CalendarPreviousButtonAccessibleObjectDescription, actual); 61Assert.Equal(SR.MonthCalendarPreviousButtonAccessibleName, actual);
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarTodayLinkAccessibleObjectTests.cs (2)
39Assert.Equal(SR.CalendarTodayLinkAccessibleObjectDescription, actual); 81string expected = string.Format(SR.MonthCalendarTodayButtonAccessibleName,
System\Windows\Forms\AccessibleObjects\PropertyGridView.PropertyGridViewAccessibleObjectTests.cs (2)
326Assert.Equal(SR.PropertyGridEntryValuesListDefaultAccessibleName, listAccessibleName); 338Assert.Equal(SR.PropertyGridEntryValuesListDefaultAccessibleName, listAccessibleName);
System\Windows\Forms\AccessibleObjects\TextBoxAccessibleObjectTests.cs (1)
104Assert.Equal(SR.AccessDenied, actual);
System\Windows\Forms\AccessibleObjects\ToolStripScrollButton.ToolStripScrollButtonAccessibleObjectTests.cs (3)
147string expectedUpButtonName = SR.ToolStripScrollButtonUpAccessibleName; 148string expectedDownButtonName = SR.ToolStripScrollButtonDownAccessibleName; 149string expectedDefaultAction = SR.AccessibleActionPress;
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarFirstButtonAccessibleObjectTests.cs (5)
54Assert.Equal(SR.AccessibleActionPress, accessibleObject.DefaultAction); 98Assert.Equal(SR.TrackBarLargeDecreaseButtonName, accessibleObject.Name); 132Assert.Equal(SR.TrackBarLargeIncreaseButtonName, accessibleObject.Name); 411accessibleObject.Name.Should().Be(SR.TrackBarLargeDecreaseButtonName); 425accessibleObject.Name.Should().Be(SR.TrackBarLargeIncreaseButtonName);
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarLastButtonAccessibleObjectTests.cs (3)
54Assert.Equal(SR.AccessibleActionPress, accessibleObject.DefaultAction); 98Assert.Equal(SR.TrackBarLargeIncreaseButtonName, accessibleObject.Name); 132Assert.Equal(SR.TrackBarLargeDecreaseButtonName, accessibleObject.Name);
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarThumbAccessibleObjectTests.cs (1)
65Assert.Equal(SR.TrackBarPositionButtonName, accessibleObject.Name);
System\Windows\Forms\AccessibleObjects\TreeNode.TreeNodeAccessibleObjectTests.cs (4)
67string expected = isExpanded ? SR.AccessibleActionCollapse : SR.AccessibleActionExpand; 80string expected = isChecked ? SR.AccessibleActionUncheck : SR.AccessibleActionCheck;
System\Windows\Forms\AccessibleObjects\UpDownBase.UpDownEdit.UpDownEditAccessibleObjectTests.cs (2)
79Assert.Equal(SR.EditDefaultAccessibleName, accessibleObject.Name); 90Assert.Equal(SR.EditDefaultAccessibleName, accessibleObject.Name);
System\Windows\Forms\ComboBox.ComboBoxChildDropDownButtonUiaProviderTests.cs (2)
115Assert.Equal(SR.ComboboxDropDownButtonOpenName, GetComboBoxAccessibleObject(comboBox).DropDownButtonUiaProvider.Name); 120Assert.Equal(SR.ComboboxDropDownButtonCloseName, GetComboBoxAccessibleObject(comboBox).DropDownButtonUiaProvider.Name);
System\Windows\Forms\ComboBox.ComboBoxChildEditUiaProviderTests.cs (2)
165Assert.Equal(SR.ComboBoxEditDefaultAccessibleName, ((BSTR)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_NamePropertyId)).ToStringAndFree()); 166Assert.Equal(SR.ComboBoxEditDefaultAccessibleName, ((BSTR)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_LegacyIAccessibleNamePropertyId)).ToStringAndFree());
System\Windows\Forms\DataGridViewCellTests.cs (4)
6480string.Format(SR.DataGridViewCheckBoxCellCheckedStateDescription, cellName)), 6488string.Format(SR.DataGridViewCheckBoxCellUncheckedStateDescription, cellName)), 6496string.Format(SR.DataGridViewCheckBoxCellCheckedStateDescription, cellName)), 6504string.Format(SR.DataGridViewCheckBoxCellUncheckedStateDescription, cellName)),
System\Windows\Forms\DataGridViewLinkColumnTests.cs (1)
84.WithMessage(string.Format(SR.DataGridViewTypeColumn_WrongCellTemplateType, "System.Windows.Forms.DataGridViewLinkCell"));
System\Windows\Forms\DataGridViewTextBoxColumnTests.cs (1)
49.WithMessage(string.Format(SR.DataGridViewTypeColumn_WrongCellTemplateType, "System.Windows.Forms.DataGridViewTextBoxCell"));
System\Windows\Forms\InputLanguageTests.cs (3)
181Assert.Equal(SR.UnknownInputLanguageLayout, language.LayoutName); 198language.LayoutName.Should().NotBeEquivalentTo(SR.UnknownInputLanguageLayout); 208Assert.NotEqual(SR.UnknownInputLanguageLayout, language.LayoutName);
System\Windows\Forms\KeysConverterTests.LocalizationTests.cs (8)
25CultureInfo originalSRCulture = SR.Culture; 32SR.Culture = targetCulture; 33string localizedString = SR.GetResourceString(resourceKey); 50SR.Culture = originalSRCulture; 59CultureInfo originalSRCulture = SR.Culture; 67SR.Culture = targetCulture; 68Assert.Equal(SR.GetResourceString(resourceKey), result); 72SR.Culture = originalSRCulture;
System\Windows\Forms\ListViewTests.cs (1)
5298action.Should().Throw<InvalidOperationException>(SR.ListViewVirtualItemRequired);
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.DropDownHolder.DropDownHolderAccessibleObjectTests.cs (1)
49Assert.Equal(SR.PropertyGridViewDropDownControlHolderAccessibleName,
System\Windows\Forms\ScrollBarTests.cs (1)
1754string expectedMessage = new ArgumentOutOfRangeException(paramName, string.Format(SR.InvalidBoundArgument, nameof(control.Value), value, $"'{nameof(control.Minimum)}'", $"'{nameof(control.Maximum)}'")).Message;
System\Windows\Forms\TreeViewImageIndexConverterTests.cs (8)
29yield return new object[] { SR.toStringDefault, -1, }; 30yield return new object[] { SR.toStringDefault, ImageList.Indexer.DefaultIndex }; 31yield return new object[] { SR.toStringNone, -2 }; 32yield return new object[] { SR.toStringNone, ImageList.Indexer.NoneIndex }; 48yield return new object[] { -1, SR.toStringDefault }; 49yield return new object[] { ImageList.Indexer.DefaultIndex, SR.toStringDefault }; 50yield return new object[] { -2, SR.toStringNone }; 51yield return new object[] { ImageList.Indexer.NoneIndex, SR.toStringNone };