4639 references to SR
System.Windows.Forms (4639)
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); 379string newMessage = string.Format(SR.SerializationException, reader[ResXResourceWriter.TypeStr], pt.Y, pt.X, se.Message); 386string newMessage = string.Format(SR.InvocationException, reader[ResXResourceWriter.TypeStr], pt.Y, pt.X, tie.InnerException?.Message); 392throw new ArgumentException(string.Format(SR.InvalidResXFile, e.Message), e); 404throw new ArgumentException(string.Format(SR.InvalidResXFile, xmlEx.Message), xmlEx); 440throw new ArgumentException(SR.InvalidResXFileReaderWriterTypes); 609throw 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)
317throw 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)
567s_safeTopLevelCaptionSuffix ??= SR.SafeTopLevelCaptionFormat; // 0 - original, 1 - zone, 2 - site 1262throw new NotSupportedException(SR.RestartNotSupported); 1335throw new InvalidOperationException(string.Format(SR.Win32WindowAlreadyCreated, nameof(SetCompatibleTextRenderingDefault))); 1364throw new InvalidOperationException(string.Format(SR.Win32WindowAlreadyCreated, nameof(SetDefaultFont)));
System\Windows\Forms\Application.ThreadContext.cs (2)
701throw new InvalidOperationException(SR.CantShowModalOnNonInteractive); 725throw 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)
425[SRDescription(nameof(SR.ControlAccessibilityObjectDescr))] 469[SRCategory(nameof(SR.CatAccessibility))] 473[SRDescription(nameof(SR.ControlAccessibleDefaultActionDescr))] 483[SRCategory(nameof(SR.CatAccessibility))] 486[SRDescription(nameof(SR.ControlAccessibleDescriptionDescr))] 496[SRCategory(nameof(SR.CatAccessibility))] 499[SRDescription(nameof(SR.ControlAccessibleNameDescr))] 509[SRCategory(nameof(SR.CatAccessibility))] 511[SRDescription(nameof(SR.ControlAccessibleRoleDescr))] 526[SRCategory(nameof(SR.CatBehavior))] 528[SRDescription(nameof(SR.ControlAllowDropDescr))] 586[SRCategory(nameof(SR.CatLayout))] 589[SRDescription(nameof(SR.ControlAnchorDescr))] 597[SRCategory(nameof(SR.CatLayout))] 601[SRDescription(nameof(SR.ControlAutoSizeDescr))] 633[SRCategory(nameof(SR.CatPropertyChanged))] 634[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 728[SRCategory(nameof(SR.CatData))] 767[SRCategory(nameof(SR.CatAppearance))] 769[SRDescription(nameof(SR.ControlBackColorDescr))] 810throw new ArgumentException(SR.TransparentBackColorNotAllowed); 822[SRCategory(nameof(SR.CatPropertyChanged))] 823[SRDescription(nameof(SR.ControlOnBackColorChangedDescr))] 833[SRCategory(nameof(SR.CatAppearance))] 836[SRDescription(nameof(SR.ControlBackgroundImageDescr))] 852[SRCategory(nameof(SR.CatPropertyChanged))] 853[SRDescription(nameof(SR.ControlOnBackgroundImageChangedDescr))] 863[SRCategory(nameof(SR.CatAppearance))] 866[SRDescription(nameof(SR.ControlBackgroundImageLayoutDescr))] 896[SRCategory(nameof(SR.CatPropertyChanged))] 897[SRDescription(nameof(SR.ControlOnBackgroundImageLayoutChangedDescr))] 972[SRDescription(nameof(SR.ControlBindingContextDescr))] 979[SRCategory(nameof(SR.CatPropertyChanged))] 980[SRDescription(nameof(SR.ControlOnBindingContextChangedDescr))] 993[SRDescription(nameof(SR.ControlBottomDescr))] 994[SRCategory(nameof(SR.CatLayout))] 1004[SRDescription(nameof(SR.ControlBoundsDescr))] 1005[SRCategory(nameof(SR.CatLayout))] 1021[SRCategory(nameof(SR.CatFocus))] 1022[SRDescription(nameof(SR.ControlCanFocusDescr))] 1039[SRCategory(nameof(SR.CatFocus))] 1040[SRDescription(nameof(SR.ControlCanSelectDescr))] 1049[SRCategory(nameof(SR.CatFocus))] 1050[SRDescription(nameof(SR.ControlCaptureDescr))] 1075[SRCategory(nameof(SR.CatFocus))] 1077[SRDescription(nameof(SR.ControlCausesValidationDescr))] 1091[SRCategory(nameof(SR.CatPropertyChanged))] 1092[SRDescription(nameof(SR.ControlOnCausesValidationChangedDescr))] 1150[SRDescription(nameof(SR.ControlCheckForIllegalCrossThreadCalls))] 1160[SRCategory(nameof(SR.CatLayout))] 1161[SRDescription(nameof(SR.ControlClientRectangleDescr))] 1167[SRCategory(nameof(SR.CatLayout))] 1171[SRDescription(nameof(SR.ControlClientSizeDescr))] 1181[SRCategory(nameof(SR.CatPropertyChanged))] 1182[SRDescription(nameof(SR.ControlOnClientSizeChangedDescr))] 1195[SRDescription(nameof(SR.ControlCompanyNameDescr))] 1205[SRDescription(nameof(SR.ControlContainsFocusDescr))] 1225[SRCategory(nameof(SR.CatBehavior))] 1227[SRDescription(nameof(SR.ControlContextMenuDescr))] 1254[SRCategory(nameof(SR.CatPropertyChanged))] 1255[SRDescription(nameof(SR.ControlContextMenuStripChangedDescr))] 1267[SRDescription(nameof(SR.ControlControlsDescr))] 1276[SRDescription(nameof(SR.ControlCreatedDescr))] 1299throw new Win32Exception(lastWin32Error, string.Format(SR.LoadDLLError, Libraries.Comctl32)); 1454[SRCategory(nameof(SR.CatAppearance))] 1455[SRDescription(nameof(SR.ControlCursorDescr))] 1507[SRCategory(nameof(SR.CatPropertyChanged))] 1508[SRDescription(nameof(SR.ControlOnCursorChangedDescr))] 1519[SRCategory(nameof(SR.CatData))] 1520[SRDescription(nameof(SR.ControlBindingsDescr))] 1529throw new NotSupportedException(SR.BindingNotSupported); 1646[SRDescription(nameof(SR.ControlDisplayRectangleDescr))] 1657[SRDescription(nameof(SR.ControlDisposedDescr))] 1679[SRDescription(nameof(SR.ControlDisposingDescr))] 1688[SRCategory(nameof(SR.CatLayout))] 1692[SRDescription(nameof(SR.ControlDockDescr))] 1707[SRCategory(nameof(SR.CatPropertyChanged))] 1708[SRDescription(nameof(SR.ControlOnDockChangedDescr))] 1718[SRCategory(nameof(SR.CatBehavior))] 1719[SRDescription(nameof(SR.ControlDoubleBufferedDescr))] 1744[SRCategory(nameof(SR.CatBehavior))] 1747[SRDescription(nameof(SR.ControlEnabledDescr))] 1775[SRCategory(nameof(SR.CatPropertyChanged))] 1776[SRDescription(nameof(SR.ControlOnEnabledChangedDescr))] 1789[SRDescription(nameof(SR.ControlFocusedDescr))] 1797[SRCategory(nameof(SR.CatAppearance))] 1801[SRDescription(nameof(SR.ControlFontDescr))] 1899[SRCategory(nameof(SR.CatPropertyChanged))] 1900[SRDescription(nameof(SR.ControlOnFontChangedDescr))] 1993[SRCategory(nameof(SR.CatAppearance))] 1995[SRDescription(nameof(SR.ControlForeColorDescr))] 2038[SRCategory(nameof(SR.CatPropertyChanged))] 2039[SRDescription(nameof(SR.ControlOnForeColorChangedDescr))] 2111[SRDescription(nameof(SR.ControlHandleDescr))] 2118throw new InvalidOperationException(string.Format(SR.IllegalCrossThreadCall, Name)); 2142[SRDescription(nameof(SR.ControlHasChildrenDescr))] 2148[SRCategory(nameof(SR.CatLayout))] 2152[SRDescription(nameof(SR.ControlHeightDescr))] 2212[SRDescription(nameof(SR.ControlHandleCreatedDescr))] 2286[SRDescription(nameof(SR.ControlInvokeRequiredDescr))] 2318[SRCategory(nameof(SR.CatBehavior))] 2322[SRDescription(nameof(SR.ControlIsAccessibleDescr))] 2363[SRCategory(nameof(SR.CatLayout))] 2367[SRDescription(nameof(SR.IsMirroredDescr))] 2400[SRCategory(nameof(SR.CatLayout))] 2404[SRDescription(nameof(SR.ControlLeftDescr))] 2414[SRCategory(nameof(SR.CatLayout))] 2416[SRDescription(nameof(SR.ControlLocationDescr))] 2423[SRCategory(nameof(SR.CatPropertyChanged))] 2424[SRDescription(nameof(SR.ControlOnLocationChangedDescr))] 2431[SRDescription(nameof(SR.ControlMarginDescr))] 2432[SRCategory(nameof(SR.CatLayout))] 2454[SRCategory(nameof(SR.CatLayout))] 2455[SRDescription(nameof(SR.ControlOnMarginChangedDescr))] 2462[SRCategory(nameof(SR.CatLayout))] 2464[SRDescription(nameof(SR.ControlMaximumSizeDescr))] 2485[SRCategory(nameof(SR.CatLayout))] 2487[SRDescription(nameof(SR.ControlMinimumSizeDescr))] 2608[SRCategory(nameof(SR.CatBehavior))] 2611[SRDescription(nameof(SR.ControlParentDescr))] 2645[SRDescription(nameof(SR.ControlProductNameDescr))] 2654[SRDescription(nameof(SR.ControlProductVersionDescr))] 2670[SRCategory(nameof(SR.CatBehavior))] 2674[SRDescription(nameof(SR.ControlRecreatingHandleDescr))] 2707[SRCategory(nameof(SR.CatLayout))] 2711[SRDescription(nameof(SR.ControlRegionDescr))] 2758[SRCategory(nameof(SR.CatPropertyChanged))] 2759[SRDescription(nameof(SR.ControlRegionChangedDescr))] 2824[SRDescription(nameof(SR.ControlResizeRedrawDescr))] 2834[SRCategory(nameof(SR.CatLayout))] 2838[SRDescription(nameof(SR.ControlRightDescr))] 2846[SRCategory(nameof(SR.CatAppearance))] 2849[SRDescription(nameof(SR.ControlRightToLeftDescr))] 2886[SRCategory(nameof(SR.CatPropertyChanged))] 2887[SRDescription(nameof(SR.ControlOnRightToLeftChangedDescr))] 3006[SRCategory(nameof(SR.CatLayout))] 3008[SRDescription(nameof(SR.ControlSizeDescr))] 3015[SRCategory(nameof(SR.CatPropertyChanged))] 3016[SRDescription(nameof(SR.ControlOnSizeChangedDescr))] 3026[SRCategory(nameof(SR.CatBehavior))] 3029[SRDescription(nameof(SR.ControlTabIndexDescr))] 3045[SRCategory(nameof(SR.CatPropertyChanged))] 3046[SRDescription(nameof(SR.ControlOnTabIndexChangedDescr))] 3057[SRCategory(nameof(SR.CatBehavior))] 3060[SRDescription(nameof(SR.ControlTabStopDescr))] 3092[SRCategory(nameof(SR.CatPropertyChanged))] 3093[SRDescription(nameof(SR.ControlOnTabStopChangedDescr))] 3100[SRCategory(nameof(SR.CatData))] 3103[SRDescription(nameof(SR.ControlTagDescr))] 3115[SRCategory(nameof(SR.CatAppearance))] 3119[SRDescription(nameof(SR.ControlTextDescr))] 3155[SRCategory(nameof(SR.CatPropertyChanged))] 3156[SRDescription(nameof(SR.ControlOnTextChangedDescr))] 3166[SRCategory(nameof(SR.CatLayout))] 3170[SRDescription(nameof(SR.ControlTopDescr))] 3182[SRCategory(nameof(SR.CatBehavior))] 3186[SRDescription(nameof(SR.ControlTopLevelControlDescr))] 3347[SRCategory(nameof(SR.CatAppearance))] 3348[SRDescription(nameof(SR.ControlUseWaitCursorDescr))] 3431[SRCategory(nameof(SR.CatBehavior))] 3433[SRDescription(nameof(SR.ControlVisibleDescr))] 3452[SRCategory(nameof(SR.CatPropertyChanged))] 3453[SRDescription(nameof(SR.ControlOnVisibleChangedDescr))] 3499throw new InvalidAsynchronousStateException(SR.ThreadNoLongerValid); 3523[SRCategory(nameof(SR.CatLayout))] 3527[SRDescription(nameof(SR.ControlWidthDescr))] 3555[SRCategory(nameof(SR.CatBehavior))] 3559[SRDescription(nameof(SR.ControlWindowTargetDescr))] 3606[SRCategory(nameof(SR.CatAction))] 3607[SRDescription(nameof(SR.ControlOnClickDescr))] 3617[SRCategory(nameof(SR.CatBehavior))] 3620[SRDescription(nameof(SR.ControlOnControlAddedDescr))] 3630[SRCategory(nameof(SR.CatBehavior))] 3633[SRDescription(nameof(SR.ControlOnControlRemovedDescr))] 3643[SRCategory(nameof(SR.CatData))] 3646[SRDescription(nameof(SR.ControlDataContextChangedDescr))] 3653[SRCategory(nameof(SR.CatDragDrop))] 3654[SRDescription(nameof(SR.ControlOnDragDropDescr))] 3661[SRCategory(nameof(SR.CatDragDrop))] 3662[SRDescription(nameof(SR.ControlOnDragEnterDescr))] 3669[SRCategory(nameof(SR.CatDragDrop))] 3670[SRDescription(nameof(SR.ControlOnDragOverDescr))] 3677[SRCategory(nameof(SR.CatDragDrop))] 3678[SRDescription(nameof(SR.ControlOnDragLeaveDescr))] 3685[SRCategory(nameof(SR.CatDragDrop))] 3686[SRDescription(nameof(SR.ControlOnGiveFeedbackDescr))] 3696[SRCategory(nameof(SR.CatPrivate))] 3699[SRDescription(nameof(SR.ControlOnCreateHandleDescr))] 3709[SRCategory(nameof(SR.CatPrivate))] 3712[SRDescription(nameof(SR.ControlOnDestroyHandleDescr))] 3719[SRCategory(nameof(SR.CatBehavior))] 3720[SRDescription(nameof(SR.ControlOnHelpDescr))] 3727[SRCategory(nameof(SR.CatAppearance))] 3730[SRDescription(nameof(SR.ControlOnInvalidateDescr))] 3743[SRDescription(nameof(SR.ControlPaddingDescr))] 3744[SRCategory(nameof(SR.CatLayout))] 3773[SRCategory(nameof(SR.CatLayout))] 3774[SRDescription(nameof(SR.ControlOnPaddingChangedDescr))] 3781[SRCategory(nameof(SR.CatAppearance))] 3782[SRDescription(nameof(SR.ControlOnPaintDescr))] 3789[SRCategory(nameof(SR.CatDragDrop))] 3790[SRDescription(nameof(SR.ControlOnQueryContinueDragDescr))] 3797[SRCategory(nameof(SR.CatBehavior))] 3798[SRDescription(nameof(SR.ControlOnQueryAccessibilityHelpDescr))] 3808[SRCategory(nameof(SR.CatAction))] 3809[SRDescription(nameof(SR.ControlOnDoubleClickDescr))] 3819[SRCategory(nameof(SR.CatFocus))] 3820[SRDescription(nameof(SR.ControlOnEnterDescr))] 3830[SRCategory(nameof(SR.CatFocus))] 3831[SRDescription(nameof(SR.ControlOnGotFocusDescr))] 3843[SRCategory(nameof(SR.CatKey))] 3844[SRDescription(nameof(SR.ControlOnKeyDownDescr))] 3854[SRCategory(nameof(SR.CatKey))] 3855[SRDescription(nameof(SR.ControlOnKeyPressDescr))] 3865[SRCategory(nameof(SR.CatKey))] 3866[SRDescription(nameof(SR.ControlOnKeyUpDescr))] 3873[SRCategory(nameof(SR.CatLayout))] 3874[SRDescription(nameof(SR.ControlOnLayoutDescr))] 3884[SRCategory(nameof(SR.CatFocus))] 3885[SRDescription(nameof(SR.ControlOnLeaveDescr))] 3895[SRCategory(nameof(SR.CatFocus))] 3896[SRDescription(nameof(SR.ControlOnLostFocusDescr))] 3908[SRCategory(nameof(SR.CatAction))] 3909[SRDescription(nameof(SR.ControlOnMouseClickDescr))] 3919[SRCategory(nameof(SR.CatAction))] 3920[SRDescription(nameof(SR.ControlOnMouseDoubleClickDescr))] 3930[SRCategory(nameof(SR.CatAction))] 3931[SRDescription(nameof(SR.ControlOnMouseCaptureChangedDescr))] 3942[SRCategory(nameof(SR.CatMouse))] 3943[SRDescription(nameof(SR.ControlOnMouseDownDescr))] 3953[SRCategory(nameof(SR.CatMouse))] 3954[SRDescription(nameof(SR.ControlOnMouseEnterDescr))] 3964[SRCategory(nameof(SR.CatMouse))] 3965[SRDescription(nameof(SR.ControlOnMouseLeaveDescr))] 3977[SRCategory(nameof(SR.CatLayout))] 3978[SRDescription(nameof(SR.ControlOnDpiChangedBeforeParentDescr))] 3990[SRCategory(nameof(SR.CatLayout))] 3991[SRDescription(nameof(SR.ControlOnDpiChangedAfterParentDescr))] 4001[SRCategory(nameof(SR.CatMouse))] 4002[SRDescription(nameof(SR.ControlOnMouseHoverDescr))] 4012[SRCategory(nameof(SR.CatMouse))] 4013[SRDescription(nameof(SR.ControlOnMouseMoveDescr))] 4023[SRCategory(nameof(SR.CatMouse))] 4024[SRDescription(nameof(SR.ControlOnMouseUpDescr))] 4034[SRCategory(nameof(SR.CatMouse))] 4035[SRDescription(nameof(SR.ControlOnMouseWheelDescr))] 4047[SRCategory(nameof(SR.CatLayout))] 4048[SRDescription(nameof(SR.ControlOnMoveDescr))] 4058[SRCategory(nameof(SR.CatKey))] 4059[SRDescription(nameof(SR.PreviewKeyDownDescr))] 4069[SRCategory(nameof(SR.CatLayout))] 4070[SRDescription(nameof(SR.ControlOnResizeDescr))] 4078[SRCategory(nameof(SR.CatBehavior))] 4079[SRDescription(nameof(SR.ControlOnChangeUICuesDescr))] 4086[SRCategory(nameof(SR.CatBehavior))] 4087[SRDescription(nameof(SR.ControlOnStyleChangedDescr))] 4094[SRCategory(nameof(SR.CatBehavior))] 4095[SRDescription(nameof(SR.ControlOnSystemColorsChangedDescr))] 4105[SRCategory(nameof(SR.CatFocus))] 4106[SRDescription(nameof(SR.ControlOnValidatingDescr))] 4116[SRCategory(nameof(SR.CatFocus))] 4117[SRDescription(nameof(SR.ControlOnValidatedDescr))] 4234[SRCategory(nameof(SR.CatPropertyChanged))] 4235[SRDescription(nameof(SR.ControlOnParentChangedDescr))] 4361throw new ArgumentException(SR.CircularOwner); 4374throw new ArgumentException(SR.CircularOwner); 4713throw new InvalidOperationException(string.Format(SR.ClosingWhileCreatingHandle, "Dispose")); 4815throw new InvalidOperationException(string.Format(SR.ClipboardOrDragDrop_CannotJsonSerializeDataObject, nameof(DoDragDrop))); 4957throw new ArgumentException(SR.ControlBadAsyncResult, nameof(asyncResult)); 5597string.Format(SR.ParentPropertyNotSetInGetNextControl, nameof(Parent), ctl)); 5600string.Format(SR.ControlsPropertyNotSetInGetNextControl, nameof(Controls), parent)); 5607SR.ControlsCollectionShouldNotBeEmptyInGetNextControl, 6220throw new NotSupportedException(SR.ControlIsKeyLockedNumCapsScrollLockKeysSupportedOnly); 6404throw new InvalidOperationException(SR.ErrorNoMarshalingThread); 6655throw new NotSupportedException(SR.BindingNotSupported); 6995throw new Win32Exception(Marshal.GetLastWin32Error(), SR.Win32SetParentFailed); 9267throw new Win32Exception(Marshal.GetLastWin32Error(), SR.Win32SetParentFailed); 9462throw new ThreadStateException(SR.ThreadMustBeSTA); 9488throw new InvalidOperationException(SR.DragDropRegFailed, e); 10204throw new Win32Exception(Marshal.GetLastWin32Error(), SR.Win32SetParentFailed); 10220throw new Win32Exception(Marshal.GetLastWin32Error(), SR.Win32SetParentFailed); 10259throw new InvalidOperationException(SR.TopLevelNotAllowedIfActiveX); 10273throw new ArgumentException(SR.TopLevelParentedControl, nameof(value)); 11237throw new InvalidOperationException(SR.RichControlLresult, e); 12613throw 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\Controls\Buttons\Button.cs (5)
16[SRDescription(nameof(SR.DescriptionButton))] 45[SRCategory(nameof(SR.CatLayout))] 49[SRDescription(nameof(SR.ControlAutoSizeModeDescr))] 136[SRCategory(nameof(SR.CatBehavior))] 138[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)
93[SRCategory(nameof(SR.CatBehavior))] 97[SRDescription(nameof(SR.ButtonAutoEllipsisDescr))] 139[SRCategory(nameof(SR.CatPropertyChanged))] 140[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 152[SRCategory(nameof(SR.CatAppearance))] 153[SRDescription(nameof(SR.ControlBackColorDescr))] 165throw new NotSupportedException(SR.DesignTimeFeaturesNotSupported); 188[SRCategory(nameof(SR.CatData))] 189[SRDescription(nameof(SR.CommandComponentCommandDescr))] 200[SRCategory(nameof(SR.CatData))] 202[SRDescription(nameof(SR.CommandCanExecuteChangedEventDescr))] 212[SRCategory(nameof(SR.CatData))] 214[SRDescription(nameof(SR.CommandChangedEventDescr))] 228[SRCategory(nameof(SR.CatData))] 229[SRDescription(nameof(SR.CommandComponentCommandParameterDescr))] 246[SRCategory(nameof(SR.CatData))] 248[SRDescription(nameof(SR.CommandParameterChangedEventDescr))] 337[SRCategory(nameof(SR.CatAppearance))] 340[SRDescription(nameof(SR.ButtonFlatStyleDescr))] 361[SRCategory(nameof(SR.CatAppearance))] 362[SRDescription(nameof(SR.ButtonFlatAppearance))] 369[SRDescription(nameof(SR.ButtonImageDescr))] 371[SRCategory(nameof(SR.CatAppearance))] 426[SRDescription(nameof(SR.ButtonImageAlignDescr))] 427[SRCategory(nameof(SR.CatAppearance))] 453[SRDescription(nameof(SR.ButtonImageIndexDescr))] 454[SRCategory(nameof(SR.CatAppearance))] 500[SRDescription(nameof(SR.ButtonImageIndexDescr))] 501[SRCategory(nameof(SR.CatAppearance))] 529[SRDescription(nameof(SR.ButtonImageListDescr))] 531[SRCategory(nameof(SR.CatAppearance))] 672[SRDescription(nameof(SR.ButtonTextAlignDescr))] 673[SRCategory(nameof(SR.CatAppearance))] 701[SRDescription(nameof(SR.ButtonTextImageRelationDescr))] 702[SRCategory(nameof(SR.CatAppearance))] 725[SRDescription(nameof(SR.ButtonUseMnemonicDescr))] 727[SRCategory(nameof(SR.CatAppearance))] 1251[SRCategory(nameof(SR.CatBehavior))] 1252[SRDescription(nameof(SR.UseCompatibleTextRenderingDescr))] 1261[SRCategory(nameof(SR.CatAppearance))] 1262[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))] 59[SRCategory(nameof(SR.CatAppearance))] 60[SRDescription(nameof(SR.CheckBoxAppearanceDescr))] 90[SRCategory(nameof(SR.CatPropertyChanged))] 91[SRDescription(nameof(SR.CheckBoxOnAppearanceChangedDescr))] 103[SRCategory(nameof(SR.CatBehavior))] 104[SRDescription(nameof(SR.CheckBoxAutoCheckDescr))] 112[SRCategory(nameof(SR.CatAppearance))] 114[SRDescription(nameof(SR.CheckBoxCheckAlignDescr))] 146[SRCategory(nameof(SR.CatAppearance))] 148[SRDescription(nameof(SR.CheckBoxCheckedDescr))] 165[SRCategory(nameof(SR.CatAppearance))] 168[SRDescription(nameof(SR.CheckBoxCheckStateDescr))] 346[SRCategory(nameof(SR.CatBehavior))] 347[SRDescription(nameof(SR.CheckBoxThreeStateDescr))] 353[SRDescription(nameof(SR.CheckBoxOnCheckedChangedDescr))] 363[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))] 107[SRCategory(nameof(SR.CatPropertyChanged))] 108[SRDescription(nameof(SR.RadioButtonOnAppearanceChangedDescr))] 119[SRCategory(nameof(SR.CatAppearance))] 121[SRDescription(nameof(SR.RadioButtonCheckAlignDescr))] 147[SRCategory(nameof(SR.CatAppearance))] 148[SRDescription(nameof(SR.RadioButtonCheckedDescr))] 317[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))] 389[SRCategory(nameof(SR.CatData))] 393[SRDescription(nameof(SR.ListControlDataSourceDescr))] 404[SRCategory(nameof(SR.CatBehavior))] 406[SRDescription(nameof(SR.ComboBoxDrawModeDescr))] 427[SRCategory(nameof(SR.CatBehavior))] 428[SRDescription(nameof(SR.ComboBoxDropDownWidthDescr))] 450[SRCategory(nameof(SR.CatBehavior))] 451[SRDescription(nameof(SR.ComboBoxDropDownHeightDescr))] 478[SRDescription(nameof(SR.ComboBoxDroppedDownDescr))] 496[SRCategory(nameof(SR.CatAppearance))] 499[SRDescription(nameof(SR.ComboBoxFlatStyleDescr))] 548[SRCategory(nameof(SR.CatBehavior))] 551[SRDescription(nameof(SR.ComboBoxIntegralHeightDescr))] 572[SRCategory(nameof(SR.CatBehavior))] 574[SRDescription(nameof(SR.ComboBoxItemHeightDescr))] 613[SRCategory(nameof(SR.CatData))] 616[SRDescription(nameof(SR.ComboBoxItemsDescr))] 641[SRCategory(nameof(SR.CatBehavior))] 644[SRDescription(nameof(SR.ComboBoxMaxDropDownItemsDescr))] 676[SRCategory(nameof(SR.CatBehavior))] 679[SRDescription(nameof(SR.ComboBoxMaxLengthDescr))] 750[SRDescription(nameof(SR.ComboBoxPreferredHeightDescr))] 864[SRDescription(nameof(SR.ComboBoxSelectedIndexDescr))] 906[SRDescription(nameof(SR.ComboBoxSelectedItemDescr))] 945[SRDescription(nameof(SR.ComboBoxSelectedTextDescr))] 967[SRDescription(nameof(SR.ComboBoxSelectionLengthDescr))] 989[SRDescription(nameof(SR.ComboBoxSelectionStartDescr))] 1009[SRCategory(nameof(SR.CatBehavior))] 1011[SRDescription(nameof(SR.ComboBoxSortedDescr))] 1024throw new ArgumentException(SR.ComboBoxSortWithDataSource); 1038[SRCategory(nameof(SR.CatAppearance))] 1040[SRDescription(nameof(SR.ComboBoxStyleDescr))] 1219[SRCategory(nameof(SR.CatBehavior))] 1220[SRDescription(nameof(SR.drawItemEventDescr))] 1227[SRCategory(nameof(SR.CatBehavior))] 1228[SRDescription(nameof(SR.ComboBoxOnDropDownDescr))] 1235[SRCategory(nameof(SR.CatBehavior))] 1236[SRDescription(nameof(SR.measureItemEventDescr))] 1251[SRCategory(nameof(SR.CatBehavior))] 1252[SRDescription(nameof(SR.selectedIndexChangedEventDescr))] 1259[SRCategory(nameof(SR.CatBehavior))] 1260[SRDescription(nameof(SR.selectionChangeCommittedEventDescr))] 1267[SRCategory(nameof(SR.CatBehavior))] 1268[SRDescription(nameof(SR.ComboBoxDropDownStyleChangedDescr))] 1291[SRCategory(nameof(SR.CatBehavior))] 1292[SRDescription(nameof(SR.ComboBoxOnTextUpdateDescr))] 1303[SRCategory(nameof(SR.CatBehavior))] 1304[SRDescription(nameof(SR.ComboBoxOnDropDownClosedDescr))] 1349throw new ArgumentException(SR.DataSourceLocksItems); 2161return insertIndex < 0 ? throw new OutOfMemoryException(SR.ComboBoxItemOverflow) : insertIndex; 2214throw new OutOfMemoryException(SR.ComboBoxItemOverflow); 2839throw new InvalidOperationException(SR.ComboBoxDataSourceWithSort); 3158throw new ArgumentException(SR.AutoCompleteFailure); 3201throw 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))] 461_horizScrollBar.AccessibleName = SR.DataGridView_AccHorizontalScrollBarAccName; 469_vertScrollBar.AccessibleName = SR.DataGridView_AccVerticalScrollBarAccName; 650[SRCategory(nameof(SR.CatBehavior))] 651[SRDescription(nameof(SR.DataGridView_AllowUserToAddRowsDescr))] 674[SRCategory(nameof(SR.CatPropertyChanged))] 675[SRDescription(nameof(SR.DataGridViewOnAllowUserToAddRowsChangedDescr))] 683[SRCategory(nameof(SR.CatBehavior))] 684[SRDescription(nameof(SR.DataGridView_AllowUserToDeleteRowsDescr))] 702[SRCategory(nameof(SR.CatPropertyChanged))] 703[SRDescription(nameof(SR.DataGridViewOnAllowUserToDeleteRowsChangedDescr))] 711[SRCategory(nameof(SR.CatBehavior))] 712[SRDescription(nameof(SR.DataGridView_AllowUserToOrderColumnsDescr))] 729[SRCategory(nameof(SR.CatPropertyChanged))] 730[SRDescription(nameof(SR.DataGridViewOnAllowUserToOrderColumnsChangedDescr))] 742[SRCategory(nameof(SR.CatBehavior))] 743[SRDescription(nameof(SR.DataGridView_AllowUserToResizeColumnsDescr))] 757[SRCategory(nameof(SR.CatPropertyChanged))] 758[SRDescription(nameof(SR.DataGridViewOnAllowUserToResizeColumnsChangedDescr))] 770[SRCategory(nameof(SR.CatBehavior))] 771[SRDescription(nameof(SR.DataGridView_AllowUserToResizeRowsDescr))] 785[SRCategory(nameof(SR.CatPropertyChanged))] 786[SRDescription(nameof(SR.DataGridViewOnAllowUserToResizeRowsChangedDescr))] 793[SRCategory(nameof(SR.CatAppearance))] 794[SRDescription(nameof(SR.DataGridView_AlternatingRowsDefaultCellStyleDescr))] 824[SRCategory(nameof(SR.CatPropertyChanged))] 825[SRDescription(nameof(SR.DataGridViewAlternatingRowsDefaultCellStyleChangedDescr))] 878[SRCategory(nameof(SR.CatLayout))] 879[SRDescription(nameof(SR.DataGridView_AutoSizeColumnsModeDescr))] 908throw new InvalidOperationException(SR.DataGridView_CannotAutoSizeColumnsInvisibleColumnHeaders); 914throw new InvalidOperationException(SR.DataGridView_CannotAutoFillFrozenColumns); 932[SRCategory(nameof(SR.CatPropertyChanged))] 933[SRDescription(nameof(SR.DataGridViewAutoSizeColumnsModeChangedDescr))] 944[SRCategory(nameof(SR.CatLayout))] 945[SRDescription(nameof(SR.DataGridView_AutoSizeRowsModeDescr))] 968throw new InvalidOperationException(SR.DataGridView_CannotAutoSizeRowsInvisibleRowHeader); 980[SRCategory(nameof(SR.CatPropertyChanged))] 981[SRDescription(nameof(SR.DataGridViewAutoSizeRowsModeChangedDescr))] 1008[SRCategory(nameof(SR.CatAppearance))] 1009[SRDescription(nameof(SR.DataGridViewBackgroundColorDescr))] 1016throw new ArgumentException(string.Format(SR.DataGridView_EmptyColor, "BackgroundColor")); 1018throw new ArgumentException(string.Format(SR.DataGridView_TransparentColor, "BackgroundColor")); 1028[SRCategory(nameof(SR.CatPropertyChanged))] 1029[SRDescription(nameof(SR.DataGridViewBackgroundColorChangedDescr))] 1071[SRCategory(nameof(SR.CatAppearance))] 1072[SRDescription(nameof(SR.DataGridView_BorderStyleDescr))] 1101[SRCategory(nameof(SR.CatPropertyChanged))] 1102[SRDescription(nameof(SR.DataGridViewBorderStyleChangedDescr))] 1150[SRCategory(nameof(SR.CatAppearance))] 1151[SRDescription(nameof(SR.DataGridView_CellBorderStyleDescr))] 1244throw new ArgumentException(string.Format(SR.DataGridView_CustomCellBorderStyleInvalid, "CellBorderStyle")); 1321[SRCategory(nameof(SR.CatPropertyChanged))] 1322[SRDescription(nameof(SR.DataGridView_CellBorderStyleChangedDescr))] 1370[SRCategory(nameof(SR.CatBehavior))] 1371[SRDescription(nameof(SR.DataGridView_ClipboardCopyModeDescr))] 1396throw new InvalidOperationException(SR.DataGridView_CannotSetColumnCountOnDataBoundDataGridView); 1438[SRCategory(nameof(SR.CatAppearance))] 1439[SRDescription(nameof(SR.DataGridView_ColumnHeadersBorderStyleDescr))] 1461throw new ArgumentException(string.Format(SR.DataGridView_CustomCellBorderStyleInvalid, "ColumnHeadersBorderStyle")); 1496[SRCategory(nameof(SR.CatPropertyChanged))] 1497[SRDescription(nameof(SR.DataGridView_ColumnHeadersBorderStyleChangedDescr))] 1504[SRCategory(nameof(SR.CatAppearance))] 1505[SRDescription(nameof(SR.DataGridView_ColumnHeadersDefaultCellStyleDescr))] 1557[SRCategory(nameof(SR.CatPropertyChanged))] 1558[SRDescription(nameof(SR.DataGridViewColumnHeadersDefaultCellStyleChangedDescr))] 1565[SRCategory(nameof(SR.CatAppearance))] 1567[SRDescription(nameof(SR.DataGridView_ColumnHeadersHeightDescr))] 1587[SRCategory(nameof(SR.CatPropertyChanged))] 1588[SRDescription(nameof(SR.DataGridViewColumnHeadersHeightChangedDescr))] 1604[SRCategory(nameof(SR.CatBehavior))] 1605[SRDescription(nameof(SR.DataGridView_ColumnHeadersHeightSizeModeDescr))] 1622[SRCategory(nameof(SR.CatPropertyChanged))] 1623[SRDescription(nameof(SR.DataGridView_ColumnHeadersHeightSizeModeChangedDescr))] 1634[SRCategory(nameof(SR.CatAppearance))] 1636[SRDescription(nameof(SR.DataGridViewColumnHeadersVisibleDescr))] 1652throw new InvalidOperationException(SR.DataGridView_ColumnHeadersCannotBeInvisible); 1728throw new InvalidOperationException(SR.DataGridView_CellChangeCannotBeCommittedOrAborted); 1735throw new ArgumentException(SR.DataGridView_CellDoesNotBelongToDataGridView); 1740throw new InvalidOperationException(SR.DataGridView_CurrentCellCannotBeInvisible); 1745throw new InvalidOperationException(SR.DataGridView_CellChangeCannotBeCommittedOrAborted); 1761throw new InvalidOperationException(SR.DataGridView_CellChangeCannotBeCommittedOrAborted); 1875[SRCategory(nameof(SR.CatData))] 1877[SRDescription(nameof(SR.DataGridViewDataMemberDescr))] 1894[SRCategory(nameof(SR.CatPropertyChanged))] 1895[SRDescription(nameof(SR.DataGridViewDataMemberChangedDescr))] 1903[SRCategory(nameof(SR.CatData))] 1906[SRDescription(nameof(SR.DataGridViewDataSourceDescr))] 1951[SRCategory(nameof(SR.CatPropertyChanged))] 1952[SRDescription(nameof(SR.DataGridViewDataSourceChangedDescr))] 1959[SRCategory(nameof(SR.CatAppearance))] 1960[SRDescription(nameof(SR.DataGridView_DefaultCellStyleDescr))] 2071[SRCategory(nameof(SR.CatPropertyChanged))] 2072[SRDescription(nameof(SR.DataGridViewDefaultCellStyleChangedDescr))] 2142[SRCategory(nameof(SR.CatBehavior))] 2144[SRDescription(nameof(SR.DataGridView_EditModeDescr))] 2161[SRCategory(nameof(SR.CatPropertyChanged))] 2162[SRDescription(nameof(SR.DataGridView_EditModeChangedDescr))] 2235AccessibleName = SR.DataGridView_AccEditingPanelAccName 2256[SRCategory(nameof(SR.CatAppearance))] 2258[SRDescription(nameof(SR.DataGridView_EnableHeadersVisualStylesDescr))] 2294throw new ArgumentException(SR.DataGridView_CellDoesNotBelongToDataGridView); 2299throw new InvalidOperationException(SR.DataGridView_FirstDisplayedCellCannotBeAHeaderOrSharedCell); 2309throw new InvalidOperationException(SR.DataGridView_FirstDisplayedCellCannotBeInvisible); 2450throw new InvalidOperationException(SR.DataGridView_FirstDisplayedScrollingColumnCannotBeInvisible); 2455throw new InvalidOperationException(SR.DataGridView_FirstDisplayedScrollingColumnCannotBeFrozen); 2466throw new InvalidOperationException(SR.DataGridView_NoRoomForDisplayedColumns); 2473throw new InvalidOperationException(SR.DataGridView_FrozenColumnsPreventFirstDisplayedScrollingColumn); 2530throw new InvalidOperationException(SR.DataGridView_FirstDisplayedScrollingRowCannotBeInvisible); 2535throw new InvalidOperationException(SR.DataGridView_FirstDisplayedScrollingRowCannotBeFrozen); 2546throw new InvalidOperationException(SR.DataGridView_NoRoomForDisplayedRows); 2553throw new InvalidOperationException(SR.DataGridView_FrozenRowsPreventFirstDisplayedScrollingRow); 2634[SRCategory(nameof(SR.CatAppearance))] 2635[SRDescription(nameof(SR.DataGridViewGridColorDescr))] 2642throw new ArgumentException(string.Format(SR.DataGridView_EmptyColor, nameof(GridColor))); 2644throw new ArgumentException(string.Format(SR.DataGridView_TransparentColor, nameof(GridColor))); 2654[SRCategory(nameof(SR.CatPropertyChanged))] 2655[SRDescription(nameof(SR.DataGridViewOnGridColorChangedDescr))] 2985[SRCategory(nameof(SR.CatBehavior))] 2987[SRDescription(nameof(SR.DataGridView_MultiSelectDescr))] 3002[SRCategory(nameof(SR.CatPropertyChanged))] 3003[SRDescription(nameof(SR.DataGridViewOnMultiSelectChangedDescr))] 3052[SRCategory(nameof(SR.CatBehavior))] 3053[SRDescription(nameof(SR.DataGridView_ReadOnlyDescr))] 3079throw new InvalidOperationException(SR.DataGridView_CommitFailedCannotCompleteOperation); 3126[SRCategory(nameof(SR.CatPropertyChanged))] 3127[SRDescription(nameof(SR.DataGridViewOnReadOnlyChangedDescr))] 3144throw new InvalidOperationException(SR.DataGridView_CellChangeCannotBeCommittedOrAborted); 3178throw new InvalidOperationException(SR.DataGridView_CannotSetRowCountOnDataBoundDataGridView); 3224[SRCategory(nameof(SR.CatAppearance))] 3225[SRDescription(nameof(SR.DataGridView_RowHeadersBorderStyleDescr))] 3248throw new ArgumentException(string.Format(SR.DataGridView_CustomCellBorderStyleInvalid, "RowHeadersBorderStyle")); 3283[SRCategory(nameof(SR.CatPropertyChanged))] 3284[SRDescription(nameof(SR.DataGridView_RowHeadersBorderStyleChangedDescr))] 3291[SRCategory(nameof(SR.CatAppearance))] 3292[SRDescription(nameof(SR.DataGridView_RowHeadersDefaultCellStyleDescr))] 3322[SRCategory(nameof(SR.CatPropertyChanged))] 3323[SRDescription(nameof(SR.DataGridViewRowHeadersDefaultCellStyleChangedDescr))] 3334[SRCategory(nameof(SR.CatAppearance))] 3336[SRDescription(nameof(SR.DataGridViewRowHeadersVisibleDescr))] 3347throw new InvalidOperationException(SR.DataGridView_RowHeadersCannotBeInvisible); 3371[SRCategory(nameof(SR.CatLayout))] 3373[SRDescription(nameof(SR.DataGridView_RowHeadersWidthDescr))] 3425[SRCategory(nameof(SR.CatPropertyChanged))] 3426[SRDescription(nameof(SR.DataGridViewRowHeadersWidthChangedDescr))] 3442[SRCategory(nameof(SR.CatBehavior))] 3443[SRDescription(nameof(SR.DataGridView_RowHeadersWidthSizeModeDescr))] 3465[SRCategory(nameof(SR.CatPropertyChanged))] 3466[SRDescription(nameof(SR.DataGridView_RowHeadersWidthSizeModeChangedDescr))] 3484[SRCategory(nameof(SR.CatAppearance))] 3485[SRDescription(nameof(SR.DataGridView_RowsDefaultCellStyleDescr))] 3515[SRCategory(nameof(SR.CatPropertyChanged))] 3516[SRDescription(nameof(SR.DataGridViewRowsDefaultCellStyleChangedDescr))] 3523[SRCategory(nameof(SR.CatAppearance))] 3525[SRDescription(nameof(SR.DataGridView_RowTemplateDescr))] 3543throw new InvalidOperationException(SR.DataGridView_RowAlreadyBelongsToDataGridView); 3573[SRCategory(nameof(SR.CatLayout))] 3574[SRDescription(nameof(SR.DataGridView_ScrollBarsDescr))] 3596throw new InvalidOperationException(SR.DataGridView_CellChangeCannotBeCommittedOrAborted); 3733[SRCategory(nameof(SR.CatBehavior))] 3735[SRDescription(nameof(SR.DataGridView_SelectionModeDescr))] 3753throw new InvalidOperationException(string.Format(SR.DataGridView_SelectionModeAndSortModeClash, (value).ToString())); 3765[SRCategory(nameof(SR.CatAppearance))] 3766[SRDescription(nameof(SR.DataGridView_ShowCellErrorsDescr))] 3818[SRCategory(nameof(SR.CatAppearance))] 3819[SRDescription(nameof(SR.DataGridView_ShowCellToolTipsDescr))] 3870[SRCategory(nameof(SR.CatAppearance))] 3871[SRDescription(nameof(SR.DataGridView_ShowEditingIconDescr))] 3906[SRCategory(nameof(SR.CatAppearance))] 3907[SRDescription(nameof(SR.DataGridView_ShowRowErrorsDescr))] 3965[SRCategory(nameof(SR.CatBehavior))] 3968[SRDescription(nameof(SR.DataGridView_StandardTabDescr))] 4129[SRCategory(nameof(SR.CatBehavior))] 4132[SRDescription(nameof(SR.DataGridViewVirtualModeDescr))] 4152[SRCategory(nameof(SR.CatPropertyChanged))] 4153[SRDescription(nameof(SR.DataGridViewAutoSizeColumnModeChangedDescr))] 4160[SRCategory(nameof(SR.CatAction))] 4161[SRDescription(nameof(SR.DataGridView_CancelRowEditDescr))] 4168[SRCategory(nameof(SR.CatData))] 4169[SRDescription(nameof(SR.DataGridView_CellBeginEditDescr))] 4176[SRCategory(nameof(SR.CatMouse))] 4177[SRDescription(nameof(SR.DataGridView_CellClickDescr))] 4184[SRCategory(nameof(SR.CatMouse))] 4185[SRDescription(nameof(SR.DataGridView_CellContentClick))] 4192[SRCategory(nameof(SR.CatMouse))] 4193[SRDescription(nameof(SR.DataGridView_CellContentDoubleClick))] 4200[SRCategory(nameof(SR.CatAction))] 4201[SRDescription(nameof(SR.DataGridView_CellContextMenuStripChanged))] 4209[SRCategory(nameof(SR.CatBehavior))] 4210[SRDescription(nameof(SR.DataGridView_CellContextMenuStripNeeded))] 4218[SRCategory(nameof(SR.CatMouse))] 4219[SRDescription(nameof(SR.DataGridView_CellDoubleClickDescr))] 4226[SRCategory(nameof(SR.CatData))] 4227[SRDescription(nameof(SR.DataGridView_CellEndEditDescr))] 4234[SRCategory(nameof(SR.CatFocus))] 4235[SRDescription(nameof(SR.DataGridView_CellEnterDescr))] 4242[SRCategory(nameof(SR.CatPropertyChanged))] 4243[SRDescription(nameof(SR.DataGridView_CellErrorTextChangedDescr))] 4250[SRCategory(nameof(SR.CatData))] 4252[SRDescription(nameof(SR.DataGridView_CellErrorTextNeededDescr))] 4259[SRCategory(nameof(SR.CatDisplay))] 4260[SRDescription(nameof(SR.DataGridView_CellFormattingDescr))] 4267[SRCategory(nameof(SR.CatFocus))] 4268[SRDescription(nameof(SR.DataGridView_CellLeaveDescr))] 4275[SRCategory(nameof(SR.CatMouse))] 4276[SRDescription(nameof(SR.DataGridView_CellMouseClickDescr))] 4283[SRCategory(nameof(SR.CatMouse))] 4284[SRDescription(nameof(SR.DataGridView_CellMouseDoubleClickDescr))] 4291[SRCategory(nameof(SR.CatMouse))] 4292[SRDescription(nameof(SR.DataGridView_CellMouseDownDescr))] 4299[SRCategory(nameof(SR.CatMouse))] 4300[SRDescription(nameof(SR.DataGridView_CellMouseEnterDescr))] 4307[SRCategory(nameof(SR.CatMouse))] 4308[SRDescription(nameof(SR.DataGridView_CellMouseLeaveDescr))] 4315[SRCategory(nameof(SR.CatMouse))] 4316[SRDescription(nameof(SR.DataGridView_CellMouseMoveDescr))] 4323[SRCategory(nameof(SR.CatMouse))] 4324[SRDescription(nameof(SR.DataGridView_CellMouseUpDescr))] 4331[SRCategory(nameof(SR.CatDisplay))] 4332[SRDescription(nameof(SR.DataGridView_CellPaintingDescr))] 4339[SRCategory(nameof(SR.CatDisplay))] 4340[SRDescription(nameof(SR.DataGridView_CellParsingDescr))] 4347[SRCategory(nameof(SR.CatBehavior))] 4348[SRDescription(nameof(SR.DataGridView_CellStateChangedDescr))] 4355[SRCategory(nameof(SR.CatPropertyChanged))] 4356[SRDescription(nameof(SR.DataGridView_CellStyleChangedDescr))] 4363[SRCategory(nameof(SR.CatPropertyChanged))] 4364[SRDescription(nameof(SR.DataGridView_CellStyleContentChangedDescr))] 4371[SRCategory(nameof(SR.CatPropertyChanged))] 4372[SRDescription(nameof(SR.DataGridView_CellToolTipTextChangedDescr))] 4379[SRCategory(nameof(SR.CatBehavior))] 4380[SRDescription(nameof(SR.DataGridView_CellToolTipTextNeededDescr))] 4388[SRCategory(nameof(SR.CatFocus))] 4389[SRDescription(nameof(SR.DataGridView_CellValidatedDescr))] 4396[SRCategory(nameof(SR.CatFocus))] 4397[SRDescription(nameof(SR.DataGridView_CellValidatingDescr))] 4404[SRCategory(nameof(SR.CatAction))] 4405[SRDescription(nameof(SR.DataGridView_CellValueChangedDescr))] 4412[SRCategory(nameof(SR.CatData))] 4414[SRDescription(nameof(SR.DataGridView_CellValueNeededDescr))] 4421[SRCategory(nameof(SR.CatData))] 4423[SRDescription(nameof(SR.DataGridView_CellValuePushedDescr))] 4430[SRCategory(nameof(SR.CatAction))] 4431[SRDescription(nameof(SR.DataGridView_ColumnAddedDescr))] 4438[SRCategory(nameof(SR.CatPropertyChanged))] 4439[SRDescription(nameof(SR.DataGridView_ColumnContextMenuStripChangedDescr))] 4446[SRCategory(nameof(SR.CatPropertyChanged))] 4447[SRDescription(nameof(SR.DataGridView_ColumnDataPropertyNameChangedDescr))] 4454[SRCategory(nameof(SR.CatPropertyChanged))] 4455[SRDescription(nameof(SR.DataGridView_ColumnDefaultCellStyleChangedDescr))] 4462[SRCategory(nameof(SR.CatPropertyChanged))] 4463[SRDescription(nameof(SR.DataGridView_ColumnDisplayIndexChangedDescr))] 4470[SRCategory(nameof(SR.CatMouse))] 4471[SRDescription(nameof(SR.DataGridView_ColumnDividerDoubleClickDescr))] 4478[SRCategory(nameof(SR.CatPropertyChanged))] 4479[SRDescription(nameof(SR.DataGridView_ColumnDividerWidthChangedDescr))] 4486[SRCategory(nameof(SR.CatMouse))] 4487[SRDescription(nameof(SR.DataGridView_ColumnHeaderMouseClickDescr))] 4494[SRCategory(nameof(SR.CatMouse))] 4495[SRDescription(nameof(SR.DataGridView_ColumnHeaderMouseDoubleClickDescr))] 4502[SRCategory(nameof(SR.CatPropertyChanged))] 4503[SRDescription(nameof(SR.DataGridView_ColumnHeaderCellChangedDescr))] 4510[SRCategory(nameof(SR.CatPropertyChanged))] 4511[SRDescription(nameof(SR.DataGridView_ColumnMinimumWidthChangedDescr))] 4518[SRCategory(nameof(SR.CatPropertyChanged))] 4519[SRDescription(nameof(SR.DataGridView_ColumnNameChangedDescr))] 4526[SRCategory(nameof(SR.CatAction))] 4527[SRDescription(nameof(SR.DataGridView_ColumnRemovedDescr))] 4534[SRCategory(nameof(SR.CatBehavior))] 4535[SRDescription(nameof(SR.DataGridViewColumnSortModeChangedDescr))] 4542[SRCategory(nameof(SR.CatBehavior))] 4543[SRDescription(nameof(SR.DataGridView_ColumnStateChangedDescr))] 4550[SRCategory(nameof(SR.CatPropertyChanged))] 4551[SRDescription(nameof(SR.DataGridView_ColumnToolTipTextChangedDescr))] 4558[SRCategory(nameof(SR.CatAction))] 4559[SRDescription(nameof(SR.DataGridView_ColumnWidthChangedDescr))] 4566[SRCategory(nameof(SR.CatAction))] 4567[SRDescription(nameof(SR.DataGridView_CurrentCellChangedDescr))] 4574[SRCategory(nameof(SR.CatBehavior))] 4576[SRDescription(nameof(SR.DataGridView_CurrentCellDirtyStateChangedDescr))] 4583[SRCategory(nameof(SR.CatData))] 4584[SRDescription(nameof(SR.DataGridView_DataBindingCompleteDescr))] 4591[SRCategory(nameof(SR.CatBehavior))] 4592[SRDescription(nameof(SR.DataGridView_DataErrorDescr))] 4599[SRCategory(nameof(SR.CatData))] 4601[SRDescription(nameof(SR.DataGridView_DefaultValuesNeededDescr))] 4608[SRCategory(nameof(SR.CatAction))] 4609[SRDescription(nameof(SR.DataGridView_EditingControlShowingDescr))] 4616[SRCategory(nameof(SR.CatData))] 4617[SRDescription(nameof(SR.DataGridView_NewRowNeededDescr))] 4624[SRCategory(nameof(SR.CatPropertyChanged))] 4625[SRDescription(nameof(SR.DataGridView_RowContextMenuStripChangedDescr))] 4632[SRCategory(nameof(SR.CatData))] 4634[SRDescription(nameof(SR.DataGridView_RowContextMenuStripNeededDescr))] 4641[SRCategory(nameof(SR.CatPropertyChanged))] 4642[SRDescription(nameof(SR.DataGridView_RowDefaultCellStyleChangedDescr))] 4649[SRCategory(nameof(SR.CatData))] 4651[SRDescription(nameof(SR.DataGridView_RowDirtyStateNeededDescr))] 4658[SRCategory(nameof(SR.CatMouse))] 4659[SRDescription(nameof(SR.DataGridView_RowDividerDoubleClickDescr))] 4666[SRCategory(nameof(SR.CatAppearance))] 4667[SRDescription(nameof(SR.DataGridView_RowDividerHeightChangedDescr))] 4674[SRCategory(nameof(SR.CatFocus))] 4675[SRDescription(nameof(SR.DataGridView_RowEnterDescr))] 4682[SRCategory(nameof(SR.CatPropertyChanged))] 4683[SRDescription(nameof(SR.DataGridView_RowErrorTextChangedDescr))] 4690[SRCategory(nameof(SR.CatData))] 4692[SRDescription(nameof(SR.DataGridView_RowErrorTextNeededDescr))] 4699[SRCategory(nameof(SR.CatMouse))] 4700[SRDescription(nameof(SR.DataGridView_RowHeaderMouseClickDescr))] 4707[SRCategory(nameof(SR.CatMouse))] 4708[SRDescription(nameof(SR.DataGridView_RowHeaderMouseDoubleClickDescr))] 4715[SRCategory(nameof(SR.CatPropertyChanged))] 4716[SRDescription(nameof(SR.DataGridView_RowHeaderCellChangedDescr))] 4723[SRCategory(nameof(SR.CatPropertyChanged))] 4724[SRDescription(nameof(SR.DataGridView_RowHeightChangedDescr))] 4731[SRCategory(nameof(SR.CatData))] 4733[SRDescription(nameof(SR.DataGridView_RowHeightInfoNeededDescr))] 4750[SRCategory(nameof(SR.CatData))] 4752[SRDescription(nameof(SR.DataGridView_RowHeightInfoPushedDescr))] 4759[SRCategory(nameof(SR.CatFocus))] 4760[SRDescription(nameof(SR.DataGridView_RowLeaveDescr))] 4767[SRCategory(nameof(SR.CatPropertyChanged))] 4768[SRDescription(nameof(SR.DataGridView_RowMinimumHeightChangedDescr))] 4775[SRCategory(nameof(SR.CatDisplay))] 4776[SRDescription(nameof(SR.DataGridView_RowPostPaintDescr))] 4793[SRCategory(nameof(SR.CatDisplay))] 4794[SRDescription(nameof(SR.DataGridView_RowPrePaintDescr))] 4811[SRCategory(nameof(SR.CatAction))] 4812[SRDescription(nameof(SR.DataGridView_RowsAddedDescr))] 4819[SRCategory(nameof(SR.CatAction))] 4820[SRDescription(nameof(SR.DataGridView_RowsRemovedDescr))] 4827[SRCategory(nameof(SR.CatBehavior))] 4828[SRDescription(nameof(SR.DataGridView_RowStateChangedDescr))] 4835[SRCategory(nameof(SR.CatBehavior))] 4837[SRDescription(nameof(SR.DataGridView_RowUnsharedDescr))] 4844[SRCategory(nameof(SR.CatFocus))] 4845[SRDescription(nameof(SR.DataGridView_RowValidatedDescr))] 4852[SRCategory(nameof(SR.CatFocus))] 4853[SRDescription(nameof(SR.DataGridView_RowValidatingDescr))] 4860[SRCategory(nameof(SR.CatAction))] 4861[SRDescription(nameof(SR.DataGridView_ScrollDescr))] 4868[SRCategory(nameof(SR.CatAction))] 4869[SRDescription(nameof(SR.DataGridView_SelectionChangedDescr))] 4876[SRCategory(nameof(SR.CatData))] 4878[SRDescription(nameof(SR.DataGridView_SortCompareDescr))] 4885[SRCategory(nameof(SR.CatData))] 4886[SRDescription(nameof(SR.DataGridView_SortedDescr))] 4901[SRCategory(nameof(SR.CatAction))] 4902[SRDescription(nameof(SR.DataGridView_UserAddedRowDescr))] 4909[SRCategory(nameof(SR.CatAction))] 4910[SRDescription(nameof(SR.DataGridView_UserDeletedRowDescr))] 4917[SRCategory(nameof(SR.CatAction))] 4918[SRDescription(nameof(SR.DataGridView_UserDeletingRowDescr))] 4932throw new InvalidOperationException(SR.DataGridViewBeginInit); 4963SR.DataGridView_SelectionModeReset, 4965SR.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); 2680EditingControl.AccessibleName = SR.DataGridView_AccEditingControlAccName; 4196throw new InvalidOperationException(SR.DataGridView_AColumnHasNoCellTemplate); 5028throw new InvalidOperationException(SR.DataGridView_CannotAddFrozenColumn); 5042throw new InvalidOperationException(SR.DataGridView_CannotAddNonFrozenColumn); 5167throw new InvalidOperationException(SR.DataGridView_CannotMoveNonFrozenColumn); 5186throw new InvalidOperationException(SR.DataGridView_CannotMoveFrozenColumn); 5234throw new InvalidOperationException(SR.DataGridView_CannotAddFrozenRow); 5247throw new InvalidOperationException(SR.DataGridView_CannotAddNonFrozenRow); 5276throw new InvalidOperationException(SR.DataGridView_CannotAddFrozenRow); 5282throw new InvalidOperationException(SR.DataGridView_CannotAddNonFrozenRow); 6847throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 7123throw new NotSupportedException(SR.DataGridView_DisabledClipboardCopy); 9766throw new ArgumentException(SR.DataGridView_CellDoesNotBelongToDataGridView); 10741throw new InvalidOperationException(SR.DataGridView_ColumnAlreadyBelongsToDataGridView); 10748throw new InvalidOperationException(string.Format(SR.DataGridViewColumn_SortModeAndSelectionModeClash, DataGridViewColumnSortMode.Automatic.ToString(), SelectionMode.ToString())); 10761throw new InvalidOperationException(SR.DataGridView_CannotAddAutoSizedColumn); 10770throw new InvalidOperationException(SR.DataGridView_CannotAddAutoFillColumn); 10781throw new InvalidOperationException(string.Format(SR.DataGridView_WeightSumCannotExceedLongMaxValue, ushort.MaxValue)); 10793throw new InvalidOperationException(SR.DataGridView_CannotAddUntypedColumn); 10860throw new InvalidOperationException(SR.DataGridView_AtLeastOneColumnIsNull); 10865throw new InvalidOperationException(SR.DataGridView_ColumnAlreadyBelongsToDataGridView); 10871throw new InvalidOperationException(SR.DataGridView_CannotAddUntypedColumn); 10879SR.DataGridViewColumn_SortModeAndSelectionModeClash, 10894throw new InvalidOperationException(SR.DataGridView_CannotAddAutoSizedColumn); 10903throw new InvalidOperationException(SR.DataGridView_CannotAddAutoFillColumn); 10913throw new InvalidOperationException(string.Format(SR.DataGridView_WeightSumCannotExceedLongMaxValue, ushort.MaxValue)); 10927throw new InvalidOperationException(SR.DataGridView_CannotAddIdenticalColumns); 11041throw new InvalidOperationException(SR.DataGridView_AtLeastOneRowIsNull); 11046throw new InvalidOperationException(SR.DataGridView_RowAlreadyBelongsToDataGridView); 11051throw new InvalidOperationException(SR.DataGridViewRowCollection_CannotAddOrInsertSelectedRow); 11056throw new InvalidOperationException(SR.DataGridViewRowCollection_TooManyCells); 11068throw new InvalidOperationException(SR.DataGridView_CannotAddIdenticalRows); 11162?? throw new InvalidOperationException(string.Format(SR.InvalidNullArgument, "e.Column")); 11240throw new ArgumentException(SR.DataGridView_PreviousModesHasWrongLength); 11442throw new InvalidOperationException(SR.DataGridView_CannotAlterAutoFillColumnParameter); 13244throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 13308throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 13323throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 13349throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 13371throw new InvalidOperationException(SR.DataGridView_CannotAlterDisplayIndexWithinAdjustments); 13421throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 13497throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 13524throw new InvalidOperationException(SR.DataGridView_CannotAlterAutoFillColumnParameter); 13531throw new InvalidOperationException(string.Format(SR.DataGridView_WeightSumCannotExceedLongMaxValue, ushort.MaxValue)); 13584throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 14045throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 14072throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 14264throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 14466throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 14476throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 14620? SR.DataGridView_ErrorMessageText_NoException 14621: string.Format(SR.DataGridView_ErrorMessageText_WithException, e.Exception); 14627SR.DataGridView_ErrorMessageCaption, 14635MessageBox.Show(errorText, SR.DataGridView_ErrorMessageCaption, MessageBoxButtons.OK, MessageBoxIcon.Error); 14713throw new InvalidOperationException(SR.DataGridView_CannotMakeAutoSizedColumnVisible); 14765throw new InvalidOperationException(SR.DataGridView_CommitFailedCannotCompleteOperation); 14796throw new InvalidOperationException(SR.DataGridView_CurrencyManagerRowCannotBeInvisible); 14827throw new InvalidOperationException(SR.DataGridView_CommitFailedCannotCompleteOperation); 14868throw new InvalidOperationException(SR.DataGridView_CommitFailedCannotCompleteOperation); 15371throw new InvalidOperationException(SR.DataGridView_ColumnAlreadyBelongsToDataGridView); 15379SR.DataGridViewColumn_SortModeAndSelectionModeClash, 15394throw new InvalidOperationException(SR.DataGridView_CannotAddAutoSizedColumn); 15403throw new InvalidOperationException(SR.DataGridView_CannotAddAutoFillColumn); 15428throw new InvalidOperationException(SR.DataGridView_CannotAddUntypedColumn); 16655throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 17583throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 17603throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 17641throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 17763throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 17847throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 18280throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 18364throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 18714throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 19000throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 19709throw new InvalidOperationException(SR.DataGridView_CannotAlterAutoFillColumnParameter); 26768throw new InvalidOperationException(SR.DataGridView_CurrentCellCannotBeInvisible); 26774throw new InvalidOperationException(SR.DataGridView_SetCurrentCellAddressCoreNotReentrant); 27458throw new ArgumentOutOfRangeException(nameof(width), width, string.Format(SR.DataGridView_SizeTooLarge, (UpperSize).ToString(CultureInfo.CurrentCulture))); 27463throw new ArgumentOutOfRangeException(nameof(height), height, string.Format(SR.DataGridView_SizeTooLarge, (UpperSize).ToString(CultureInfo.CurrentCulture))); 27737throw new InvalidOperationException(SR.DataGridView_CurrentCellCannotBeInvisible); 28170throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 28175throw new InvalidOperationException(SR.DataGridView_OperationDisabledInVirtualMode); 28187throw new InvalidOperationException(SR.DataGridView_OperationDisabledInVirtualMode); 28193throw new InvalidOperationException(SR.DataGridView_CannotUseAComparerToSortDataGridViewWhenDataBound); 28203throw new InvalidOperationException(SR.DataGridView_CannotSortDataBoundDataGridViewBoundToNonIBindingList); 28208throw new InvalidOperationException(SR.DataGridView_IBindingListNeedsToSupportSorting); 28213throw 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)
70[SRCategory(nameof(SR.CatLayout))] 72[SRDescription(nameof(SR.DataGridViewColumn_AutoSizeModeDescr))] 102throw new InvalidOperationException(SR.DataGridViewColumn_AutoSizeCriteriaCannotUseInvisibleHeaders); 110throw new InvalidOperationException(SR.DataGridViewColumn_FrozenColumnCannotAutoFill); 164[SRCategory(nameof(SR.CatBehavior))] 165[SRDescription(nameof(SR.DataGridView_ColumnContextMenuStripDescr))] 176[SRDescription(nameof(SR.DataGridView_ColumnDataPropertyNameDescr))] 177[SRCategory(nameof(SR.CatData))] 195[SRCategory(nameof(SR.CatAppearance))] 196[SRDescription(nameof(SR.DataGridView_ColumnDefaultCellStyleDescr))] 243throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.DataGridViewColumn_DisplayIndexTooLarge, int.MaxValue)); 250throw new ArgumentOutOfRangeException(nameof(value), value, SR.DataGridViewColumn_DisplayIndexNegative); 255throw new ArgumentOutOfRangeException(nameof(value), value, SR.DataGridViewColumn_DisplayIndexExceedsColumnCount); 277throw new ArgumentOutOfRangeException(nameof(DisplayIndex), value, SR.DataGridViewColumn_DisplayIndexTooNegative); 322[SRCategory(nameof(SR.CatLayout))] 323[SRDescription(nameof(SR.DataGridView_ColumnDividerWidthDescr))] 330[SRCategory(nameof(SR.CatLayout))] 332[SRDescription(nameof(SR.DataGridViewColumn_FillWeightDescr))] 365[SRCategory(nameof(SR.CatLayout))] 366[SRDescription(nameof(SR.DataGridView_ColumnFrozenDescr))] 382[SRCategory(nameof(SR.CatAppearance))] 383[SRDescription(nameof(SR.DataGridView_ColumnHeaderTextDescr))] 606[SRCategory(nameof(SR.CatLayout))] 607[SRDescription(nameof(SR.DataGridView_ColumnMinimumWidthDescr))] 665[SRCategory(nameof(SR.CatBehavior))] 666[SRDescription(nameof(SR.DataGridView_ColumnReadOnlyDescr))] 679throw new InvalidOperationException(SR.DataGridView_ColumnBoundToAReadOnlyFieldMustRemainReadOnly); 686[SRCategory(nameof(SR.CatBehavior))] 687[SRDescription(nameof(SR.DataGridView_ColumnResizableDescr))] 699[SRCategory(nameof(SR.CatBehavior))] 700[SRDescription(nameof(SR.DataGridView_ColumnSortModeDescr))] 730throw new InvalidOperationException(string.Format(SR.DataGridViewColumn_SortModeAndSelectionModeClash, (value).ToString(), DataGridView.SelectionMode.ToString())); 757[SRCategory(nameof(SR.CatAppearance))] 758[SRDescription(nameof(SR.DataGridView_ColumnToolTipTextDescr))] 795[SRCategory(nameof(SR.CatAppearance))] 796[SRDescription(nameof(SR.DataGridView_ColumnVisibleDescr))] 803[SRCategory(nameof(SR.CatLayout))] 805[SRDescription(nameof(SR.DataGridView_ColumnWidthDescr))] 890throw 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))] 513[SRCategory(nameof(SR.CatAppearance))] 515[SRDescription(nameof(SR.DateTimePickerFormatDescr))] 533[SRCategory(nameof(SR.CatPropertyChanged))] 534[SRDescription(nameof(SR.DateTimePickerOnFormatChangedDescr))] 586[SRCategory(nameof(SR.CatBehavior))] 587[SRDescription(nameof(SR.DateTimePickerMaxDateDescr))] 608string.Format(SR.DateTimePickerMaxDate, FormatDateTime(MaxDateTime))); 642[SRCategory(nameof(SR.CatBehavior))] 643[SRDescription(nameof(SR.DateTimePickerMinDateDescr))] 664string.Format(SR.DateTimePickerMinDate, FormatDateTime(MinimumDateTime))); 762[SRCategory(nameof(SR.CatAppearance))] 765[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 786[SRCategory(nameof(SR.CatAppearance))] 787[SRDescription(nameof(SR.DateTimePickerShowNoneDescr))] 798[SRCategory(nameof(SR.CatAppearance))] 799[SRDescription(nameof(SR.DateTimePickerShowUpDownDescr))] 851[SRCategory(nameof(SR.CatBehavior))] 854[SRDescription(nameof(SR.DateTimePickerValueDescr))] 880SR.InvalidBoundArgument, 914[SRCategory(nameof(SR.CatAction))] 915[SRDescription(nameof(SR.DateTimePickerOnCloseUpDescr))] 922[SRCategory(nameof(SR.CatPropertyChanged))] 923[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))] 933[SRCategory(nameof(SR.CatAction))] 934[SRDescription(nameof(SR.valueChangedEventDescr))] 944[SRCategory(nameof(SR.CatAction))] 945[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))] 95[SRCategory(nameof(SR.CatLayout))] 99[SRDescription(nameof(SR.LabelAutoSizeDescr))] 116[SRCategory(nameof(SR.CatPropertyChanged))] 117[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 130[SRCategory(nameof(SR.CatBehavior))] 134[SRDescription(nameof(SR.LabelAutoEllipsisDescr))] 167[SRCategory(nameof(SR.CatAppearance))] 171[SRDescription(nameof(SR.LabelBackgroundImageDescr))] 208[SRCategory(nameof(SR.CatAppearance))] 211[SRDescription(nameof(SR.LabelBorderDescr))] 320[SRCategory(nameof(SR.CatAppearance))] 322[SRDescription(nameof(SR.ButtonFlatStyleDescr))] 366[SRDescription(nameof(SR.ButtonImageDescr))] 367[SRCategory(nameof(SR.CatAppearance))] 413[SRDescription(nameof(SR.ButtonImageIndexDescr))] 414[SRCategory(nameof(SR.CatAppearance))] 462[SRDescription(nameof(SR.ButtonImageIndexDescr))] 463[SRCategory(nameof(SR.CatAppearance))] 502[SRDescription(nameof(SR.ButtonImageListDescr))] 504[SRCategory(nameof(SR.CatAppearance))] 548[SRDescription(nameof(SR.ButtonImageAlignDescr))] 549[SRCategory(nameof(SR.CatAppearance))] 570[SRCategory(nameof(SR.CatAccessibility))] 572[SRDescription(nameof(SR.LiveRegionAutomationLiveSettingDescr))] 637[SRCategory(nameof(SR.CatLayout))] 641[SRDescription(nameof(SR.LabelPreferredHeightDescr))] 647[SRCategory(nameof(SR.CatLayout))] 651[SRDescription(nameof(SR.LabelPreferredWidthDescr))] 690[SRDescription(nameof(SR.LabelTextAlignDescr))] 693[SRCategory(nameof(SR.CatAppearance))] 729[SRCategory(nameof(SR.CatPropertyChanged))] 730[SRDescription(nameof(SR.LabelOnTextAlignChangedDescr))] 741[SRCategory(nameof(SR.CatBehavior))] 742[SRDescription(nameof(SR.UseCompatibleTextRenderingDescr))] 770[SRDescription(nameof(SR.LabelUseMnemonicDescr))] 772[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))] 205[SRCategory(nameof(SR.CatAppearance))] 208[SRDescription(nameof(SR.ListBoxBorderDescr))] 235[SRCategory(nameof(SR.CatBehavior))] 238[SRDescription(nameof(SR.ListBoxColumnWidthDescr))] 344[SRCategory(nameof(SR.CatBehavior))] 389[SRCategory(nameof(SR.CatBehavior))] 391[SRDescription(nameof(SR.ListBoxDrawModeDescr))] 408throw new ArgumentException(SR.ListBoxVarHeightMultiCol, nameof(value)); 466[SRCategory(nameof(SR.CatBehavior))] 469[SRDescription(nameof(SR.ListBoxHorizontalExtentDescr))] 494[SRCategory(nameof(SR.CatBehavior))] 497[SRDescription(nameof(SR.ListBoxHorizontalScrollbarDescr))] 534[SRCategory(nameof(SR.CatBehavior))] 537[SRDescription(nameof(SR.ListBoxIntegralHeightDescr))] 571[SRCategory(nameof(SR.CatBehavior))] 573[SRDescription(nameof(SR.ListBoxItemHeightDescr))] 617[SRCategory(nameof(SR.CatData))] 620[SRDescription(nameof(SR.ListBoxItemsDescr))] 677[SRCategory(nameof(SR.CatBehavior))] 679[SRDescription(nameof(SR.ListBoxMultiColumnDescr))] 692throw new ArgumentException(SR.ListBoxVarHeightMultiCol, nameof(value)); 707[SRDescription(nameof(SR.ListBoxPreferredHeightDescr))] 782[SRCategory(nameof(SR.CatBehavior))] 785[SRDescription(nameof(SR.ListBoxScrollIsVisibleDescr))] 825[SRDescription(nameof(SR.ListBoxSelectedIndexDescr))] 856throw new ArgumentException(SR.ListBoxInvalidSelectionMode, nameof(value)); 914[SRDescription(nameof(SR.ListBoxSelectedIndicesDescr))] 936[SRDescription(nameof(SR.ListBoxSelectedItemDescr))] 973[SRDescription(nameof(SR.ListBoxSelectedItemsDescr))] 988[SRCategory(nameof(SR.CatBehavior))] 990[SRDescription(nameof(SR.ListBoxSelectionModeDescr))] 1028[SRCategory(nameof(SR.CatBehavior))] 1030[SRDescription(nameof(SR.ListBoxSortedDescr))] 1114[SRDescription(nameof(SR.ListBoxTopIndexDescr))] 1135[SRCategory(nameof(SR.CatBehavior))] 1137[SRDescription(nameof(SR.ListBoxUseTabStopsDescr))] 1158[SRCategory(nameof(SR.CatBehavior))] 1159[SRDescription(nameof(SR.ListBoxCustomTabOffsetsDescr))] 1230[SRCategory(nameof(SR.CatBehavior))] 1231[SRDescription(nameof(SR.drawItemEventDescr))] 1238[SRCategory(nameof(SR.CatBehavior))] 1239[SRDescription(nameof(SR.measureItemEventDescr))] 1246[SRCategory(nameof(SR.CatBehavior))] 1247[SRDescription(nameof(SR.selectedIndexChangedEventDescr))] 1279throw new ArgumentException(SR.DataSourceLocksItems); 1546throw new OutOfMemoryException(SR.ListBoxItemOverflow); 1602throw new OutOfMemoryException(SR.ListBoxItemOverflow); 2151throw 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))] 737_defaultGroup ??= new ListViewGroup(string.Format(SR.ListViewGroupDefaultGroup, "1")) 798[SRCategory(nameof(SR.CatAppearance))] 801[SRDescription(nameof(SR.ListViewFocusedItemDescr))] 869[SRCategory(nameof(SR.CatAppearance))] 871[SRDescription(nameof(SR.ListViewFullRowSelectDescr))] 892[SRCategory(nameof(SR.CatAppearance))] 894[SRDescription(nameof(SR.ListViewGridLinesDescr))] 930[SRCategory(nameof(SR.CatBehavior))] 932[SRDescription(nameof(SR.ListViewGroupImageListDescr))] 963[SRCategory(nameof(SR.CatBehavior))] 967[SRDescription(nameof(SR.ListViewGroupsDescr))] 991[SRCategory(nameof(SR.CatBehavior))] 993[SRDescription(nameof(SR.ListViewHeaderStyleDescr))] 1026[SRCategory(nameof(SR.CatBehavior))] 1028[SRDescription(nameof(SR.ListViewHideSelectionDescr))] 1046[SRCategory(nameof(SR.CatBehavior))] 1048[SRDescription(nameof(SR.ListViewHotTrackingDescr))] 1074[SRCategory(nameof(SR.CatBehavior))] 1076[SRDescription(nameof(SR.ListViewHoverSelectDescr))] 1090throw new ArgumentException(SR.ListViewHoverMustBeOnWhenHotTrackingIsOn, nameof(value)); 1109[SRDescription(nameof(SR.ListViewInsertionMarkDescr))] 1132[SRCategory(nameof(SR.CatBehavior))] 1136[SRDescription(nameof(SR.ListViewItemsDescr))] 1149[SRCategory(nameof(SR.CatBehavior))] 1151[SRDescription(nameof(SR.ListViewLabelEditDescr))] 1171[SRCategory(nameof(SR.CatBehavior))] 1174[SRDescription(nameof(SR.ListViewLabelWrapDescr))] 1194[SRCategory(nameof(SR.CatBehavior))] 1196[SRDescription(nameof(SR.ListViewLargeImageListDescr))] 1247[SRCategory(nameof(SR.CatBehavior))] 1250[SRDescription(nameof(SR.ListViewItemSorterDescr))] 1274[SRCategory(nameof(SR.CatBehavior))] 1276[SRDescription(nameof(SR.ListViewMultiSelectDescr))] 1297[SRCategory(nameof(SR.CatBehavior))] 1299[SRDescription(nameof(SR.ListViewOwnerDrawDescr))] 1322[SRCategory(nameof(SR.CatAppearance))] 1325[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 1346[SRCategory(nameof(SR.CatPropertyChanged))] 1347[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))] 1357[SRCategory(nameof(SR.CatBehavior))] 1359[SRDescription(nameof(SR.ListViewScrollableDescr))] 1394[SRCategory(nameof(SR.CatAppearance))] 1397[SRDescription(nameof(SR.ListViewSelectedItemsDescr))] 1408[SRCategory(nameof(SR.CatBehavior))] 1410[SRDescription(nameof(SR.ListViewShowGroupsDescr))] 1433[SRCategory(nameof(SR.CatBehavior))] 1435[SRDescription(nameof(SR.ListViewSmallImageListDescr))] 1474[SRCategory(nameof(SR.CatBehavior))] 1476[SRDescription(nameof(SR.ListViewShowItemToolTipsDescr))] 1493[SRCategory(nameof(SR.CatBehavior))] 1495[SRDescription(nameof(SR.ListViewSortingDescr))] 1539[SRCategory(nameof(SR.CatBehavior))] 1541[SRDescription(nameof(SR.ListViewStateImageListDescr))] 1636[SRCategory(nameof(SR.CatAppearance))] 1638[SRDescription(nameof(SR.ListViewTileSizeDescr))] 1672throw new ArgumentOutOfRangeException(nameof(TileSize), SR.ListViewTileSizeMustBePositive); 1704[SRCategory(nameof(SR.CatAppearance))] 1707[SRDescription(nameof(SR.ListViewTopItemDescr))] 1714throw new InvalidOperationException(SR.ListViewGetTopItem); 1729throw new InvalidOperationException(SR.ListViewSetTopItem); 1798[SRCategory(nameof(SR.CatAppearance))] 1800[SRDescription(nameof(SR.ListViewViewDescr))] 1811throw new NotSupportedException(SR.ListViewTileViewDoesNotSupportCheckBoxes); 1821throw new NotSupportedException(SR.ListViewCantSetViewToTileViewInVirtualMode); 1848[SRCategory(nameof(SR.CatBehavior))] 1851[SRDescription(nameof(SR.ListViewVirtualListSizeDescr))] 1862throw new ArgumentException(string.Format(SR.ListViewVirtualListSizeInvalidArgument, "value", value)); 1898[SRCategory(nameof(SR.CatBehavior))] 1901[SRDescription(nameof(SR.ListViewVirtualModeDescr))] 1917throw new InvalidOperationException(SR.ListViewVirtualListViewRequiresNoItems); 1922throw new InvalidOperationException(SR.ListViewVirtualListViewRequiresNoCheckedItems); 1927throw new InvalidOperationException(SR.ListViewVirtualListViewRequiresNoSelectedItems); 1933throw new NotSupportedException(SR.ListViewCantSetVirtualModeWhenInTileView); 1942[SRCategory(nameof(SR.CatBehavior))] 1943[SRDescription(nameof(SR.ListViewAfterLabelEditDescr))] 1950[SRCategory(nameof(SR.CatBehavior))] 1951[SRDescription(nameof(SR.ListViewBeforeLabelEditDescr))] 1958[SRCategory(nameof(SR.CatAction))] 1959[SRDescription(nameof(SR.ListViewCacheVirtualItemsEventDescr))] 1966[SRCategory(nameof(SR.CatAction))] 1967[SRDescription(nameof(SR.ListViewColumnClickDescr))] 1977[SRCategory(nameof(SR.CatAction))] 1978[SRDescription(nameof(SR.ListViewGroupTaskLinkClickDescr))] 1988[SRCategory(nameof(SR.CatPropertyChanged))] 1989[SRDescription(nameof(SR.ListViewColumnReorderedDscr))] 1999[SRCategory(nameof(SR.CatPropertyChanged))] 2000[SRDescription(nameof(SR.ListViewColumnWidthChangedDscr))] 2010[SRCategory(nameof(SR.CatPropertyChanged))] 2011[SRDescription(nameof(SR.ListViewColumnWidthChangingDscr))] 2021[SRCategory(nameof(SR.CatBehavior))] 2022[SRDescription(nameof(SR.ListViewDrawColumnHeaderEventDescr))] 2032[SRCategory(nameof(SR.CatBehavior))] 2033[SRDescription(nameof(SR.ListViewDrawItemEventDescr))] 2043[SRCategory(nameof(SR.CatBehavior))] 2044[SRDescription(nameof(SR.ListViewDrawSubItemEventDescr))] 2051[SRCategory(nameof(SR.CatAction))] 2052[SRDescription(nameof(SR.ListViewItemClickDescr))] 2059[SRCategory(nameof(SR.CatBehavior))] 2060[SRDescription(nameof(SR.CheckedListBoxItemCheckDescr))] 2067[SRCategory(nameof(SR.CatBehavior))] 2068[SRDescription(nameof(SR.ListViewItemCheckedDescr))] 2075[SRCategory(nameof(SR.CatAction))] 2076[SRDescription(nameof(SR.ListViewItemDragDescr))] 2083[SRCategory(nameof(SR.CatAction))] 2084[SRDescription(nameof(SR.ListViewItemMouseHoverDescr))] 2091[SRCategory(nameof(SR.CatBehavior))] 2092[SRDescription(nameof(SR.ListViewItemSelectionChangedDescr))] 2102[SRCategory(nameof(SR.CatBehavior))] 2103[SRDescription(nameof(SR.ListViewGroupCollapsedStateChangedDescr))] 2138[SRCategory(nameof(SR.CatAction))] 2139[SRDescription(nameof(SR.ListViewRetrieveVirtualItemEventDescr))] 2146[SRCategory(nameof(SR.CatAction))] 2147[SRDescription(nameof(SR.ListViewSearchForVirtualItemDescr))] 2154[SRCategory(nameof(SR.CatBehavior))] 2155[SRDescription(nameof(SR.ListViewSelectedIndexChangedDescr))] 2162[SRCategory(nameof(SR.CatBehavior))] 2163[SRDescription(nameof(SR.ListViewVirtualItemsSelectionRangeChangedDescr))] 2256throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(value), value), nameof(value)); 3217throw new InvalidOperationException(SR.ListViewFindNearestItemWorksOnlyInIconView); 3222throw new ArgumentOutOfRangeException(nameof(searchDirection), searchDirection, string.Format(SR.InvalidArgument, nameof(searchDirection), searchDirection)); 3594string.Format(SR.InvalidArgument, nameof(index), index)) 3671string.Format(SR.InvalidArgument, nameof(itemIndex), itemIndex)) 3817throw new ArgumentException(string.Format(SR.OnlyOneControl, ch.Text), nameof(ch)); 3828throw new InvalidOperationException(SR.ListViewAddColumnFailed); 4013throw new ArgumentException(string.Format(SR.OnlyOneControl, items[i].Text), nameof(items)); 4040throw new ArgumentException(string.Format(SR.OnlyOneControl, item.Text), nameof(items)); 4206throw new InvalidOperationException(SR.ListViewAddItemFailed); 4423? string.Format(SR.ListViewGroupCollapsedStateName, listViewGroup.Header) 4424: string.Format(SR.ListViewGroupExpandedStateName, listViewGroup.Header)); 4988throw new ArgumentException(SR.ListViewStartIndexCannotBeLargerThanEndIndex); 5234throw new InvalidOperationException(SR.ListViewColumnInfoSet); 5529throw new InvalidOperationException(SR.ListViewSortNotAllowedInVirtualListView); 6752ListViewItem lvItem = rVI.Item ?? throw new InvalidOperationException(SR.ListViewVirtualItemRequired); 6766throw 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))] 168[SRDescription(nameof(SR.MonthCalendarAnnuallyBoldedDatesDescr))] 195[SRDescription(nameof(SR.MonthCalendarMonthBackColorDescr))] 269[SRCategory(nameof(SR.CatAppearance))] 271[SRDescription(nameof(SR.MonthCalendarDimensionsDescr))] 370[SRCategory(nameof(SR.CatBehavior))] 373[SRDescription(nameof(SR.MonthCalendarFirstDayOfWeekDescr))] 411[SRDescription(nameof(SR.MonthCalendarForeColorDescr))] 448[SRCategory(nameof(SR.CatBehavior))] 449[SRDescription(nameof(SR.MonthCalendarMaxDateDescr))] 472[SRCategory(nameof(SR.CatBehavior))] 474[SRDescription(nameof(SR.MonthCalendarMaxSelectionCountDescr))] 491throw new ArgumentException(string.Format(SR.MonthCalendarMaxSelCount, value.ToString("D")), nameof(value)); 504[SRCategory(nameof(SR.CatBehavior))] 505[SRDescription(nameof(SR.MonthCalendarMinDateDescr))] 528[SRDescription(nameof(SR.MonthCalendarMonthlyBoldedDatesDescr))] 577[SRCategory(nameof(SR.CatAppearance))] 580[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 605[SRCategory(nameof(SR.CatBehavior))] 607[SRDescription(nameof(SR.MonthCalendarScrollChangeDescr))] 633[SRCategory(nameof(SR.CatBehavior))] 636[SRDescription(nameof(SR.MonthCalendarSelectionEndDescr))] 670[SRCategory(nameof(SR.CatBehavior))] 673[SRDescription(nameof(SR.MonthCalendarSelectionStartDescr))] 707[SRCategory(nameof(SR.CatBehavior))] 708[SRDescription(nameof(SR.MonthCalendarSelectionRangeDescr))] 720[SRCategory(nameof(SR.CatBehavior))] 722[SRDescription(nameof(SR.MonthCalendarShowTodayDescr))] 743[SRCategory(nameof(SR.CatBehavior))] 745[SRDescription(nameof(SR.MonthCalendarShowTodayCircleDescr))] 765[SRCategory(nameof(SR.CatBehavior))] 768[SRDescription(nameof(SR.MonthCalendarShowWeekNumbersDescr))] 792[SRCategory(nameof(SR.CatAppearance))] 795[SRDescription(nameof(SR.MonthCalendarSingleMonthSizeDescr))] 805throw new InvalidOperationException(SR.InvalidSingleMonthSize); 853[SRCategory(nameof(SR.CatBehavior))] 854[SRDescription(nameof(SR.MonthCalendarTodayDateDescr))] 897[SRCategory(nameof(SR.CatBehavior))] 900[SRDescription(nameof(SR.MonthCalendarTodayDateSetDescr))] 906[SRCategory(nameof(SR.CatAppearance))] 907[SRDescription(nameof(SR.MonthCalendarTitleBackColorDescr))] 915throw new ArgumentException(string.Format(SR.InvalidNullArgument, nameof(value)), nameof(value)); 927[SRCategory(nameof(SR.CatAppearance))] 928[SRDescription(nameof(SR.MonthCalendarTitleForeColorDescr))] 936throw new ArgumentException(string.Format(SR.InvalidNullArgument, nameof(value)), nameof(value)); 948[SRCategory(nameof(SR.CatAppearance))] 949[SRDescription(nameof(SR.MonthCalendarTrailingForeColorDescr))] 957throw new ArgumentException(string.Format(SR.InvalidNullArgument, nameof(value)), nameof(value)); 1011[SRCategory(nameof(SR.CatAction))] 1012[SRDescription(nameof(SR.MonthCalendarOnDateChangedDescr))] 1019[SRCategory(nameof(SR.CatAction))] 1020[SRDescription(nameof(SR.MonthCalendarOnDateSelectedDescr))] 1065[SRCategory(nameof(SR.CatPropertyChanged))] 1066[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))] 1746string.Format(SR.MonthCalendarRange, minDate.ToShortDateString(), maxDate.ToShortDateString())); 1760throw new ArgumentOutOfRangeException(nameof(x), string.Format(SR.MonthCalendarInvalidDimensions, (x).ToString("D", CultureInfo.CurrentCulture), (y).ToString("D", CultureInfo.CurrentCulture))); 1765throw 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))] 133[SRCategory(nameof(SR.CatAppearance))] 135[SRDescription(nameof(SR.PictureBoxBorderStyleDescr))] 170[SRCategory(nameof(SR.CatAsynchronous))] 171[SRDescription(nameof(SR.PictureBoxCancelAsyncDescr))] 224[SRCategory(nameof(SR.CatAsynchronous))] 227[SRDescription(nameof(SR.PictureBoxErrorImageDescr))] 297[SRCategory(nameof(SR.CatAppearance))] 300[SRDescription(nameof(SR.PictureBoxImageDescr))] 308[SRCategory(nameof(SR.CatAsynchronous))] 312[SRDescription(nameof(SR.PictureBoxImageLocationDescr))] 383[SRCategory(nameof(SR.CatAsynchronous))] 386[SRDescription(nameof(SR.PictureBoxInitialImageDescr))] 457[SRCategory(nameof(SR.CatAsynchronous))] 458[SRDescription(nameof(SR.PictureBoxLoad0Descr))] 463throw new InvalidOperationException(SR.PictureBoxNoImageLocation); 492throw new NotSupportedException(SR.PictureBoxRemoteLocationNotSupported); 509[SRCategory(nameof(SR.CatAsynchronous))] 510[SRDescription(nameof(SR.PictureBoxLoad1Descr))] 517[SRCategory(nameof(SR.CatAsynchronous))] 518[SRDescription(nameof(SR.PictureBoxLoadAsync0Descr))] 523throw new InvalidOperationException(SR.PictureBoxNoImageLocation); 565throw new NotSupportedException(SR.PictureBoxRemoteLocationNotSupported); 740[SRCategory(nameof(SR.CatAsynchronous))] 741[SRDescription(nameof(SR.PictureBoxLoadAsync1Descr))] 748[SRCategory(nameof(SR.CatAsynchronous))] 749[SRDescription(nameof(SR.PictureBoxLoadCompletedDescr))] 756[SRCategory(nameof(SR.CatAsynchronous))] 757[SRDescription(nameof(SR.PictureBoxLoadProgressChangedDescr))] 819[SRCategory(nameof(SR.CatBehavior))] 821[SRDescription(nameof(SR.PictureBoxSizeModeDescr))] 855[SRCategory(nameof(SR.CatPropertyChanged))] 856[SRDescription(nameof(SR.PictureBoxOnSizeModeChangedDescr))] 1189[SRCategory(nameof(SR.CatAsynchronous))] 1192[SRDescription(nameof(SR.PictureBoxWaitOnLoadDescr))]
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (20)
16[SRDescription(nameof(SR.DescriptionProgressBar))] 114[SRCategory(nameof(SR.CatBehavior))] 115[SRDescription(nameof(SR.ProgressBarStyleDescr))] 229[SRCategory(nameof(SR.CatBehavior))] 230[SRDescription(nameof(SR.ProgressBarMarqueeAnimationSpeed))] 268[SRCategory(nameof(SR.CatBehavior))] 270[SRDescription(nameof(SR.ProgressBarMaximumDescr))] 306[SRCategory(nameof(SR.CatBehavior))] 308[SRDescription(nameof(SR.ProgressBarMinimumDescr))] 380[SRCategory(nameof(SR.CatAppearance))] 383[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 400[SRCategory(nameof(SR.CatPropertyChanged))] 401[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))] 413[SRCategory(nameof(SR.CatBehavior))] 414[SRDescription(nameof(SR.ProgressBarStepDescr))] 466[SRCategory(nameof(SR.CatBehavior))] 468[SRDescription(nameof(SR.ProgressBarValueDescr))] 478throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, nameof(Value), value, nameof(Minimum), nameof(Maximum))); 574throw new InvalidOperationException(SR.ProgressBarIncrementMarqueeException); 645throw 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))] 395[SRDescription(nameof(SR.PropertyGridCanShowCommandsDesc))] 401[SRCategory(nameof(SR.CatAppearance))] 402[SRDescription(nameof(SR.PropertyGridCategoryForeColorDesc))] 420[SRCategory(nameof(SR.CatAppearance))] 421[SRDescription(nameof(SR.PropertyGridCommandsBackColorDesc))] 435[SRCategory(nameof(SR.CatAppearance))] 436[SRDescription(nameof(SR.PropertyGridCommandsForeColorDesc))] 450[SRCategory(nameof(SR.CatAppearance))] 451[SRDescription(nameof(SR.PropertyGridCommandsLinkColorDesc))] 461[SRCategory(nameof(SR.CatAppearance))] 462[SRDescription(nameof(SR.PropertyGridCommandsActiveLinkColorDesc))] 472[SRCategory(nameof(SR.CatAppearance))] 473[SRDescription(nameof(SR.PropertyGridCommandsDisabledLinkColorDesc))] 483[SRCategory(nameof(SR.CatAppearance))] 484[SRDescription(nameof(SR.PropertyGridCommandsBorderColorDesc))] 503[SRCategory(nameof(SR.CatAppearance))] 505[SRDescription(nameof(SR.PropertyGridCommandsVisibleIfAvailable))] 622[SRCategory(nameof(SR.CatAppearance))] 623[SRDescription(nameof(SR.PropertyGridHelpBackColorDesc))] 634[SRCategory(nameof(SR.CatAppearance))] 635[SRDescription(nameof(SR.PropertyGridHelpForeColorDesc))] 646[SRCategory(nameof(SR.CatAppearance))] 647[SRDescription(nameof(SR.PropertyGridHelpBorderColorDesc))] 658[SRCategory(nameof(SR.CatAppearance))] 661[SRDescription(nameof(SR.PropertyGridHelpVisibleDesc))] 694[SRCategory(nameof(SR.CatAppearance))] 695[SRDescription(nameof(SR.PropertyGridSelectedItemWithFocusBackColorDesc))] 713[SRCategory(nameof(SR.CatAppearance))] 714[SRDescription(nameof(SR.PropertyGridSelectedItemWithFocusForeColorDesc))] 732[SRCategory(nameof(SR.CatAppearance))] 733[SRDescription(nameof(SR.PropertyGridDisabledItemForeColorDesc))] 748[SRCategory(nameof(SR.CatAppearance))] 749[SRDescription(nameof(SR.PropertyGridCategorySplitterColorDesc))] 768[SRCategory(nameof(SR.CatAppearance))] 769[SRDescription(nameof(SR.PropertyGridCanShowVisualStyleGlyphsDesc))] 784[SRCategory(nameof(SR.CatAppearance))] 785[SRDescription(nameof(SR.PropertyGridLineColorDesc))] 824[SRCategory(nameof(SR.CatAppearance))] 826[SRDescription(nameof(SR.PropertyGridPropertySortDesc))] 882[SRDescription(nameof(SR.PropertyGridSelectedObjectDesc))] 883[SRCategory(nameof(SR.CatBehavior))] 920throw new ArgumentException(string.Format(SR.PropertyGridSetNull, count, value.Length)); 1184[SRCategory(nameof(SR.CatAppearance))] 1185[SRDescription(nameof(SR.PropertyGridLargeButtonsDesc))] 1232[SRCategory(nameof(SR.CatAppearance))] 1234[SRDescription(nameof(SR.PropertyGridToolbarVisibleDesc))] 1263[SRCategory(nameof(SR.CatAppearance))] 1264[SRDescription(nameof(SR.PropertyGridViewBackColorDesc))] 1276[SRCategory(nameof(SR.CatAppearance))] 1277[SRDescription(nameof(SR.PropertyGridViewForeColorDesc))] 1292[SRCategory(nameof(SR.CatAppearance))] 1293[SRDescription(nameof(SR.PropertyGridViewBorderColorDesc))] 1397[SRCategory(nameof(SR.CatPropertyChanged))] 1398[SRDescription(nameof(SR.PropertyGridPropertyValueChangedDescr))] 1414[SRCategory(nameof(SR.CatPropertyChanged))] 1415[SRDescription(nameof(SR.PropertyGridPropertyTabchangedDescr))] 1425[SRCategory(nameof(SR.CatPropertyChanged))] 1426[SRDescription(nameof(SR.PropertyGridPropertySortChangedDescr))] 1436[SRCategory(nameof(SR.CatPropertyChanged))] 1437[SRDescription(nameof(SR.PropertyGridSelectedGridItemChangedDescr))] 1444[SRCategory(nameof(SR.CatPropertyChanged))] 1445[SRDescription(nameof(SR.PropertyGridSelectedObjectsChangedDescr))] 1581throw new ArgumentException(SR.PropertyGridTabScope, nameof(tabScope)); 1691throw new ArgumentException(string.Format(SR.PropertyGridNoBitmap, tab.GetType().FullName)); 1696throw new ArgumentException(string.Format(SR.PropertyGridTabName, tab.GetType().FullName)); 2962string.Format(SR.PropertyGridPropertyValueSelectedFormat, changedItem.Value)); 3180string error = SR.ErrorPropertyPageFailed; 3190SR.PropertyGridTitle, 3423throw new ArgumentException(SR.PropertyGridTabScope); 3526throw new ArgumentException(SR.PropertyGridRemoveStaticTabs); 3569throw new ArgumentException(SR.PropertyGridRemoveStaticTabs); 3880SR.PBRSToolTipAlphabetic, 3885SR.PBRSToolTipCategorized, 3957SR.PBRSToolTipPropertyPages, 4198[SRCategory(nameof(SR.CatBehavior))] 4199[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)
123? SR.PropertyGridDropDownButtonComboBoxAccessibleName 124: SR.PropertyGridDropDownButtonAccessibleName;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1105SR.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)
504throw new ArgumentException(SR.PropertyGridInvalidGridEntry); 1446SR.ExpandedStateName); 4944ErrorDialog.Message = SR.PBRSFormatExceptionMessage; 4945ErrorDialog.Text = SR.PBRSErrorTitle; 5017ErrorDialog.Message = SR.PBRSErrorInvalidPropertyValue; 5018ErrorDialog.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))] 1402[SRCategory(nameof(SR.CatBehavior))] 1405[SRDescription(nameof(SR.RichTextBoxUndoActionNameDescr))] 1425return SR.RichTextBox_IDUnknown; 1427return SR.RichTextBox_IDTyping; 1429return SR.RichTextBox_IDDelete; 1431return SR.RichTextBox_IDDragDrop; 1433return SR.RichTextBox_IDCut; 1435return SR.RichTextBox_IDPaste; 1447[SRCategory(nameof(SR.CatBehavior))] 1450[SRDescription(nameof(SR.RichTextBoxZoomFactor))] 1492[SRCategory(nameof(SR.CatBehavior))] 1493[SRDescription(nameof(SR.RichTextBoxContentsResized))] 1554[SRCategory(nameof(SR.CatBehavior))] 1555[SRDescription(nameof(SR.RichTextBoxHScroll))] 1562[SRCategory(nameof(SR.CatBehavior))] 1563[SRDescription(nameof(SR.RichTextBoxLinkClick))] 1570[SRCategory(nameof(SR.CatBehavior))] 1571[SRDescription(nameof(SR.RichTextBoxIMEChange))] 1578[SRCategory(nameof(SR.CatBehavior))] 1579[SRDescription(nameof(SR.RichTextBoxProtected))] 1586[SRCategory(nameof(SR.CatBehavior))] 1587[SRDescription(nameof(SR.RichTextBoxSelChange))] 1594[SRCategory(nameof(SR.CatBehavior))] 1595[SRDescription(nameof(SR.RichTextBoxVScroll))] 1852throw new ArgumentOutOfRangeException(nameof(end), end, string.Format(SR.RichTextFindEndInvalid, end)); 1862throw new ArgumentException(string.Format(SR.RichTextFindEndInvalid, end)); 2339throw new ArgumentException(SR.InvalidFileType); 2712_ => throw new ArgumentException(SR.UnknownAttr), 2871throw new ArgumentException(SR.InvalidFileFormat, ex); 2878throw new ArgumentException(SR.InvalidFileFormat); 2932throw new InvalidOperationException(SR.LoadTextError); 3023throw new InvalidOperationException(SR.SaveTextError); 3202throw new OutOfMemoryException(SR.OutOfMemory);
System\Windows\Forms\Controls\Splitter\Splitter.cs (14)
18[SRDescription(nameof(SR.DescriptionSplitter))] 178[SRCategory(nameof(SR.CatAppearance))] 180[SRDescription(nameof(SR.SplitterBorderStyleDescr))] 245throw new ArgumentException(SR.SplitterInvalidDockEnum); 307[SRCategory(nameof(SR.CatBehavior))] 310[SRDescription(nameof(SR.SplitterMinExtraDescr))] 333[SRCategory(nameof(SR.CatBehavior))] 336[SRDescription(nameof(SR.SplitterMinSizeDescr))] 358[SRCategory(nameof(SR.CatLayout))] 361[SRDescription(nameof(SR.SplitterSplitPositionDescr))] 501[SRCategory(nameof(SR.CatBehavior))] 502[SRDescription(nameof(SR.SplitterSplitterMovingDescr))] 509[SRCategory(nameof(SR.CatBehavior))] 510[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))] 98[SRCategory(nameof(SR.CatBehavior))] 102[SRDescription(nameof(SR.TabBaseAlignmentDescr))] 134[SRCategory(nameof(SR.CatBehavior))] 137[SRDescription(nameof(SR.TabBaseAppearanceDescr))] 399[SRCategory(nameof(SR.CatBehavior))] 401[SRDescription(nameof(SR.TabBaseDrawModeDescr))] 425[SRCategory(nameof(SR.CatBehavior))] 427[SRDescription(nameof(SR.TabBaseHotTrackDescr))] 448[SRCategory(nameof(SR.CatAppearance))] 451[SRDescription(nameof(SR.TabBaseImageListDescr))] 497[SRCategory(nameof(SR.CatBehavior))] 499[SRDescription(nameof(SR.TabBaseItemSizeDescr))] 522throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(ItemSize), value)); 553[SRCategory(nameof(SR.CatBehavior))] 555[SRDescription(nameof(SR.TabBaseMultilineDescr))] 578[SRCategory(nameof(SR.CatBehavior))] 580[SRDescription(nameof(SR.TabBasePaddingDescr))] 591throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(Padding), value)); 610[SRCategory(nameof(SR.CatAppearance))] 613[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 640[SRCategory(nameof(SR.CatAppearance))] 643[SRDescription(nameof(SR.TabBaseRowCountDescr))] 654[SRCategory(nameof(SR.CatBehavior))] 656[SRDescription(nameof(SR.selectedIndexDescr))] 719[SRCategory(nameof(SR.CatAppearance))] 722[SRDescription(nameof(SR.TabControlSelectedTabDescr))] 749[SRCategory(nameof(SR.CatBehavior))] 751[SRDescription(nameof(SR.TabBaseSizeModeDescr))] 775[SRCategory(nameof(SR.CatBehavior))] 778[SRDescription(nameof(SR.TabBaseShowToolTipsDescr))] 797[SRCategory(nameof(SR.CatAppearance))] 800[SRDescription(nameof(SR.TabBaseTabCountDescr))] 806[SRCategory(nameof(SR.CatBehavior))] 807[SRDescription(nameof(SR.TabControlTabsDescr))] 837[SRCategory(nameof(SR.CatBehavior))] 838[SRDescription(nameof(SR.drawItemEventDescr))] 845[SRCategory(nameof(SR.CatPropertyChanged))] 846[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))] 853[SRCategory(nameof(SR.CatBehavior))] 854[SRDescription(nameof(SR.selectedIndexChangedEventDescr))] 864[SRCategory(nameof(SR.CatAction))] 865[SRDescription(nameof(SR.TabControlSelectingEventDescr))] 875[SRCategory(nameof(SR.CatAction))] 876[SRDescription(nameof(SR.TabControlSelectedEventDescr))] 886[SRCategory(nameof(SR.CatAction))] 887[SRDescription(nameof(SR.TabControlDeselectingEventDescr))] 897[SRCategory(nameof(SR.CatAction))] 898[SRDescription(nameof(SR.TabControlDeselectedEventDescr))] 1132throw new ArgumentException(SR.TabControlBadControl, nameof(item));
System\Windows\Forms\Controls\TabControl\TabPage.cs (10)
82[SRCategory(nameof(SR.CatPropertyChanged))] 83[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 96[SRCategory(nameof(SR.CatAppearance))] 97[SRDescription(nameof(SR.ControlBackColorDescr))] 225[SRDescription(nameof(SR.TabItemImageIndexDescr))] 252[SRDescription(nameof(SR.TabItemImageIndexDescr))] 311[SRCategory(nameof(SR.CatAppearance))] 312[SRDescription(nameof(SR.TabItemUseVisualStyleBackColorDescr))] 439[SRDescription(nameof(SR.TabItemToolTipTextDescr))] 487throw 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))] 762throw new ArgumentException(SR.AutoCompleteFailure); 840[SRDescription(nameof(SR.TextBoxPlaceholderTextDescr))]
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (50)
118[SRCategory(nameof(SR.CatBehavior))] 120[SRDescription(nameof(SR.TextBoxAcceptsTabDescr))] 137[SRCategory(nameof(SR.CatPropertyChanged))] 138[SRDescription(nameof(SR.TextBoxBaseOnAcceptsTabChangedDescr))] 150[SRCategory(nameof(SR.CatBehavior))] 152[SRDescription(nameof(SR.TextBoxShortcutsEnabledDescr))] 240[SRCategory(nameof(SR.CatBehavior))] 243[SRDescription(nameof(SR.TextBoxAutoSizeDescr))] 279[SRCategory(nameof(SR.CatAppearance))] 281[SRDescription(nameof(SR.ControlBackColorDescr))] 346[SRCategory(nameof(SR.CatAppearance))] 349[SRDescription(nameof(SR.TextBoxBorderDescr))] 373[SRCategory(nameof(SR.CatPropertyChanged))] 374[SRDescription(nameof(SR.TextBoxBaseOnBorderStyleChangedDescr))] 388[SRCategory(nameof(SR.CatBehavior))] 391[SRDescription(nameof(SR.TextBoxCanUndoDescr))] 493[SRCategory(nameof(SR.CatAppearance))] 495[SRDescription(nameof(SR.ControlForeColorDescr))] 516[SRCategory(nameof(SR.CatBehavior))] 518[SRDescription(nameof(SR.TextBoxHideSelectionDescr))] 537[SRCategory(nameof(SR.CatPropertyChanged))] 538[SRDescription(nameof(SR.TextBoxBaseOnHideSelectionChangedDescr))] 560[SRCategory(nameof(SR.CatAppearance))] 565[SRDescription(nameof(SR.TextBoxLinesDescr))] 630[SRCategory(nameof(SR.CatBehavior))] 633[SRDescription(nameof(SR.TextBoxMaxLengthDescr))] 656[SRCategory(nameof(SR.CatBehavior))] 659[SRDescription(nameof(SR.TextBoxModifiedDescr))] 699[SRCategory(nameof(SR.CatPropertyChanged))] 700[SRDescription(nameof(SR.TextBoxBaseOnModifiedChangedDescr))] 711[SRCategory(nameof(SR.CatBehavior))] 714[SRDescription(nameof(SR.TextBoxMultilineDescr))] 749[SRCategory(nameof(SR.CatPropertyChanged))] 750[SRDescription(nameof(SR.TextBoxBaseOnMultilineChangedDescr))] 769[SRCategory(nameof(SR.CatLayout))] 770[SRDescription(nameof(SR.ControlOnPaddingChangedDescr))] 788[SRCategory(nameof(SR.CatLayout))] 792[SRDescription(nameof(SR.TextBoxPreferredHeightDescr))] 918[SRCategory(nameof(SR.CatBehavior))] 921[SRDescription(nameof(SR.TextBoxReadOnlyDescr))] 945[SRCategory(nameof(SR.CatPropertyChanged))] 946[SRDescription(nameof(SR.TextBoxBaseOnReadOnlyChangedDescr))] 956[SRCategory(nameof(SR.CatAppearance))] 960[SRDescription(nameof(SR.TextBoxSelectedTextDescr))] 1011[SRCategory(nameof(SR.CatAppearance))] 1014[SRDescription(nameof(SR.TextBoxSelectionLengthDescr))] 1038[SRCategory(nameof(SR.CatAppearance))] 1041[SRDescription(nameof(SR.TextBoxSelectionStartDescr))] 1142[SRCategory(nameof(SR.CatBehavior))] 1145[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))] 42[SRDescription(nameof(SR.ToolStripCanOverflowDescr))] 43[SRCategory(nameof(SR.CatLayout))] 148[SRDescription(nameof(SR.ToolStripShowItemToolTipsDescr))] 149[SRCategory(nameof(SR.CatBehavior))] 179[SRCategory(nameof(SR.CatAppearance))] 181[SRDescription(nameof(SR.StatusStripSizingGripDescr))] 226[SRCategory(nameof(SR.CatLayout))] 227[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))] 4066throw 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))] 447[SRCategory(nameof(SR.CatData))] 448[SRDescription(nameof(SR.CommandComponentCommandParameterDescr))] 466[SRCategory(nameof(SR.CatData))] 468[SRDescription(nameof(SR.CommandParameterChangedEventDescr))] 483[SRCategory(nameof(SR.CatAppearance))] 486[SRDescription(nameof(SR.ControlBackgroundImageLayoutDescr))] 503[SRCategory(nameof(SR.CatAppearance))] 504[SRDescription(nameof(SR.ToolStripItemBackColorDescr))] 534[SRCategory(nameof(SR.CatPropertyChanged))] 535[SRDescription(nameof(SR.ToolStripItemOnBackColorChangedDescr))] 586[SRCategory(nameof(SR.CatAction))] 587[SRDescription(nameof(SR.ToolStripItemOnClickDescr))] 696[SRCategory(nameof(SR.CatAppearance))] 697[SRDescription(nameof(SR.ToolStripItemDisplayStyleDescr))] 732[SRCategory(nameof(SR.CatAction))] 733[SRDescription(nameof(SR.ControlOnDoubleClickDescr))] 741[SRCategory(nameof(SR.CatBehavior))] 742[SRDescription(nameof(SR.ToolStripItemDoubleClickedEnabledDescr))] 749[SRCategory(nameof(SR.CatDragDrop))] 750[SRDescription(nameof(SR.ToolStripItemOnDragDropDescr))] 759[SRCategory(nameof(SR.CatDragDrop))] 760[SRDescription(nameof(SR.ToolStripItemOnDragEnterDescr))] 769[SRCategory(nameof(SR.CatDragDrop))] 770[SRDescription(nameof(SR.ToolStripItemOnDragOverDescr))] 779[SRCategory(nameof(SR.CatDragDrop))] 780[SRDescription(nameof(SR.ToolStripItemOnDragLeaveDescr))] 792[SRCategory(nameof(SR.CatBehavior))] 794[SRDescription(nameof(SR.ToolStripItemEnabledDescr))] 835[SRDescription(nameof(SR.ToolStripItemEnabledChangedDescr))] 857[SRCategory(nameof(SR.CatAppearance))] 858[SRDescription(nameof(SR.ToolStripItemForeColorDescr))] 888[SRCategory(nameof(SR.CatPropertyChanged))] 889[SRDescription(nameof(SR.ToolStripItemOnForeColorChangedDescr))] 900[SRCategory(nameof(SR.CatAppearance))] 902[SRDescription(nameof(SR.ToolStripItemFontDescr))] 930[SRCategory(nameof(SR.CatDragDrop))] 931[SRDescription(nameof(SR.ToolStripItemOnGiveFeedbackDescr))] 943[SRCategory(nameof(SR.CatLayout))] 998[SRCategory(nameof(SR.CatAppearance))] 999[SRDescription(nameof(SR.ToolStripItemImageAlignDescr))] 1019[SRCategory(nameof(SR.CatAppearance))] 1020[SRDescription(nameof(SR.ToolStripItemImageDescr))] 1076[SRCategory(nameof(SR.CatAppearance))] 1077[SRDescription(nameof(SR.ToolStripItemImageTransparentColorDescr))] 1105[SRDescription(nameof(SR.ToolStripItemImageIndexDescr))] 1107[SRCategory(nameof(SR.CatBehavior))] 1146[SRDescription(nameof(SR.ToolStripItemImageKeyDescr))] 1147[SRCategory(nameof(SR.CatBehavior))] 1167[SRCategory(nameof(SR.CatAppearance))] 1170[SRDescription(nameof(SR.ToolStripItemImageScalingDescr))] 1250[SRCategory(nameof(SR.CatLayout))] 1251[SRDescription(nameof(SR.ToolStripItemOnLocationChangedDescr))] 1261[SRDescription(nameof(SR.ToolStripItemMarginDescr))] 1262[SRCategory(nameof(SR.CatLayout))] 1279[SRDescription(nameof(SR.ToolStripMergeActionDescr))] 1281[SRCategory(nameof(SR.CatLayout))] 1295[SRDescription(nameof(SR.ToolStripMergeIndexDescr))] 1297[SRCategory(nameof(SR.CatLayout))] 1314[SRCategory(nameof(SR.CatMouse))] 1315[SRDescription(nameof(SR.ToolStripItemOnMouseDownDescr))] 1325[SRCategory(nameof(SR.CatMouse))] 1326[SRDescription(nameof(SR.ToolStripItemOnMouseEnterDescr))] 1336[SRCategory(nameof(SR.CatMouse))] 1337[SRDescription(nameof(SR.ToolStripItemOnMouseLeaveDescr))] 1347[SRCategory(nameof(SR.CatMouse))] 1348[SRDescription(nameof(SR.ToolStripItemOnMouseHoverDescr))] 1358[SRCategory(nameof(SR.CatMouse))] 1359[SRDescription(nameof(SR.ToolStripItemOnMouseMoveDescr))] 1369[SRCategory(nameof(SR.CatMouse))] 1370[SRDescription(nameof(SR.ToolStripItemOnMouseUpDescr))] 1449[SRCategory(nameof(SR.CatBehavior))] 1450[SRDescription(nameof(SR.ToolStripItemOwnerChangedDescr))] 1457[SRCategory(nameof(SR.CatAppearance))] 1458[SRDescription(nameof(SR.ToolStripItemOnPaintDescr))] 1486[SRDescription(nameof(SR.ToolStripItemOverflowDescr))] 1487[SRCategory(nameof(SR.CatLayout))] 1509[SRDescription(nameof(SR.ToolStripItemPaddingDescr))] 1510[SRCategory(nameof(SR.CatLayout))] 1588[SRCategory(nameof(SR.CatDragDrop))] 1589[SRDescription(nameof(SR.ToolStripItemOnQueryContinueDragDescr))] 1598[SRCategory(nameof(SR.CatBehavior))] 1599[SRDescription(nameof(SR.ToolStripItemOnQueryAccessibilityHelpDescr))] 1632[SRCategory(nameof(SR.CatAppearance))] 1634[SRDescription(nameof(SR.ToolStripItemRightToLeftDescr))] 1689[SRCategory(nameof(SR.CatAppearance))] 1691[SRDescription(nameof(SR.ToolStripItemRightToLeftAutoMirrorImageDescr))] 1731[SRCategory(nameof(SR.CatPropertyChanged))] 1732[SRDescription(nameof(SR.ToolStripItemOnRightToLeftChangedDescr))] 1779[SRDescription(nameof(SR.ToolStripItemSelectedChangedDescr))] 1799[SRCategory(nameof(SR.CatLayout))] 1801[SRDescription(nameof(SR.ToolStripItemSizeDescr))] 1838[SRCategory(nameof(SR.CatData))] 1841[SRDescription(nameof(SR.ToolStripItemTagDescr))] 1853[SRCategory(nameof(SR.CatAppearance))] 1855[SRDescription(nameof(SR.ToolStripItemTextDescr))] 1873[SRCategory(nameof(SR.CatAppearance))] 1874[SRDescription(nameof(SR.ToolStripItemTextAlignDescr))] 1890[SRCategory(nameof(SR.CatPropertyChanged))] 1891[SRDescription(nameof(SR.ToolStripItemOnTextChangedDescr))] 1898[SRDescription(nameof(SR.ToolStripTextDirectionDescr))] 1899[SRCategory(nameof(SR.CatAppearance))] 1931[SRDescription(nameof(SR.ToolStripItemTextImageRelationDescr))] 1932[SRCategory(nameof(SR.CatAppearance))] 1952[SRDescription(nameof(SR.ToolStripItemToolTipTextDescr))] 1953[SRCategory(nameof(SR.CatBehavior))] 1980[SRCategory(nameof(SR.CatBehavior))] 1982[SRDescription(nameof(SR.ToolStripItemVisibleDescr))] 1989[SRCategory(nameof(SR.CatPropertyChanged))] 1990[SRDescription(nameof(SR.ToolStripItemOnVisibleChangedDescr))] 2000[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); 1087throw new ArgumentException(SR.ToolStripMergeImpossibleIdentical); 1271throw 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))] 69[SRCategory(nameof(SR.CatBehavior))] 71[SRDescription(nameof(SR.TrackBarAutoSizeDescr))] 104[SRCategory(nameof(SR.CatPropertyChanged))] 105[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 273[SRCategory(nameof(SR.CatBehavior))] 275[SRDescription(nameof(SR.TrackBarLargeChangeDescr))] 283throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.TrackBarLargeChangeError, value)); 302[SRCategory(nameof(SR.CatBehavior))] 305[SRDescription(nameof(SR.TrackBarMaximumDescr))] 328[SRCategory(nameof(SR.CatBehavior))] 331[SRDescription(nameof(SR.TrackBarMinimumDescr))] 356[SRCategory(nameof(SR.CatAppearance))] 359[SRDescription(nameof(SR.TrackBarOrientationDescr))] 448[SRCategory(nameof(SR.CatAppearance))] 451[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 476[SRCategory(nameof(SR.CatBehavior))] 478[SRDescription(nameof(SR.TrackBarSmallChangeDescr))] 486throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.TrackBarSmallChangeError, value)); 528[SRCategory(nameof(SR.CatAppearance))] 530[SRDescription(nameof(SR.TrackBarTickStyleDescr))] 558[SRCategory(nameof(SR.CatAppearance))] 560[SRDescription(nameof(SR.TrackBarTickFrequencyDescr))] 600[SRCategory(nameof(SR.CatBehavior))] 603[SRDescription(nameof(SR.TrackBarValueDescr))] 620throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(Minimum)}'", $"'${nameof(Maximum)}'")); 661[SRCategory(nameof(SR.CatPropertyChanged))] 662[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))] 669[SRCategory(nameof(SR.CatBehavior))] 670[SRDescription(nameof(SR.TrackBarOnScrollDescr))] 685[SRCategory(nameof(SR.CatAction))] 686[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))] 249[SRCategory(nameof(SR.CatAppearance))] 252[SRDescription(nameof(SR.borderStyleDescr))] 273[SRCategory(nameof(SR.CatAppearance))] 275[SRDescription(nameof(SR.TreeViewCheckBoxesDescr))] 457[SRCategory(nameof(SR.CatBehavior))] 459[SRDescription(nameof(SR.TreeViewFullRowSelectDescr))] 480[SRCategory(nameof(SR.CatBehavior))] 482[SRDescription(nameof(SR.TreeViewHideSelectionDescr))] 504[SRCategory(nameof(SR.CatBehavior))] 506[SRDescription(nameof(SR.TreeViewHotTrackingDescr))] 527[SRCategory(nameof(SR.CatBehavior))] 532[SRDescription(nameof(SR.TreeViewImageIndexDescr))] 577[SRCategory(nameof(SR.CatBehavior))] 583[SRDescription(nameof(SR.TreeViewImageKeyDescr))] 594if (string.IsNullOrEmpty(value) || value.Equals(SR.toStringNone)) 610[SRCategory(nameof(SR.CatBehavior))] 612[SRDescription(nameof(SR.TreeViewImageListDescr))] 687[SRCategory(nameof(SR.CatBehavior))] 689[SRDescription(nameof(SR.TreeViewStateImageListDescr))] 731[SRCategory(nameof(SR.CatBehavior))] 732[SRDescription(nameof(SR.TreeViewIndentDescr))] 768[SRCategory(nameof(SR.CatAppearance))] 769[SRDescription(nameof(SR.TreeViewItemHeightDescr))] 829[SRCategory(nameof(SR.CatBehavior))] 831[SRDescription(nameof(SR.TreeViewLabelEditDescr))] 851[SRCategory(nameof(SR.CatBehavior))] 852[SRDescription(nameof(SR.TreeViewLineColorDescr))] 882[SRCategory(nameof(SR.CatBehavior))] 885[SRDescription(nameof(SR.TreeViewNodesDescr))] 900[SRCategory(nameof(SR.CatBehavior))] 902[SRDescription(nameof(SR.TreeViewDrawModeDescr))] 927[SRCategory(nameof(SR.CatBehavior))] 929[SRDescription(nameof(SR.TreeViewPathSeparatorDescr))] 958[SRCategory(nameof(SR.CatAppearance))] 961[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 978[SRCategory(nameof(SR.CatBehavior))] 980[SRDescription(nameof(SR.TreeViewScrollableDescr))] 999[SRCategory(nameof(SR.CatBehavior))] 1003[SRDescription(nameof(SR.TreeViewSelectedImageIndexDescr))] 1048[SRCategory(nameof(SR.CatBehavior))] 1054[SRDescription(nameof(SR.TreeViewSelectedImageKeyDescr))] 1066if (string.IsNullOrEmpty(value) || value.Equals(SR.toStringNone)) 1082[SRCategory(nameof(SR.CatAppearance))] 1085[SRDescription(nameof(SR.TreeViewSelectedNodeDescr))] 1133[SRCategory(nameof(SR.CatBehavior))] 1135[SRDescription(nameof(SR.TreeViewShowLinesDescr))] 1155[SRCategory(nameof(SR.CatBehavior))] 1157[SRDescription(nameof(SR.TreeViewShowShowNodeToolTipsDescr))] 1178[SRCategory(nameof(SR.CatBehavior))] 1180[SRDescription(nameof(SR.TreeViewShowPlusMinusDescr))] 1201[SRCategory(nameof(SR.CatBehavior))] 1203[SRDescription(nameof(SR.TreeViewShowRootLinesDescr))] 1223[SRCategory(nameof(SR.CatBehavior))] 1225[SRDescription(nameof(SR.TreeViewSortedDescr))] 1247[SRCategory(nameof(SR.CatBehavior))] 1250[SRDescription(nameof(SR.TreeViewNodeSorterDescr))] 1295[SRCategory(nameof(SR.CatAppearance))] 1298[SRDescription(nameof(SR.TreeViewTopNodeDescr))] 1337[SRCategory(nameof(SR.CatAppearance))] 1340[SRDescription(nameof(SR.TreeViewVisibleCountDescr))] 1343[SRCategory(nameof(SR.CatBehavior))] 1344[SRDescription(nameof(SR.TreeViewBeforeEditDescr))] 1351[SRCategory(nameof(SR.CatBehavior))] 1352[SRDescription(nameof(SR.TreeViewAfterEditDescr))] 1359[SRCategory(nameof(SR.CatBehavior))] 1360[SRDescription(nameof(SR.TreeViewBeforeCheckDescr))] 1367[SRCategory(nameof(SR.CatBehavior))] 1368[SRDescription(nameof(SR.TreeViewAfterCheckDescr))] 1375[SRCategory(nameof(SR.CatBehavior))] 1376[SRDescription(nameof(SR.TreeViewBeforeCollapseDescr))] 1383[SRCategory(nameof(SR.CatBehavior))] 1384[SRDescription(nameof(SR.TreeViewAfterCollapseDescr))] 1391[SRCategory(nameof(SR.CatBehavior))] 1392[SRDescription(nameof(SR.TreeViewBeforeExpandDescr))] 1399[SRCategory(nameof(SR.CatBehavior))] 1400[SRDescription(nameof(SR.TreeViewAfterExpandDescr))] 1410[SRCategory(nameof(SR.CatBehavior))] 1411[SRDescription(nameof(SR.TreeViewDrawNodeEventDescr))] 1418[SRCategory(nameof(SR.CatAction))] 1419[SRDescription(nameof(SR.ListViewItemDragDescr))] 1426[SRCategory(nameof(SR.CatAction))] 1427[SRDescription(nameof(SR.TreeViewNodeMouseHoverDescr))] 1434[SRCategory(nameof(SR.CatBehavior))] 1435[SRDescription(nameof(SR.TreeViewBeforeSelectDescr))] 1442[SRCategory(nameof(SR.CatBehavior))] 1443[SRDescription(nameof(SR.TreeViewAfterSelectDescr))] 1462[SRCategory(nameof(SR.CatBehavior))] 1463[SRDescription(nameof(SR.TreeViewNodeMouseClickDescr))] 1470[SRCategory(nameof(SR.CatBehavior))] 1471[SRDescription(nameof(SR.TreeViewNodeMouseDoubleClickDescr))] 1478[SRCategory(nameof(SR.CatPropertyChanged))] 1479[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)
118[SRCategory(nameof(SR.CatPropertyChanged))] 119[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 180[SRCategory(nameof(SR.CatAppearance))] 183[SRDescription(nameof(SR.UpDownBaseBorderStyleDescr))] 258[SRDescription(nameof(SR.ControlFocusedDescr))] 278[SRCategory(nameof(SR.CatBehavior))] 280[SRDescription(nameof(SR.UpDownBaseInterceptArrowKeysDescr))] 330[SRCategory(nameof(SR.CatLayout))] 334[SRDescription(nameof(SR.UpDownBasePreferredHeightDescr))] 359[SRCategory(nameof(SR.CatBehavior))] 361[SRDescription(nameof(SR.UpDownBaseReadOnlyDescr))] 401[SRCategory(nameof(SR.CatAppearance))] 403[SRDescription(nameof(SR.UpDownBaseTextAlignDescr))] 421[SRCategory(nameof(SR.CatAppearance))] 423[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))] 1290throw new ArgumentException(string.Format(SR.WebBrowserNavigateAbsoluteUri, "uri")); 1403return _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)
307throw 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)
218throw new InvalidOperationException(string.Format(SR.IllegalCrossThreadCall, nameof(TaskDialog))); 412?? throw new InvalidOperationException(SR.FormOrTaskDialog_NoSyncContextForShowAsync); 557throw new InvalidOperationException(string.Format(SR.TaskDialogInstanceAlreadyShown, nameof(TaskDialog))); 620SR.TaskDialogVisualStylesNotEnabled, 1218SR.TaskDialogCannotNavigateWithinRadioButtonCheckedChanged, 1226throw new InvalidOperationException(SR.TaskDialogCannotNavigateWithinNavigationEventHandler); 1239throw new InvalidOperationException(SR.TaskDialogCannotNavigateClosedDialog); 1262throw new InvalidOperationException(SR.TaskDialogCannotNavigateClosedDialog); 1617throw new InvalidOperationException(SR.TaskDialogCannotSetPropertyOfShownDialog); 1627throw new InvalidOperationException(SR.TaskDialogCanUpdateStateOnlyWhenShown); 1642SR.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))] 749[SRCategory(nameof(SR.CatAppearance))] 750[SRDescription(nameof(SR.ErrorProviderErrorDescr))] 758[SRCategory(nameof(SR.CatAppearance))] 759[SRDescription(nameof(SR.ErrorProviderIconAlignmentDescr))] 767[SRCategory(nameof(SR.CatAppearance))] 768[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 (153)
219[SRDescription(nameof(SR.FormAcceptButtonDescr))] 299[SRDescription(nameof(SR.FormActiveMDIChildDescr))] 354[SRDescription(nameof(SR.ControlAllowTransparencyDescr))] 390[SRCategory(nameof(SR.CatLayout))] 391[SRDescription(nameof(SR.FormAutoScaleDescr))] 515[SRCategory(nameof(SR.CatPropertyChanged))] 516[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 528[SRDescription(nameof(SR.ControlAutoSizeModeDescr))] 529[SRCategory(nameof(SR.CatLayout))] 655[SRCategory(nameof(SR.CatAppearance))] 658[SRDescription(nameof(SR.FormBorderStyleDescr))] 711[SRDescription(nameof(SR.FormCancelButtonDescr))] 741[SRCategory(nameof(SR.CatWindowStyle))] 743[SRDescription(nameof(SR.FormControlBoxDescr))] 891[SRCategory(nameof(SR.CatLayout))] 894[SRDescription(nameof(SR.FormDesktopBoundsDescr))] 914[SRCategory(nameof(SR.CatLayout))] 917[SRDescription(nameof(SR.FormDesktopLocationDescr))] 937[SRCategory(nameof(SR.CatBehavior))] 940[SRDescription(nameof(SR.FormDialogResultDescr))] 961[SRCategory(nameof(SR.CatWindowStyle))] 963[SRDescription(nameof(SR.FormHelpButtonDescr))] 988[SRCategory(nameof(SR.CatBehavior))] 989[SRDescription(nameof(SR.FormHelpButtonClickedDescr))] 1001[SRCategory(nameof(SR.CatWindowStyle))] 1002[SRDescription(nameof(SR.FormIconDescr))] 1069[SRCategory(nameof(SR.CatWindowStyle))] 1072[SRDescription(nameof(SR.FormIsMDIChildDescr))] 1088[SRCategory(nameof(SR.CatWindowStyle))] 1090[SRDescription(nameof(SR.FormIsMDIContainerDescr))] 1140[SRDescription(nameof(SR.FormKeyPreviewDescr))] 1175[SRCategory(nameof(SR.CatPropertyChanged))] 1176[SRDescription(nameof(SR.FormOnMaximizedBoundsChangedDescr))] 1186[SRCategory(nameof(SR.CatLayout))] 1188[SRDescription(nameof(SR.FormMaximumSizeDescr))] 1250[SRCategory(nameof(SR.CatPropertyChanged))] 1251[SRDescription(nameof(SR.FormOnMaximumSizeChangedDescr))] 1258[SRCategory(nameof(SR.CatWindowStyle))] 1260[SRDescription(nameof(SR.FormMenuStripDescr))] 1300[SRCategory(nameof(SR.CatLayout))] 1302[SRDescription(nameof(SR.FormMinimumSizeDescr))] 1381[SRCategory(nameof(SR.CatPropertyChanged))] 1382[SRDescription(nameof(SR.FormOnMinimumSizeChangedDescr))] 1393[SRCategory(nameof(SR.CatWindowStyle))] 1395[SRDescription(nameof(SR.FormMaximizeBoxDescr))] 1410[SRCategory(nameof(SR.CatWindowStyle))] 1413[SRDescription(nameof(SR.FormMDIChildrenDescr))] 1428[SRCategory(nameof(SR.CatWindowStyle))] 1430[SRDescription(nameof(SR.FormMdiChildrenMinimizedAnchorBottomDescr))] 1444[SRCategory(nameof(SR.CatWindowStyle))] 1447[SRDescription(nameof(SR.FormMDIParentDescr))] 1467throw new ArgumentException(SR.AddDifferentThreads, nameof(value)); 1484throw new ArgumentException(SR.FormMDIParentAndChild, nameof(value)); 1489throw new ArgumentException(SR.MDIParentNotContainer, nameof(value)); 1541[SRCategory(nameof(SR.CatWindowStyle))] 1543[SRDescription(nameof(SR.FormMinimizeBoxDescr))] 1557[SRCategory(nameof(SR.CatWindowStyle))] 1560[SRDescription(nameof(SR.FormModalDescr))] 1567[SRCategory(nameof(SR.CatWindowStyle))] 1569[SRDescription(nameof(SR.FormOpacityDescr))] 1616[SRCategory(nameof(SR.CatWindowStyle))] 1619[SRDescription(nameof(SR.FormOwnedFormsDescr))] 1625[SRCategory(nameof(SR.CatWindowStyle))] 1628[SRDescription(nameof(SR.FormOwnerDescr))] 1642throw new ArgumentException(SR.NonTopLevelCantHaveOwner, nameof(value)); 1692[SRCategory(nameof(SR.CatAppearance))] 1695[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 1730[SRCategory(nameof(SR.CatWindowStyle))] 1731[SRDescription(nameof(SR.FormShowInTaskbarDescr))] 1755[SRCategory(nameof(SR.CatWindowStyle))] 1756[SRDescription(nameof(SR.FormShowIconDescr))] 1837[SRCategory(nameof(SR.CatWindowStyle))] 1839[SRDescription(nameof(SR.FormSizeGripStyleDescr))] 1866[SRCategory(nameof(SR.CatLayout))] 1868[SRDescription(nameof(SR.FormStartPositionDescr))] 1903[SRCategory(nameof(SR.CatBehavior))] 1908[SRDescription(nameof(SR.ControlTabStopDescr))] 1967throw new ArgumentException(SR.MDIContainerMustBeTopLevel, nameof(value)); 1979[SRCategory(nameof(SR.CatWindowStyle))] 1980[SRDescription(nameof(SR.FormTopMostDescr))] 2002[SRCategory(nameof(SR.CatWindowStyle))] 2003[SRDescription(nameof(SR.FormTransparencyKeyDescr))] 2182[SRCategory(nameof(SR.CatWindowStyle))] 2183[SRDescription(nameof(SR.FormCornerPreferenceDescr))] 2274[SRCategory(nameof(SR.CatWindowStyle))] 2275[SRDescription(nameof(SR.FormBorderColorDescr))] 2336[SRCategory(nameof(SR.CatWindowStyle))] 2337[SRDescription(nameof(SR.FormCaptionBackColorDescr))] 2399[SRCategory(nameof(SR.CatWindowStyle))] 2400[SRDescription(nameof(SR.FormCaptionTextColorDescr))] 2468[SRCategory(nameof(SR.CatLayout))] 2470[SRDescription(nameof(SR.FormWindowStateDescr))] 2540[SRCategory(nameof(SR.CatFocus))] 2541[SRDescription(nameof(SR.FormOnActivateDescr))] 2551[SRCategory(nameof(SR.CatBehavior))] 2552[SRDescription(nameof(SR.FormOnClosingDescr))] 2569[SRCategory(nameof(SR.CatBehavior))] 2570[SRDescription(nameof(SR.FormOnClosedDescr))] 2587[SRCategory(nameof(SR.CatFocus))] 2588[SRDescription(nameof(SR.FormOnDeactivateDescr))] 2598[SRCategory(nameof(SR.CatBehavior))] 2599[SRDescription(nameof(SR.FormOnFormClosingDescr))] 2609[SRCategory(nameof(SR.CatAppearance))] 2610[SRDescription(nameof(SR.FormBorderColorChangedDescr))] 2621[SRCategory(nameof(SR.CatAppearance))] 2622[SRDescription(nameof(SR.FormCaptionBackColorChangedDescr))] 2633[SRCategory(nameof(SR.CatAppearance))] 2634[SRDescription(nameof(SR.FormCaptionTextColorChangedDescr))] 2645[SRCategory(nameof(SR.CatAppearance))] 2646[SRDescription(nameof(SR.FormCornerPreferenceChangedDescr))] 2657[SRCategory(nameof(SR.CatBehavior))] 2658[SRDescription(nameof(SR.FormOnFormClosedDescr))] 2668[SRCategory(nameof(SR.CatBehavior))] 2669[SRDescription(nameof(SR.FormOnLoadDescr))] 2680[SRCategory(nameof(SR.CatLayout))] 2681[SRDescription(nameof(SR.FormOnMDIChildActivateDescr))] 2691[SRCategory(nameof(SR.CatBehavior))] 2692[SRDescription(nameof(SR.FormOnMenuCompleteDescr))] 2703[SRCategory(nameof(SR.CatBehavior))] 2704[SRDescription(nameof(SR.FormOnMenuStartDescr))] 2715[SRCategory(nameof(SR.CatBehavior))] 2716[SRDescription(nameof(SR.FormOnInputLangChangeDescr))] 2727[SRCategory(nameof(SR.CatBehavior))] 2728[SRDescription(nameof(SR.FormOnInputLangChangeRequestDescr))] 2735[SRCategory(nameof(SR.CatPropertyChanged))] 2736[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))] 2746[SRCategory(nameof(SR.CatBehavior))] 2747[SRDescription(nameof(SR.FormOnShownDescr))] 3182throw new InvalidOperationException(string.Format(SR.ClosingWhileCreatingHandle, "Close")); 4504[SRCategory(nameof(SR.CatLayout))] 4505[SRDescription(nameof(SR.FormOnDpiChangedDescr))] 4958[SRCategory(nameof(SR.CatAction))] 4959[SRDescription(nameof(SR.FormOnResizeBeginDescr))] 4969[SRCategory(nameof(SR.CatAction))] 4970[SRDescription(nameof(SR.FormOnResizeEndDescr))] 5028throw new InvalidOperationException(SR.TooManyResumeUpdateMenuHandles); 5368throw new InvalidOperationException(string.Format(SR.OwnsSelfOrOwner, nameof(Show))); 5373throw new InvalidOperationException(string.Format(SR.ShowDialogOnVisible, nameof(Show))); 5378throw new InvalidOperationException(string.Format(SR.ShowDialogOnDisabled, nameof(Show))); 5383throw new InvalidOperationException(string.Format(SR.ShowDialogOnNonTopLevel, nameof(Show))); 5388throw new InvalidOperationException(SR.CantShowModalOnNonInteractive); 5414throw new ArgumentException(string.Format(SR.OwnsSelfOrOwner, nameof(Show)), nameof(owner)); 5491throw new InvalidOperationException(SR.Form_HasAlreadyBeenShownAsync); 5503?? throw new InvalidOperationException(SR.FormOrTaskDialog_NoSyncContextForShowAsync); 5562throw new ArgumentException(string.Format(SR.OwnsSelfOrOwner, nameof(ShowDialog)), nameof(owner)); 5567throw new InvalidOperationException(string.Format(SR.ShowDialogOnVisible, nameof(ShowDialog))); 5572throw new InvalidOperationException(string.Format(SR.ShowDialogOnDisabled, nameof(ShowDialog))); 5577throw new InvalidOperationException(string.Format(SR.ShowDialogOnNonTopLevel, nameof(ShowDialog))); 5582throw new InvalidOperationException(string.Format(SR.ShowDialogOnModal, nameof(ShowDialog))); 5587throw new InvalidOperationException(SR.CantShowModalOnNonInteractive); 5641throw new ArgumentException(string.Format(SR.OwnsSelfOrOwner, nameof(ShowDialog)), nameof(owner)); 5802throw new InvalidOperationException(SR.Form_HasAlreadyBeenShownAsync); 5814?? 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)
299throw new InvalidOperationException(SR.ErrorSettingWindowRegion); 304throw new InvalidOperationException(SR.ErrorSettingWindowRegion); 309throw 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))] 51[SRCategory(nameof(SR.CatPropertyChanged))] 52[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 64[SRDescription(nameof(SR.ControlAutoSizeModeDescr))] 65[SRCategory(nameof(SR.CatLayout))] 98[SRCategory(nameof(SR.CatAppearance))] 101[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)
73[SRCategory(nameof(SR.CatLayout))] 76[SRDescription(nameof(SR.FormAutoScrollDescr))] 95[SRCategory(nameof(SR.CatLayout))] 97[SRDescription(nameof(SR.FormAutoScrollMarginDescr))] 105throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(AutoScrollMargin), value)); 115[SRCategory(nameof(SR.CatLayout))] 118[SRDescription(nameof(SR.FormAutoScrollPositionDescr))] 136[SRCategory(nameof(SR.CatLayout))] 138[SRDescription(nameof(SR.FormAutoScrollMinSizeDescr))] 243[SRCategory(nameof(SR.CatLayout))] 244[SRDescription(nameof(SR.ScrollableControlHorizontalScrollDescr))] 261[SRCategory(nameof(SR.CatLayout))] 262[SRDescription(nameof(SR.ScrollableControlVerticalScrollDescr))] 859throw new InvalidOperationException(SR.ScrollableControlActiveControlParentNull); 913[SRCategory(nameof(SR.CatAction))] 914[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)
204[SRCategory(nameof(SR.CatBehavior))] 206[SRDescription(nameof(SR.ScrollBarLargeChangeDescr))] 233[SRCategory(nameof(SR.CatBehavior))] 235[SRDescription(nameof(SR.ScrollBarMaximumDescr))] 263[SRCategory(nameof(SR.CatBehavior))] 265[SRDescription(nameof(SR.ScrollBarMinimumDescr))] 294[SRCategory(nameof(SR.CatBehavior))] 296[SRDescription(nameof(SR.ScrollBarSmallChangeDescr))] 350[SRCategory(nameof(SR.CatBehavior))] 353[SRDescription(nameof(SR.ScrollBarValueDescr))] 363throw new ArgumentOutOfRangeException(nameof(value), string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(Minimum)}'", $"'{nameof(Maximum)}'")); 381[SRCategory(nameof(SR.CatBehavior))] 385[SRDescription(nameof(SR.ControlDpiChangeScale))] 455[SRCategory(nameof(SR.CatAction))] 456[SRDescription(nameof(SR.ScrollBarOnScrollDescr))] 468[SRCategory(nameof(SR.CatAction))] 469[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);