4679 references to SR
System.Windows.Forms (4679)
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);
parent\Common\src\RTLAwareMessageBox.cs (1)
40return SR.RTL != "RTL_False";
src\winforms\artifacts\obj\System.Windows.Forms\Release\net11.0\System.SR.cs (1)
10internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(SR)));
SRCategoryAttribute.cs (1)
17return SR.GetResourceString(value);
SRDescriptionAttribute.cs (1)
20DescriptionValue = SR.GetResourceString(base.Description);
System\Drawing\Design\UITypeEditor.cs (1)
70throw new NotSupportedException(string.Format(SR.ControlNotSupportedInTrimming, nameof(UITypeEditor)));
System\Resources\AssemblyNamesTypeResolutionService.cs (1)
156throw new ArgumentException(string.Format(SR.InvalidResXNoType, name));
System\Resources\ResXDataNode.cs (5)
88throw new InvalidOperationException(string.Format(SR.NotSerializableType, name, valueType.FullName)); 242throw new InvalidOperationException(string.Format(SR.NotSerializableType, _name, valueType.FullName)); 375string newMessage = string.Format(SR.NotSupported, typeName, dataNodeInfo.ReaderPosition.Y, dataNodeInfo.ReaderPosition.X, nse.Message); 385SR.TypeLoadException, 618throw new TypeLoadException(string.Format(SR.TypeLoadExceptionShort, FileRefType));
System\Resources\ResXResourceReader.cs (8)
148throw new InvalidOperationException(SR.InvalidResXBasePathOperation); 168throw new InvalidOperationException(SR.InvalidResXBasePathOperation); 376string newMessage = string.Format(SR.SerializationException, reader[ResXResourceWriter.TypeStr], pt.Y, pt.X, se.Message); 383string newMessage = string.Format(SR.InvocationException, reader[ResXResourceWriter.TypeStr], pt.Y, pt.X, tie.InnerException?.Message); 389throw new ArgumentException(string.Format(SR.InvalidResXFile, e.Message), e); 401throw new ArgumentException(string.Format(SR.InvalidResXFile, xmlEx.Message), xmlEx); 437throw new ArgumentException(SR.InvalidResXFileReaderWriterTypes); 606throw new ArgumentException(string.Format(SR.InvalidResXResourceNoName, nodeInfo.ValueData));
System\Resources\ResXResourceWriter.cs (2)
387throw new InvalidOperationException(SR.ResXResourceWriterSaved); 584throw new InvalidOperationException(SR.ResXResourceWriterSaved);
System\Windows\Forms\Accessibility\AccessibleObject.cs (2)
591string message = string.Format(SR.AccessibleObjectRuntimeIdNotSupported, nameof(AccessibleObject), nameof(RuntimeId)); 3230throw new NotSupportedException(SR.AccessibleObjectLiveRegionNotSupported);
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (1)
493? throw new InvalidOperationException(SR.OwnerControlIsNotALiveRegion)
System\Windows\Forms\Accessibility\LabelEditNativeWindow.cs (1)
218throw 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")); 469add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "BackColorChanged")); 477add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "BackgroundImageChanged")); 485add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "BackgroundImageLayoutChanged")); 493add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "BindingContextChanged")); 501add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "CursorChanged")); 512add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "EnabledChanged")); 520add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "FontChanged")); 528add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "ForeColorChanged")); 536add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "RightToLeftChanged")); 544add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "TextChanged")); 555add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "Click")); 563add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DragDrop")); 571add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DragEnter")); 579add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DragOver")); 587add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DragLeave")); 595add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "GiveFeedback")); 603add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "HelpRequested")); 611add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "Paint")); 619add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "QueryContinueDrag")); 627add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "QueryAccessibilityHelp")); 638add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DoubleClick")); 646add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "ImeModeChanged")); 657add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "KeyDown")); 668add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "KeyPress")); 679add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "KeyUp")); 687add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "Layout")); 698add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseDown")); 709add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseEnter")); 720add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseLeave")); 731add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseHover")); 742add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseMove")); 753add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseUp")); 764add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseWheel")); 772add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "ChangeUICues")); 780add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "StyleChanged")); 1458throw new TargetInvocationException(string.Format(SR.AXNohWnd, GetType().Name), t); 1526throw new NotSupportedException(string.Format(SR.AXNohWnd, GetType().Name)); 1605throw new TargetInvocationException(string.Format(SR.AXNohWnd, GetType().Name), t); 1840throw new InvalidOperationException(SR.AXOcxStateLoaded); 2311throw new LicenseException(GetType(), this, SR.AXNoLicenseToUse); 2775throw new InvalidOperationException(SR.UnableToInitComponent); 2842throw new InvalidOperationException(SR.UnableToInitComponent); 3021transaction = host?.CreateTransaction(SR.AXEditProperties); 3285throw new ThreadStateException(SR.ThreadMustBeSTA); 3563throw new ArgumentException(SR.AXUnknownImage, nameof(picture)); 3587throw new ArgumentException(SR.AXUnknownImage, nameof(picture)); 3675throw new ArgumentException(SR.AXFontUnitNotPoint, nameof(font)); 3730throw new ArgumentException(SR.AXFontUnitNotPoint, nameof(font));
System\Windows\Forms\ActiveX\AxHost.InvalidActiveXStateException.cs (3)
25ActiveXInvokeKind.MethodInvoke => string.Format(SR.AXInvalidMethodInvoke, _name), 26ActiveXInvokeKind.PropertyGet => string.Format(SR.AXInvalidPropertyGet, _name), 27ActiveXInvokeKind.PropertySet => string.Format(SR.AXInvalidPropertySet, _name),
System\Windows\Forms\ActiveX\AxHost.OleInterfaces.cs (1)
320throw new InvalidOperationException(SR.AXWindowlessControl);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (9)
88throw new NotSupportedException(SR.AXTopLevelSource); 857throw new Win32Exception(Marshal.GetLastWin32Error(), SR.Win32SetParentFailed); 1041throw new NotSupportedException(string.Format(SR.ControlNotSupportedInTrimming, nameof(ActiveXImpl))); 1144throw new NotSupportedException(SR.BinaryFormatterNotSupported); 1424throw new ArgumentException(string.Format(SR.AXNoConnectionPoint, eventInterface.Name)); 1441throw new NotSupportedException(string.Format(SR.ControlNotSupportedInTrimming, nameof(ActiveXImpl))); 1495throw new NotSupportedException(string.Format(SR.ControlNotSupportedInTrimming, nameof(ActiveXImpl))); 1534throw new NotSupportedException(SR.BinaryFormatterNotSupported); 1837internal static void ThrowHr(HRESULT hr) => throw new ExternalException(SR.ExternalException, (int)hr);
System\Windows\Forms\ActiveX\DataStreamFromComStream.cs (2)
124throw new IOException(SR.DataStreamWrite); 146throw new IOException(SR.DataStreamWrite);
System\Windows\Forms\Application.cs (6)
736SR.Application_VisualStylesModeInheritInvalidAsDefault, 743throw new InvalidOperationException(SR.Application_VisualStylesModeCanOnlyBeSetOnce); 757s_safeTopLevelCaptionSuffix ??= SR.SafeTopLevelCaptionFormat; // 0 - original, 1 - zone, 2 - site 1452throw new NotSupportedException(SR.RestartNotSupported); 1529throw new InvalidOperationException(string.Format(SR.Win32WindowAlreadyCreated, nameof(SetCompatibleTextRenderingDefault))); 1558throw new InvalidOperationException(string.Format(SR.Win32WindowAlreadyCreated, nameof(SetDefaultFont)));
System\Windows\Forms\Application.ThreadContext.cs (2)
689throw new InvalidOperationException(SR.CantShowModalOnNonInteractive); 713throw new InvalidOperationException(SR.CantNestMessageLoops);
System\Windows\Forms\ApplicationContext.cs (2)
64[SRCategory(nameof(SR.CatData))] 67[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\Components\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))] 193[SRCategory(nameof(SR.CatAppearance))] 196[SRDescription(nameof(SR.ControlRightToLeftDescr))] 212[SRCategory(nameof(SR.CatPropertyChanged))] 213[SRDescription(nameof(SR.ControlOnRightToLeftChangedDescr))] 223[SRCategory(nameof(SR.CatData))] 226[SRDescription(nameof(SR.ControlTagDescr))] 294[SRCategory(nameof(SR.CatData))] 296[SRDescription(nameof(SR.ErrorProviderDataSourceDescr))] 326[SRCategory(nameof(SR.CatData))] 328[SRDescription(nameof(SR.ErrorProviderDataMemberDescr))] 507[SRCategory(nameof(SR.CatBehavior))] 509[SRDescription(nameof(SR.ErrorProviderBlinkRateDescr))] 518throw new ArgumentOutOfRangeException(nameof(value), value, SR.BlinkRateMustBeZeroOrMore); 557[SRCategory(nameof(SR.CatAppearance))] 558[SRDescription(nameof(SR.ErrorProviderIconDescr))] 734[SRCategory(nameof(SR.CatAppearance))] 735[SRDescription(nameof(SR.ErrorProviderErrorDescr))] 743[SRCategory(nameof(SR.CatAppearance))] 744[SRDescription(nameof(SR.ErrorProviderIconAlignmentDescr))] 752[SRCategory(nameof(SR.CatAppearance))] 753[SRDescription(nameof(SR.ErrorProviderIconPaddingDescr))]
System\Windows\Forms\Components\ErrorProvider\ErrorProvider.ErrorWindow.ErrorWindowAccessibleObject.cs (1)
108return string.IsNullOrEmpty(name) ? SR.ErrorProviderDefaultAccessibleName : name;
System\Windows\Forms\Components\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\Components\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\Components\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\Components\ImageList\ImageList.NativeImageList.cs (2)
59throw new InvalidOperationException(SR.ImageListCreateFailed); 109throw new InvalidOperationException(SR.ImageListDuplicateFailed);
System\Windows\Forms\Components\ImageList\ImageList.Original.cs (1)
34throw new InvalidOperationException(SR.ImageListEntryType);
System\Windows\Forms\Components\ImageList\ImageListStreamer.cs (3)
82throw new InvalidOperationException(SR.ImageListStreamerLoadFailed); 94throw new InvalidOperationException(SR.ImageListStreamerSaveFailed); 105throw new InvalidOperationException(SR.ImageListStreamerSaveFailed);
System\Windows\Forms\Components\KioskModeManager\KioskModeManager.cs (19)
58[SRDescription(nameof(SR.DescriptionKioskModeManager))] 161[SRCategory(nameof(SR.CatBehavior))] 162[SRDescription(nameof(SR.KioskModeManagerContainerControlDescr))] 173[SRCategory(nameof(SR.CatPropertyChanged))] 174[SRDescription(nameof(SR.KioskModeManagerContainerControlChangedDescr))] 203[SRCategory(nameof(SR.CatBehavior))] 204[SRDescription(nameof(SR.KioskModeManagerTopMostInFullScreenDescr))] 241[SRCategory(nameof(SR.CatBehavior))] 242[SRDescription(nameof(SR.KioskModeManagerToggleFullScreenKeysDescr))] 273[SRCategory(nameof(SR.CatBehavior))] 274[SRDescription(nameof(SR.KioskModeManagerEscapeExitsFullScreenDescr))] 310[SRCategory(nameof(SR.CatBehavior))] 311[SRDescription(nameof(SR.KioskModeManagerAlwaysOnDescr))] 358[SRCategory(nameof(SR.CatBehavior))] 359[SRDescription(nameof(SR.KioskModeManagerMousePointerAutoHideDelayDescr))] 408[SRCategory(nameof(SR.CatBehavior))] 409[SRDescription(nameof(SR.KioskModeManagerFullScreenDescr))] 437[SRCategory(nameof(SR.CatPropertyChanged))] 438[SRDescription(nameof(SR.KioskModeManagerFullScreenChangedDescr))]
System\Windows\Forms\Components\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\ContextMenuStrip.cs (2)
14[SRDescription(nameof(SR.DescriptionContextMenuStrip))] 36[SRDescription(nameof(SR.ContextMenuStripSourceControlDescr))]
System\Windows\Forms\Control_InvokeAsync.cs (4)
56throw new InvalidOperationException(SR.ErrorNoMarshalingThread); 181throw new InvalidOperationException(SR.ErrorNoMarshalingThread); 282throw new InvalidOperationException(SR.ErrorNoMarshalingThread); 387throw new InvalidOperationException(SR.ErrorNoMarshalingThread);
System\Windows\Forms\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 (289)
531[SRDescription(nameof(SR.ControlAccessibilityObjectDescr))] 575[SRCategory(nameof(SR.CatAccessibility))] 579[SRDescription(nameof(SR.ControlAccessibleDefaultActionDescr))] 589[SRCategory(nameof(SR.CatAccessibility))] 592[SRDescription(nameof(SR.ControlAccessibleDescriptionDescr))] 602[SRCategory(nameof(SR.CatAccessibility))] 605[SRDescription(nameof(SR.ControlAccessibleNameDescr))] 615[SRCategory(nameof(SR.CatAccessibility))] 617[SRDescription(nameof(SR.ControlAccessibleRoleDescr))] 632[SRCategory(nameof(SR.CatBehavior))] 634[SRDescription(nameof(SR.ControlAllowDropDescr))] 692[SRCategory(nameof(SR.CatLayout))] 695[SRDescription(nameof(SR.ControlAnchorDescr))] 703[SRCategory(nameof(SR.CatLayout))] 707[SRDescription(nameof(SR.ControlAutoSizeDescr))] 739[SRCategory(nameof(SR.CatPropertyChanged))] 740[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 834[SRCategory(nameof(SR.CatData))] 1051[SRCategory(nameof(SR.CatAppearance))] 1053[SRDescription(nameof(SR.ControlBackColorDescr))] 1094throw new ArgumentException(SR.TransparentBackColorNotAllowed); 1106[SRCategory(nameof(SR.CatPropertyChanged))] 1107[SRDescription(nameof(SR.ControlOnBackColorChangedDescr))] 1117[SRCategory(nameof(SR.CatAppearance))] 1120[SRDescription(nameof(SR.ControlBackgroundImageDescr))] 1136[SRCategory(nameof(SR.CatPropertyChanged))] 1137[SRDescription(nameof(SR.ControlOnBackgroundImageChangedDescr))] 1147[SRCategory(nameof(SR.CatAppearance))] 1150[SRDescription(nameof(SR.ControlBackgroundImageLayoutDescr))] 1180[SRCategory(nameof(SR.CatPropertyChanged))] 1181[SRDescription(nameof(SR.ControlOnBackgroundImageLayoutChangedDescr))] 1256[SRDescription(nameof(SR.ControlBindingContextDescr))] 1263[SRCategory(nameof(SR.CatPropertyChanged))] 1264[SRDescription(nameof(SR.ControlOnBindingContextChangedDescr))] 1277[SRDescription(nameof(SR.ControlBottomDescr))] 1278[SRCategory(nameof(SR.CatLayout))] 1288[SRDescription(nameof(SR.ControlBoundsDescr))] 1289[SRCategory(nameof(SR.CatLayout))] 1305[SRCategory(nameof(SR.CatFocus))] 1306[SRDescription(nameof(SR.ControlCanFocusDescr))] 1323[SRCategory(nameof(SR.CatFocus))] 1324[SRDescription(nameof(SR.ControlCanSelectDescr))] 1333[SRCategory(nameof(SR.CatFocus))] 1334[SRDescription(nameof(SR.ControlCaptureDescr))] 1359[SRCategory(nameof(SR.CatFocus))] 1361[SRDescription(nameof(SR.ControlCausesValidationDescr))] 1375[SRCategory(nameof(SR.CatPropertyChanged))] 1376[SRDescription(nameof(SR.ControlOnCausesValidationChangedDescr))] 1434[SRDescription(nameof(SR.ControlCheckForIllegalCrossThreadCalls))] 1444[SRCategory(nameof(SR.CatLayout))] 1445[SRDescription(nameof(SR.ControlClientRectangleDescr))] 1451[SRCategory(nameof(SR.CatLayout))] 1455[SRDescription(nameof(SR.ControlClientSizeDescr))] 1465[SRCategory(nameof(SR.CatPropertyChanged))] 1466[SRDescription(nameof(SR.ControlOnClientSizeChangedDescr))] 1479[SRDescription(nameof(SR.ControlCompanyNameDescr))] 1489[SRDescription(nameof(SR.ControlContainsFocusDescr))] 1509[SRCategory(nameof(SR.CatBehavior))] 1511[SRDescription(nameof(SR.ControlContextMenuDescr))] 1531[SRCategory(nameof(SR.CatPropertyChanged))] 1532[SRDescription(nameof(SR.ControlContextMenuStripChangedDescr))] 1544[SRDescription(nameof(SR.ControlControlsDescr))] 1553[SRDescription(nameof(SR.ControlCreatedDescr))] 1576throw new Win32Exception(lastWin32Error, string.Format(SR.LoadDLLError, Libraries.Comctl32)); 1731[SRCategory(nameof(SR.CatAppearance))] 1732[SRDescription(nameof(SR.ControlCursorDescr))] 1784[SRCategory(nameof(SR.CatPropertyChanged))] 1785[SRDescription(nameof(SR.ControlOnCursorChangedDescr))] 1796[SRCategory(nameof(SR.CatData))] 1797[SRDescription(nameof(SR.ControlBindingsDescr))] 1806throw new NotSupportedException(SR.BindingNotSupported); 1923[SRDescription(nameof(SR.ControlDisplayRectangleDescr))] 1934[SRDescription(nameof(SR.ControlDisposedDescr))] 1956[SRDescription(nameof(SR.ControlDisposingDescr))] 1965[SRCategory(nameof(SR.CatLayout))] 1969[SRDescription(nameof(SR.ControlDockDescr))] 1984[SRCategory(nameof(SR.CatPropertyChanged))] 1985[SRDescription(nameof(SR.ControlOnDockChangedDescr))] 1995[SRCategory(nameof(SR.CatBehavior))] 1996[SRDescription(nameof(SR.ControlDoubleBufferedDescr))] 2021[SRCategory(nameof(SR.CatBehavior))] 2024[SRDescription(nameof(SR.ControlEnabledDescr))] 2052[SRCategory(nameof(SR.CatPropertyChanged))] 2053[SRDescription(nameof(SR.ControlOnEnabledChangedDescr))] 2066[SRDescription(nameof(SR.ControlFocusedDescr))] 2074[SRCategory(nameof(SR.CatAppearance))] 2078[SRDescription(nameof(SR.ControlFontDescr))] 2176[SRCategory(nameof(SR.CatPropertyChanged))] 2177[SRDescription(nameof(SR.ControlOnFontChangedDescr))] 2270[SRCategory(nameof(SR.CatAppearance))] 2272[SRDescription(nameof(SR.ControlForeColorDescr))] 2315[SRCategory(nameof(SR.CatPropertyChanged))] 2316[SRDescription(nameof(SR.ControlOnForeColorChangedDescr))] 2388[SRDescription(nameof(SR.ControlHandleDescr))] 2395throw new InvalidOperationException(string.Format(SR.IllegalCrossThreadCall, Name)); 2419[SRDescription(nameof(SR.ControlHasChildrenDescr))] 2425[SRCategory(nameof(SR.CatLayout))] 2429[SRDescription(nameof(SR.ControlHeightDescr))] 2489[SRDescription(nameof(SR.ControlHandleCreatedDescr))] 2563[SRDescription(nameof(SR.ControlInvokeRequiredDescr))] 2595[SRCategory(nameof(SR.CatBehavior))] 2599[SRDescription(nameof(SR.ControlIsAccessibleDescr))] 2640[SRCategory(nameof(SR.CatLayout))] 2644[SRDescription(nameof(SR.IsMirroredDescr))] 2677[SRCategory(nameof(SR.CatLayout))] 2681[SRDescription(nameof(SR.ControlLeftDescr))] 2691[SRCategory(nameof(SR.CatLayout))] 2693[SRDescription(nameof(SR.ControlLocationDescr))] 2700[SRCategory(nameof(SR.CatPropertyChanged))] 2701[SRDescription(nameof(SR.ControlOnLocationChangedDescr))] 2708[SRDescription(nameof(SR.ControlMarginDescr))] 2709[SRCategory(nameof(SR.CatLayout))] 2731[SRCategory(nameof(SR.CatLayout))] 2732[SRDescription(nameof(SR.ControlOnMarginChangedDescr))] 2739[SRCategory(nameof(SR.CatLayout))] 2741[SRDescription(nameof(SR.ControlMaximumSizeDescr))] 2762[SRCategory(nameof(SR.CatLayout))] 2764[SRDescription(nameof(SR.ControlMinimumSizeDescr))] 2885[SRCategory(nameof(SR.CatBehavior))] 2888[SRDescription(nameof(SR.ControlParentDescr))] 2922[SRDescription(nameof(SR.ControlProductNameDescr))] 2931[SRDescription(nameof(SR.ControlProductVersionDescr))] 2947[SRCategory(nameof(SR.CatBehavior))] 2951[SRDescription(nameof(SR.ControlRecreatingHandleDescr))] 2984[SRCategory(nameof(SR.CatLayout))] 2988[SRDescription(nameof(SR.ControlRegionDescr))] 3035[SRCategory(nameof(SR.CatPropertyChanged))] 3036[SRDescription(nameof(SR.ControlRegionChangedDescr))] 3101[SRDescription(nameof(SR.ControlResizeRedrawDescr))] 3111[SRCategory(nameof(SR.CatLayout))] 3115[SRDescription(nameof(SR.ControlRightDescr))] 3123[SRCategory(nameof(SR.CatAppearance))] 3126[SRDescription(nameof(SR.ControlRightToLeftDescr))] 3163[SRCategory(nameof(SR.CatPropertyChanged))] 3164[SRDescription(nameof(SR.ControlOnRightToLeftChangedDescr))] 3283[SRCategory(nameof(SR.CatLayout))] 3285[SRDescription(nameof(SR.ControlSizeDescr))] 3292[SRCategory(nameof(SR.CatPropertyChanged))] 3293[SRDescription(nameof(SR.ControlOnSizeChangedDescr))] 3303[SRCategory(nameof(SR.CatBehavior))] 3306[SRDescription(nameof(SR.ControlTabIndexDescr))] 3322[SRCategory(nameof(SR.CatPropertyChanged))] 3323[SRDescription(nameof(SR.ControlOnTabIndexChangedDescr))] 3334[SRCategory(nameof(SR.CatBehavior))] 3337[SRDescription(nameof(SR.ControlTabStopDescr))] 3369[SRCategory(nameof(SR.CatPropertyChanged))] 3370[SRDescription(nameof(SR.ControlOnTabStopChangedDescr))] 3377[SRCategory(nameof(SR.CatData))] 3380[SRDescription(nameof(SR.ControlTagDescr))] 3392[SRCategory(nameof(SR.CatAppearance))] 3396[SRDescription(nameof(SR.ControlTextDescr))] 3432[SRCategory(nameof(SR.CatPropertyChanged))] 3433[SRDescription(nameof(SR.ControlOnTextChangedDescr))] 3443[SRCategory(nameof(SR.CatLayout))] 3447[SRDescription(nameof(SR.ControlTopDescr))] 3459[SRCategory(nameof(SR.CatBehavior))] 3463[SRDescription(nameof(SR.ControlTopLevelControlDescr))] 3624[SRCategory(nameof(SR.CatAppearance))] 3625[SRDescription(nameof(SR.ControlUseWaitCursorDescr))] 3708[SRCategory(nameof(SR.CatBehavior))] 3710[SRDescription(nameof(SR.ControlVisibleDescr))] 3729[SRCategory(nameof(SR.CatPropertyChanged))] 3730[SRDescription(nameof(SR.ControlOnVisibleChangedDescr))] 3776throw new InvalidAsynchronousStateException(SR.ThreadNoLongerValid); 3800[SRCategory(nameof(SR.CatLayout))] 3804[SRDescription(nameof(SR.ControlWidthDescr))] 3832[SRCategory(nameof(SR.CatBehavior))] 3836[SRDescription(nameof(SR.ControlWindowTargetDescr))] 3883[SRCategory(nameof(SR.CatAction))] 3884[SRDescription(nameof(SR.ControlOnClickDescr))] 3894[SRCategory(nameof(SR.CatBehavior))] 3897[SRDescription(nameof(SR.ControlOnControlAddedDescr))] 3907[SRCategory(nameof(SR.CatBehavior))] 3910[SRDescription(nameof(SR.ControlOnControlRemovedDescr))] 3920[SRCategory(nameof(SR.CatData))] 3923[SRDescription(nameof(SR.ControlDataContextChangedDescr))] 3933[SRCategory(nameof(SR.CatAppearance))] 3936[SRDescription(nameof(SR.ControlVisualStylesModeChangedDescr))] 3943[SRCategory(nameof(SR.CatDragDrop))] 3944[SRDescription(nameof(SR.ControlOnDragDropDescr))] 3951[SRCategory(nameof(SR.CatDragDrop))] 3952[SRDescription(nameof(SR.ControlOnDragEnterDescr))] 3959[SRCategory(nameof(SR.CatDragDrop))] 3960[SRDescription(nameof(SR.ControlOnDragOverDescr))] 3967[SRCategory(nameof(SR.CatDragDrop))] 3968[SRDescription(nameof(SR.ControlOnDragLeaveDescr))] 3975[SRCategory(nameof(SR.CatDragDrop))] 3976[SRDescription(nameof(SR.ControlOnGiveFeedbackDescr))] 3986[SRCategory(nameof(SR.CatPrivate))] 3989[SRDescription(nameof(SR.ControlOnCreateHandleDescr))] 3999[SRCategory(nameof(SR.CatPrivate))] 4002[SRDescription(nameof(SR.ControlOnDestroyHandleDescr))] 4009[SRCategory(nameof(SR.CatBehavior))] 4010[SRDescription(nameof(SR.ControlOnHelpDescr))] 4017[SRCategory(nameof(SR.CatAppearance))] 4020[SRDescription(nameof(SR.ControlOnInvalidateDescr))] 4033[SRDescription(nameof(SR.ControlPaddingDescr))] 4034[SRCategory(nameof(SR.CatLayout))] 4063[SRCategory(nameof(SR.CatLayout))] 4064[SRDescription(nameof(SR.ControlOnPaddingChangedDescr))] 4071[SRCategory(nameof(SR.CatAppearance))] 4072[SRDescription(nameof(SR.ControlOnPaintDescr))] 4079[SRCategory(nameof(SR.CatDragDrop))] 4080[SRDescription(nameof(SR.ControlOnQueryContinueDragDescr))] 4087[SRCategory(nameof(SR.CatBehavior))] 4088[SRDescription(nameof(SR.ControlOnQueryAccessibilityHelpDescr))] 4098[SRCategory(nameof(SR.CatAction))] 4099[SRDescription(nameof(SR.ControlOnDoubleClickDescr))] 4109[SRCategory(nameof(SR.CatFocus))] 4110[SRDescription(nameof(SR.ControlOnEnterDescr))] 4120[SRCategory(nameof(SR.CatFocus))] 4121[SRDescription(nameof(SR.ControlOnGotFocusDescr))] 4133[SRCategory(nameof(SR.CatKey))] 4134[SRDescription(nameof(SR.ControlOnKeyDownDescr))] 4144[SRCategory(nameof(SR.CatKey))] 4145[SRDescription(nameof(SR.ControlOnKeyPressDescr))] 4155[SRCategory(nameof(SR.CatKey))] 4156[SRDescription(nameof(SR.ControlOnKeyUpDescr))] 4163[SRCategory(nameof(SR.CatLayout))] 4164[SRDescription(nameof(SR.ControlOnLayoutDescr))] 4174[SRCategory(nameof(SR.CatFocus))] 4175[SRDescription(nameof(SR.ControlOnLeaveDescr))] 4185[SRCategory(nameof(SR.CatFocus))] 4186[SRDescription(nameof(SR.ControlOnLostFocusDescr))] 4198[SRCategory(nameof(SR.CatAction))] 4199[SRDescription(nameof(SR.ControlOnMouseClickDescr))] 4209[SRCategory(nameof(SR.CatAction))] 4210[SRDescription(nameof(SR.ControlOnMouseDoubleClickDescr))] 4220[SRCategory(nameof(SR.CatAction))] 4221[SRDescription(nameof(SR.ControlOnMouseCaptureChangedDescr))] 4232[SRCategory(nameof(SR.CatMouse))] 4233[SRDescription(nameof(SR.ControlOnMouseDownDescr))] 4243[SRCategory(nameof(SR.CatMouse))] 4244[SRDescription(nameof(SR.ControlOnMouseEnterDescr))] 4254[SRCategory(nameof(SR.CatMouse))] 4255[SRDescription(nameof(SR.ControlOnMouseLeaveDescr))] 4267[SRCategory(nameof(SR.CatLayout))] 4268[SRDescription(nameof(SR.ControlOnDpiChangedBeforeParentDescr))] 4280[SRCategory(nameof(SR.CatLayout))] 4281[SRDescription(nameof(SR.ControlOnDpiChangedAfterParentDescr))] 4291[SRCategory(nameof(SR.CatMouse))] 4292[SRDescription(nameof(SR.ControlOnMouseHoverDescr))] 4302[SRCategory(nameof(SR.CatMouse))] 4303[SRDescription(nameof(SR.ControlOnMouseMoveDescr))] 4313[SRCategory(nameof(SR.CatMouse))] 4314[SRDescription(nameof(SR.ControlOnMouseUpDescr))] 4324[SRCategory(nameof(SR.CatMouse))] 4325[SRDescription(nameof(SR.ControlOnMouseWheelDescr))] 4337[SRCategory(nameof(SR.CatLayout))] 4338[SRDescription(nameof(SR.ControlOnMoveDescr))] 4348[SRCategory(nameof(SR.CatKey))] 4349[SRDescription(nameof(SR.PreviewKeyDownDescr))] 4359[SRCategory(nameof(SR.CatLayout))] 4360[SRDescription(nameof(SR.ControlOnResizeDescr))] 4368[SRCategory(nameof(SR.CatBehavior))] 4369[SRDescription(nameof(SR.ControlOnChangeUICuesDescr))] 4376[SRCategory(nameof(SR.CatBehavior))] 4377[SRDescription(nameof(SR.ControlOnStyleChangedDescr))] 4384[SRCategory(nameof(SR.CatBehavior))] 4385[SRDescription(nameof(SR.ControlOnSystemColorsChangedDescr))] 4402[SRCategory(nameof(SR.CatBehavior))] 4403[SRDescription(nameof(SR.ControlOnSystemVisualSettingsChangedDescr))] 4413[SRCategory(nameof(SR.CatFocus))] 4414[SRDescription(nameof(SR.ControlOnValidatingDescr))] 4424[SRCategory(nameof(SR.CatFocus))] 4425[SRDescription(nameof(SR.ControlOnValidatedDescr))] 4548[SRCategory(nameof(SR.CatPropertyChanged))] 4549[SRDescription(nameof(SR.ControlOnParentChangedDescr))] 4674throw new ArgumentException(SR.CircularOwner); 4687throw new ArgumentException(SR.CircularOwner); 5026throw new InvalidOperationException(string.Format(SR.ClosingWhileCreatingHandle, "Dispose")); 5128throw new InvalidOperationException(string.Format(SR.ClipboardOrDragDrop_CannotJsonSerializeDataObject, nameof(DoDragDrop))); 5270throw new ArgumentException(SR.ControlBadAsyncResult, nameof(asyncResult)); 5919string.Format(SR.ParentPropertyNotSetInGetNextControl, nameof(Parent), ctl)); 5922string.Format(SR.ControlsPropertyNotSetInGetNextControl, nameof(Controls), parent)); 5929SR.ControlsCollectionShouldNotBeEmptyInGetNextControl, 6544throw new NotSupportedException(SR.ControlIsKeyLockedNumCapsScrollLockKeysSupportedOnly); 6728throw new InvalidOperationException(SR.ErrorNoMarshalingThread); 6979throw new NotSupportedException(SR.BindingNotSupported); 7743throw new Win32Exception(Marshal.GetLastWin32Error(), SR.Win32SetParentFailed); 10145throw new Win32Exception(Marshal.GetLastWin32Error(), SR.Win32SetParentFailed); 10354throw new ThreadStateException(SR.ThreadMustBeSTA); 10380throw new InvalidOperationException(SR.DragDropRegFailed, e); 11096throw new Win32Exception(Marshal.GetLastWin32Error(), SR.Win32SetParentFailed); 11112throw new Win32Exception(Marshal.GetLastWin32Error(), SR.Win32SetParentFailed); 11165throw new InvalidOperationException(SR.TopLevelNotAllowedIfActiveX); 11179throw new ArgumentException(SR.TopLevelParentedControl, nameof(value)); 12143throw new InvalidOperationException(SR.RichControlLresult, e); 13531throw new NotSupportedException(SR.DesignTimeFeaturesNotSupported);
System\Windows\Forms\Control.Ime.cs (3)
131[SRCategory(nameof(SR.CatBehavior))] 134[SRDescription(nameof(SR.ControlIMEModeDescr))] 215[SRDescription(nameof(SR.ControlOnImeModeChangedDescr))]
System\Windows\Forms\Control.MetafileDCWrapper.cs (1)
35throw new ArgumentException(SR.ControlMetaFileDCWrapperSizeInvalid, nameof(size));
System\Windows\Forms\Control.VisualStylesMode.Docs.cs (2)
35[SRCategory(nameof(SR.CatAppearance))] 38[SRDescription(nameof(SR.ControlVisualStylesModeDescr))]
System\Windows\Forms\Controls\Buttons\Button.cs (5)
16[SRDescription(nameof(SR.DescriptionButton))] 45[SRCategory(nameof(SR.CatLayout))] 49[SRDescription(nameof(SR.ControlAutoSizeModeDescr))] 138[SRCategory(nameof(SR.CatBehavior))] 140[SRDescription(nameof(SR.ButtonDialogResultDescr))]
System\Windows\Forms\Controls\Buttons\ButtonBase.ButtonBaseAccessibleObject.cs (1)
13: throw new ArgumentException(string.Format(SR.ConstructorArgumentInvalidValueType, nameof(owner), typeof(ButtonBase))))
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (39)
94[SRCategory(nameof(SR.CatBehavior))] 98[SRDescription(nameof(SR.ButtonAutoEllipsisDescr))] 140[SRCategory(nameof(SR.CatPropertyChanged))] 141[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 153[SRCategory(nameof(SR.CatAppearance))] 154[SRDescription(nameof(SR.ControlBackColorDescr))] 166throw new NotSupportedException(SR.DesignTimeFeaturesNotSupported); 189[SRCategory(nameof(SR.CatData))] 190[SRDescription(nameof(SR.CommandComponentCommandDescr))] 201[SRCategory(nameof(SR.CatData))] 203[SRDescription(nameof(SR.CommandCanExecuteChangedEventDescr))] 213[SRCategory(nameof(SR.CatData))] 215[SRDescription(nameof(SR.CommandChangedEventDescr))] 227[SRCategory(nameof(SR.CatData))] 228[SRDescription(nameof(SR.CommandComponentCommandParameterDescr))] 252[SRCategory(nameof(SR.CatData))] 254[SRDescription(nameof(SR.CommandParameterChangedEventDescr))] 364[SRCategory(nameof(SR.CatAppearance))] 365[SRDescription(nameof(SR.ButtonFlatAppearance))] 372[SRDescription(nameof(SR.ButtonImageDescr))] 374[SRCategory(nameof(SR.CatAppearance))] 435[SRDescription(nameof(SR.ButtonImageAlignDescr))] 436[SRCategory(nameof(SR.CatAppearance))] 462[SRDescription(nameof(SR.ButtonImageIndexDescr))] 463[SRCategory(nameof(SR.CatAppearance))] 509[SRDescription(nameof(SR.ButtonImageIndexDescr))] 510[SRCategory(nameof(SR.CatAppearance))] 538[SRDescription(nameof(SR.ButtonImageListDescr))] 540[SRCategory(nameof(SR.CatAppearance))] 688[SRDescription(nameof(SR.ButtonTextAlignDescr))] 689[SRCategory(nameof(SR.CatAppearance))] 717[SRDescription(nameof(SR.ButtonTextImageRelationDescr))] 718[SRCategory(nameof(SR.CatAppearance))] 741[SRDescription(nameof(SR.ButtonUseMnemonicDescr))] 743[SRCategory(nameof(SR.CatAppearance))] 1356[SRCategory(nameof(SR.CatBehavior))] 1357[SRDescription(nameof(SR.UseCompatibleTextRenderingDescr))] 1366[SRCategory(nameof(SR.CatAppearance))] 1367[SRDescription(nameof(SR.ButtonUseVisualStyleBackColorDescr))]
System\Windows\Forms\Controls\Buttons\ButtonBase.FlatStyle.Docs.cs (2)
29[SRCategory(nameof(SR.CatAppearance))] 32[SRDescription(nameof(SR.ButtonFlatStyleDescr))]
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (2)
146Debug.Fail(string.Format(SR.InvalidArgument, nameof(composition), composition.ToString())); 177Debug.Fail(string.Format(SR.InvalidArgument, nameof(composition), composition.ToString()));
System\Windows\Forms\Controls\Buttons\CheckBox.Appearance.Docs.cs (2)
29[SRCategory(nameof(SR.CatAppearance))] 30[SRDescription(nameof(SR.CheckBoxAppearanceDescr))]
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 (15)
20[SRDescription(nameof(SR.DescriptionCheckBox))] 148[SRCategory(nameof(SR.CatPropertyChanged))] 149[SRDescription(nameof(SR.CheckBoxOnAppearanceChangedDescr))] 161[SRCategory(nameof(SR.CatBehavior))] 162[SRDescription(nameof(SR.CheckBoxAutoCheckDescr))] 182[SRCategory(nameof(SR.CatAppearance))] 184[SRDescription(nameof(SR.CheckBoxCheckAlignDescr))] 216[SRCategory(nameof(SR.CatAppearance))] 218[SRDescription(nameof(SR.CheckBoxCheckedDescr))] 235[SRCategory(nameof(SR.CatAppearance))] 238[SRDescription(nameof(SR.CheckBoxCheckStateDescr))] 452[SRCategory(nameof(SR.CatBehavior))] 453[SRDescription(nameof(SR.CheckBoxThreeStateDescr))] 481[SRDescription(nameof(SR.CheckBoxOnCheckedChangedDescr))] 491[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))] 141[SRCategory(nameof(SR.CatAppearance))] 142[SRDescription(nameof(SR.ButtonMouseOverBackColorDescr))]
System\Windows\Forms\Controls\Buttons\RadioButton.cs (12)
21[SRDescription(nameof(SR.DescriptionRadioButton))] 60[SRCategory(nameof(SR.CatBehavior))] 61[SRDescription(nameof(SR.RadioButtonAutoCheckDescr))] 88[SRCategory(nameof(SR.CatAppearance))] 90[SRDescription(nameof(SR.RadioButtonAppearanceDescr))] 125[SRCategory(nameof(SR.CatPropertyChanged))] 126[SRDescription(nameof(SR.RadioButtonOnAppearanceChangedDescr))] 149[SRCategory(nameof(SR.CatAppearance))] 151[SRDescription(nameof(SR.RadioButtonCheckAlignDescr))] 177[SRCategory(nameof(SR.CatAppearance))] 178[SRDescription(nameof(SR.RadioButtonCheckedDescr))] 386[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 (60)
25[SRDescription(nameof(SR.DescriptionComboBox))] 139[SRDescription(nameof(SR.ComboBoxAutoCompleteModeDescr))] 156throw new NotSupportedException(SR.ComboBoxAutoCompleteModeOnlyNoneAllowed); 161throw new ThreadStateException(SR.ThreadMustBeSTA); 183[SRDescription(nameof(SR.ComboBoxAutoCompleteSourceDescr))] 200throw new NotSupportedException(SR.ComboBoxAutoCompleteSourceOnlyListItemsAllowed); 205throw new ThreadStateException(SR.ThreadMustBeSTA); 219[SRDescription(nameof(SR.ComboBoxAutoCompleteCustomSourceDescr))] 410[SRCategory(nameof(SR.CatData))] 414[SRDescription(nameof(SR.ListControlDataSourceDescr))] 425[SRCategory(nameof(SR.CatBehavior))] 427[SRDescription(nameof(SR.ComboBoxDrawModeDescr))] 448[SRCategory(nameof(SR.CatBehavior))] 449[SRDescription(nameof(SR.ComboBoxDropDownWidthDescr))] 475[SRCategory(nameof(SR.CatBehavior))] 476[SRDescription(nameof(SR.ComboBoxDropDownHeightDescr))] 506[SRDescription(nameof(SR.ComboBoxDroppedDownDescr))] 611[SRCategory(nameof(SR.CatBehavior))] 614[SRDescription(nameof(SR.ComboBoxIntegralHeightDescr))] 637[SRCategory(nameof(SR.CatBehavior))] 639[SRDescription(nameof(SR.ComboBoxItemHeightDescr))] 678[SRCategory(nameof(SR.CatData))] 681[SRDescription(nameof(SR.ComboBoxItemsDescr))] 706[SRCategory(nameof(SR.CatBehavior))] 709[SRDescription(nameof(SR.ComboBoxMaxDropDownItemsDescr))] 741[SRCategory(nameof(SR.CatBehavior))] 744[SRDescription(nameof(SR.ComboBoxMaxLengthDescr))] 833[SRDescription(nameof(SR.ComboBoxPreferredHeightDescr))] 958[SRDescription(nameof(SR.ComboBoxSelectedIndexDescr))] 1000[SRDescription(nameof(SR.ComboBoxSelectedItemDescr))] 1039[SRDescription(nameof(SR.ComboBoxSelectedTextDescr))] 1061[SRDescription(nameof(SR.ComboBoxSelectionLengthDescr))] 1083[SRDescription(nameof(SR.ComboBoxSelectionStartDescr))] 1103[SRCategory(nameof(SR.CatBehavior))] 1105[SRDescription(nameof(SR.ComboBoxSortedDescr))] 1118throw new ArgumentException(SR.ComboBoxSortWithDataSource); 1132[SRCategory(nameof(SR.CatAppearance))] 1134[SRDescription(nameof(SR.ComboBoxStyleDescr))] 1313[SRCategory(nameof(SR.CatBehavior))] 1314[SRDescription(nameof(SR.drawItemEventDescr))] 1321[SRCategory(nameof(SR.CatBehavior))] 1322[SRDescription(nameof(SR.ComboBoxOnDropDownDescr))] 1329[SRCategory(nameof(SR.CatBehavior))] 1330[SRDescription(nameof(SR.measureItemEventDescr))] 1345[SRCategory(nameof(SR.CatBehavior))] 1346[SRDescription(nameof(SR.selectedIndexChangedEventDescr))] 1353[SRCategory(nameof(SR.CatBehavior))] 1354[SRDescription(nameof(SR.selectionChangeCommittedEventDescr))] 1361[SRCategory(nameof(SR.CatBehavior))] 1362[SRDescription(nameof(SR.ComboBoxDropDownStyleChangedDescr))] 1385[SRCategory(nameof(SR.CatBehavior))] 1386[SRDescription(nameof(SR.ComboBoxOnTextUpdateDescr))] 1397[SRCategory(nameof(SR.CatBehavior))] 1398[SRDescription(nameof(SR.ComboBoxOnDropDownClosedDescr))] 1443throw new ArgumentException(SR.DataSourceLocksItems); 2247return insertIndex < 0 ? throw new OutOfMemoryException(SR.ComboBoxItemOverflow) : insertIndex; 2300throw new OutOfMemoryException(SR.ComboBoxItemOverflow); 2963throw new InvalidOperationException(SR.ComboBoxDataSourceWithSort); 3273throw new ArgumentException(SR.AutoCompleteFailure); 3316throw new ArgumentException(SR.AutoCompleteFailureListItems);
System\Windows\Forms\Controls\ComboBox\ComboBox.FlatStyle.Docs.cs (2)
29[SRCategory(nameof(SR.CatAppearance))] 32[SRDescription(nameof(SR.ComboBoxFlatStyleDescr))]
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))] 462_horizScrollBar.AccessibleName = SR.DataGridView_AccHorizontalScrollBarAccName; 470_vertScrollBar.AccessibleName = SR.DataGridView_AccVerticalScrollBarAccName; 651[SRCategory(nameof(SR.CatBehavior))] 652[SRDescription(nameof(SR.DataGridView_AllowUserToAddRowsDescr))] 675[SRCategory(nameof(SR.CatPropertyChanged))] 676[SRDescription(nameof(SR.DataGridViewOnAllowUserToAddRowsChangedDescr))] 684[SRCategory(nameof(SR.CatBehavior))] 685[SRDescription(nameof(SR.DataGridView_AllowUserToDeleteRowsDescr))] 703[SRCategory(nameof(SR.CatPropertyChanged))] 704[SRDescription(nameof(SR.DataGridViewOnAllowUserToDeleteRowsChangedDescr))] 712[SRCategory(nameof(SR.CatBehavior))] 713[SRDescription(nameof(SR.DataGridView_AllowUserToOrderColumnsDescr))] 730[SRCategory(nameof(SR.CatPropertyChanged))] 731[SRDescription(nameof(SR.DataGridViewOnAllowUserToOrderColumnsChangedDescr))] 743[SRCategory(nameof(SR.CatBehavior))] 744[SRDescription(nameof(SR.DataGridView_AllowUserToResizeColumnsDescr))] 758[SRCategory(nameof(SR.CatPropertyChanged))] 759[SRDescription(nameof(SR.DataGridViewOnAllowUserToResizeColumnsChangedDescr))] 771[SRCategory(nameof(SR.CatBehavior))] 772[SRDescription(nameof(SR.DataGridView_AllowUserToResizeRowsDescr))] 786[SRCategory(nameof(SR.CatPropertyChanged))] 787[SRDescription(nameof(SR.DataGridViewOnAllowUserToResizeRowsChangedDescr))] 794[SRCategory(nameof(SR.CatAppearance))] 795[SRDescription(nameof(SR.DataGridView_AlternatingRowsDefaultCellStyleDescr))] 825[SRCategory(nameof(SR.CatPropertyChanged))] 826[SRDescription(nameof(SR.DataGridViewAlternatingRowsDefaultCellStyleChangedDescr))] 879[SRCategory(nameof(SR.CatLayout))] 880[SRDescription(nameof(SR.DataGridView_AutoSizeColumnsModeDescr))] 909throw new InvalidOperationException(SR.DataGridView_CannotAutoSizeColumnsInvisibleColumnHeaders); 915throw new InvalidOperationException(SR.DataGridView_CannotAutoFillFrozenColumns); 933[SRCategory(nameof(SR.CatPropertyChanged))] 934[SRDescription(nameof(SR.DataGridViewAutoSizeColumnsModeChangedDescr))] 945[SRCategory(nameof(SR.CatLayout))] 946[SRDescription(nameof(SR.DataGridView_AutoSizeRowsModeDescr))] 969throw new InvalidOperationException(SR.DataGridView_CannotAutoSizeRowsInvisibleRowHeader); 981[SRCategory(nameof(SR.CatPropertyChanged))] 982[SRDescription(nameof(SR.DataGridViewAutoSizeRowsModeChangedDescr))] 1009[SRCategory(nameof(SR.CatAppearance))] 1010[SRDescription(nameof(SR.DataGridViewBackgroundColorDescr))] 1017throw new ArgumentException(string.Format(SR.DataGridView_EmptyColor, "BackgroundColor")); 1019throw new ArgumentException(string.Format(SR.DataGridView_TransparentColor, "BackgroundColor")); 1029[SRCategory(nameof(SR.CatPropertyChanged))] 1030[SRDescription(nameof(SR.DataGridViewBackgroundColorChangedDescr))] 1072[SRCategory(nameof(SR.CatAppearance))] 1073[SRDescription(nameof(SR.DataGridView_BorderStyleDescr))] 1102[SRCategory(nameof(SR.CatPropertyChanged))] 1103[SRDescription(nameof(SR.DataGridViewBorderStyleChangedDescr))] 1151[SRCategory(nameof(SR.CatAppearance))] 1152[SRDescription(nameof(SR.DataGridView_CellBorderStyleDescr))] 1245throw new ArgumentException(string.Format(SR.DataGridView_CustomCellBorderStyleInvalid, "CellBorderStyle")); 1322[SRCategory(nameof(SR.CatPropertyChanged))] 1323[SRDescription(nameof(SR.DataGridView_CellBorderStyleChangedDescr))] 1371[SRCategory(nameof(SR.CatBehavior))] 1372[SRDescription(nameof(SR.DataGridView_ClipboardCopyModeDescr))] 1397throw new InvalidOperationException(SR.DataGridView_CannotSetColumnCountOnDataBoundDataGridView); 1439[SRCategory(nameof(SR.CatAppearance))] 1440[SRDescription(nameof(SR.DataGridView_ColumnHeadersBorderStyleDescr))] 1462throw new ArgumentException(string.Format(SR.DataGridView_CustomCellBorderStyleInvalid, "ColumnHeadersBorderStyle")); 1507[SRCategory(nameof(SR.CatPropertyChanged))] 1508[SRDescription(nameof(SR.DataGridView_ColumnHeadersBorderStyleChangedDescr))] 1515[SRCategory(nameof(SR.CatAppearance))] 1516[SRDescription(nameof(SR.DataGridView_ColumnHeadersDefaultCellStyleDescr))] 1568[SRCategory(nameof(SR.CatPropertyChanged))] 1569[SRDescription(nameof(SR.DataGridViewColumnHeadersDefaultCellStyleChangedDescr))] 1576[SRCategory(nameof(SR.CatAppearance))] 1578[SRDescription(nameof(SR.DataGridView_ColumnHeadersHeightDescr))] 1598[SRCategory(nameof(SR.CatPropertyChanged))] 1599[SRDescription(nameof(SR.DataGridViewColumnHeadersHeightChangedDescr))] 1615[SRCategory(nameof(SR.CatBehavior))] 1616[SRDescription(nameof(SR.DataGridView_ColumnHeadersHeightSizeModeDescr))] 1633[SRCategory(nameof(SR.CatPropertyChanged))] 1634[SRDescription(nameof(SR.DataGridView_ColumnHeadersHeightSizeModeChangedDescr))] 1645[SRCategory(nameof(SR.CatAppearance))] 1647[SRDescription(nameof(SR.DataGridViewColumnHeadersVisibleDescr))] 1663throw new InvalidOperationException(SR.DataGridView_ColumnHeadersCannotBeInvisible); 1739throw new InvalidOperationException(SR.DataGridView_CellChangeCannotBeCommittedOrAborted); 1746throw new ArgumentException(SR.DataGridView_CellDoesNotBelongToDataGridView); 1751throw new InvalidOperationException(SR.DataGridView_CurrentCellCannotBeInvisible); 1756throw new InvalidOperationException(SR.DataGridView_CellChangeCannotBeCommittedOrAborted); 1772throw new InvalidOperationException(SR.DataGridView_CellChangeCannotBeCommittedOrAborted); 1886[SRCategory(nameof(SR.CatData))] 1888[SRDescription(nameof(SR.DataGridViewDataMemberDescr))] 1905[SRCategory(nameof(SR.CatPropertyChanged))] 1906[SRDescription(nameof(SR.DataGridViewDataMemberChangedDescr))] 1914[SRCategory(nameof(SR.CatData))] 1917[SRDescription(nameof(SR.DataGridViewDataSourceDescr))] 1962[SRCategory(nameof(SR.CatPropertyChanged))] 1963[SRDescription(nameof(SR.DataGridViewDataSourceChangedDescr))] 1970[SRCategory(nameof(SR.CatAppearance))] 1971[SRDescription(nameof(SR.DataGridView_DefaultCellStyleDescr))] 2082[SRCategory(nameof(SR.CatPropertyChanged))] 2083[SRDescription(nameof(SR.DataGridViewDefaultCellStyleChangedDescr))] 2153[SRCategory(nameof(SR.CatBehavior))] 2155[SRDescription(nameof(SR.DataGridView_EditModeDescr))] 2172[SRCategory(nameof(SR.CatPropertyChanged))] 2173[SRDescription(nameof(SR.DataGridView_EditModeChangedDescr))] 2246AccessibleName = SR.DataGridView_AccEditingPanelAccName 2267[SRCategory(nameof(SR.CatAppearance))] 2269[SRDescription(nameof(SR.DataGridView_EnableHeadersVisualStylesDescr))] 2305throw new ArgumentException(SR.DataGridView_CellDoesNotBelongToDataGridView); 2310throw new InvalidOperationException(SR.DataGridView_FirstDisplayedCellCannotBeAHeaderOrSharedCell); 2320throw new InvalidOperationException(SR.DataGridView_FirstDisplayedCellCannotBeInvisible); 2461throw new InvalidOperationException(SR.DataGridView_FirstDisplayedScrollingColumnCannotBeInvisible); 2466throw new InvalidOperationException(SR.DataGridView_FirstDisplayedScrollingColumnCannotBeFrozen); 2477throw new InvalidOperationException(SR.DataGridView_NoRoomForDisplayedColumns); 2484throw new InvalidOperationException(SR.DataGridView_FrozenColumnsPreventFirstDisplayedScrollingColumn); 2541throw new InvalidOperationException(SR.DataGridView_FirstDisplayedScrollingRowCannotBeInvisible); 2546throw new InvalidOperationException(SR.DataGridView_FirstDisplayedScrollingRowCannotBeFrozen); 2557throw new InvalidOperationException(SR.DataGridView_NoRoomForDisplayedRows); 2564throw new InvalidOperationException(SR.DataGridView_FrozenRowsPreventFirstDisplayedScrollingRow); 2645[SRCategory(nameof(SR.CatAppearance))] 2646[SRDescription(nameof(SR.DataGridViewGridColorDescr))] 2653throw new ArgumentException(string.Format(SR.DataGridView_EmptyColor, nameof(GridColor))); 2655throw new ArgumentException(string.Format(SR.DataGridView_TransparentColor, nameof(GridColor))); 2665[SRCategory(nameof(SR.CatPropertyChanged))] 2666[SRDescription(nameof(SR.DataGridViewOnGridColorChangedDescr))] 2996[SRCategory(nameof(SR.CatBehavior))] 2998[SRDescription(nameof(SR.DataGridView_MultiSelectDescr))] 3013[SRCategory(nameof(SR.CatPropertyChanged))] 3014[SRDescription(nameof(SR.DataGridViewOnMultiSelectChangedDescr))] 3063[SRCategory(nameof(SR.CatBehavior))] 3064[SRDescription(nameof(SR.DataGridView_ReadOnlyDescr))] 3090throw new InvalidOperationException(SR.DataGridView_CommitFailedCannotCompleteOperation); 3137[SRCategory(nameof(SR.CatPropertyChanged))] 3138[SRDescription(nameof(SR.DataGridViewOnReadOnlyChangedDescr))] 3155throw new InvalidOperationException(SR.DataGridView_CellChangeCannotBeCommittedOrAborted); 3189throw new InvalidOperationException(SR.DataGridView_CannotSetRowCountOnDataBoundDataGridView); 3235[SRCategory(nameof(SR.CatAppearance))] 3236[SRDescription(nameof(SR.DataGridView_RowHeadersBorderStyleDescr))] 3259throw new ArgumentException(string.Format(SR.DataGridView_CustomCellBorderStyleInvalid, "RowHeadersBorderStyle")); 3294[SRCategory(nameof(SR.CatPropertyChanged))] 3295[SRDescription(nameof(SR.DataGridView_RowHeadersBorderStyleChangedDescr))] 3302[SRCategory(nameof(SR.CatAppearance))] 3303[SRDescription(nameof(SR.DataGridView_RowHeadersDefaultCellStyleDescr))] 3333[SRCategory(nameof(SR.CatPropertyChanged))] 3334[SRDescription(nameof(SR.DataGridViewRowHeadersDefaultCellStyleChangedDescr))] 3345[SRCategory(nameof(SR.CatAppearance))] 3347[SRDescription(nameof(SR.DataGridViewRowHeadersVisibleDescr))] 3358throw new InvalidOperationException(SR.DataGridView_RowHeadersCannotBeInvisible); 3382[SRCategory(nameof(SR.CatLayout))] 3384[SRDescription(nameof(SR.DataGridView_RowHeadersWidthDescr))] 3436[SRCategory(nameof(SR.CatPropertyChanged))] 3437[SRDescription(nameof(SR.DataGridViewRowHeadersWidthChangedDescr))] 3453[SRCategory(nameof(SR.CatBehavior))] 3454[SRDescription(nameof(SR.DataGridView_RowHeadersWidthSizeModeDescr))] 3476[SRCategory(nameof(SR.CatPropertyChanged))] 3477[SRDescription(nameof(SR.DataGridView_RowHeadersWidthSizeModeChangedDescr))] 3495[SRCategory(nameof(SR.CatAppearance))] 3496[SRDescription(nameof(SR.DataGridView_RowsDefaultCellStyleDescr))] 3526[SRCategory(nameof(SR.CatPropertyChanged))] 3527[SRDescription(nameof(SR.DataGridViewRowsDefaultCellStyleChangedDescr))] 3534[SRCategory(nameof(SR.CatAppearance))] 3536[SRDescription(nameof(SR.DataGridView_RowTemplateDescr))] 3554throw new InvalidOperationException(SR.DataGridView_RowAlreadyBelongsToDataGridView); 3584[SRCategory(nameof(SR.CatLayout))] 3585[SRDescription(nameof(SR.DataGridView_ScrollBarsDescr))] 3607throw new InvalidOperationException(SR.DataGridView_CellChangeCannotBeCommittedOrAborted); 3744[SRCategory(nameof(SR.CatBehavior))] 3746[SRDescription(nameof(SR.DataGridView_SelectionModeDescr))] 3764throw new InvalidOperationException(string.Format(SR.DataGridView_SelectionModeAndSortModeClash, (value).ToString())); 3776[SRCategory(nameof(SR.CatAppearance))] 3777[SRDescription(nameof(SR.DataGridView_ShowCellErrorsDescr))] 3829[SRCategory(nameof(SR.CatAppearance))] 3830[SRDescription(nameof(SR.DataGridView_ShowCellToolTipsDescr))] 3881[SRCategory(nameof(SR.CatAppearance))] 3882[SRDescription(nameof(SR.DataGridView_ShowEditingIconDescr))] 3917[SRCategory(nameof(SR.CatAppearance))] 3918[SRDescription(nameof(SR.DataGridView_ShowRowErrorsDescr))] 3976[SRCategory(nameof(SR.CatBehavior))] 3979[SRDescription(nameof(SR.DataGridView_StandardTabDescr))] 4140[SRCategory(nameof(SR.CatBehavior))] 4143[SRDescription(nameof(SR.DataGridViewVirtualModeDescr))] 4163[SRCategory(nameof(SR.CatPropertyChanged))] 4164[SRDescription(nameof(SR.DataGridViewAutoSizeColumnModeChangedDescr))] 4171[SRCategory(nameof(SR.CatAction))] 4172[SRDescription(nameof(SR.DataGridView_CancelRowEditDescr))] 4179[SRCategory(nameof(SR.CatData))] 4180[SRDescription(nameof(SR.DataGridView_CellBeginEditDescr))] 4187[SRCategory(nameof(SR.CatMouse))] 4188[SRDescription(nameof(SR.DataGridView_CellClickDescr))] 4195[SRCategory(nameof(SR.CatMouse))] 4196[SRDescription(nameof(SR.DataGridView_CellContentClick))] 4203[SRCategory(nameof(SR.CatMouse))] 4204[SRDescription(nameof(SR.DataGridView_CellContentDoubleClick))] 4211[SRCategory(nameof(SR.CatAction))] 4212[SRDescription(nameof(SR.DataGridView_CellContextMenuStripChanged))] 4220[SRCategory(nameof(SR.CatBehavior))] 4221[SRDescription(nameof(SR.DataGridView_CellContextMenuStripNeeded))] 4229[SRCategory(nameof(SR.CatMouse))] 4230[SRDescription(nameof(SR.DataGridView_CellDoubleClickDescr))] 4237[SRCategory(nameof(SR.CatData))] 4238[SRDescription(nameof(SR.DataGridView_CellEndEditDescr))] 4245[SRCategory(nameof(SR.CatFocus))] 4246[SRDescription(nameof(SR.DataGridView_CellEnterDescr))] 4253[SRCategory(nameof(SR.CatPropertyChanged))] 4254[SRDescription(nameof(SR.DataGridView_CellErrorTextChangedDescr))] 4261[SRCategory(nameof(SR.CatData))] 4263[SRDescription(nameof(SR.DataGridView_CellErrorTextNeededDescr))] 4270[SRCategory(nameof(SR.CatDisplay))] 4271[SRDescription(nameof(SR.DataGridView_CellFormattingDescr))] 4278[SRCategory(nameof(SR.CatFocus))] 4279[SRDescription(nameof(SR.DataGridView_CellLeaveDescr))] 4286[SRCategory(nameof(SR.CatMouse))] 4287[SRDescription(nameof(SR.DataGridView_CellMouseClickDescr))] 4294[SRCategory(nameof(SR.CatMouse))] 4295[SRDescription(nameof(SR.DataGridView_CellMouseDoubleClickDescr))] 4302[SRCategory(nameof(SR.CatMouse))] 4303[SRDescription(nameof(SR.DataGridView_CellMouseDownDescr))] 4310[SRCategory(nameof(SR.CatMouse))] 4311[SRDescription(nameof(SR.DataGridView_CellMouseEnterDescr))] 4318[SRCategory(nameof(SR.CatMouse))] 4319[SRDescription(nameof(SR.DataGridView_CellMouseLeaveDescr))] 4326[SRCategory(nameof(SR.CatMouse))] 4327[SRDescription(nameof(SR.DataGridView_CellMouseMoveDescr))] 4334[SRCategory(nameof(SR.CatMouse))] 4335[SRDescription(nameof(SR.DataGridView_CellMouseUpDescr))] 4342[SRCategory(nameof(SR.CatDisplay))] 4343[SRDescription(nameof(SR.DataGridView_CellPaintingDescr))] 4350[SRCategory(nameof(SR.CatDisplay))] 4351[SRDescription(nameof(SR.DataGridView_CellParsingDescr))] 4358[SRCategory(nameof(SR.CatBehavior))] 4359[SRDescription(nameof(SR.DataGridView_CellStateChangedDescr))] 4366[SRCategory(nameof(SR.CatPropertyChanged))] 4367[SRDescription(nameof(SR.DataGridView_CellStyleChangedDescr))] 4374[SRCategory(nameof(SR.CatPropertyChanged))] 4375[SRDescription(nameof(SR.DataGridView_CellStyleContentChangedDescr))] 4382[SRCategory(nameof(SR.CatPropertyChanged))] 4383[SRDescription(nameof(SR.DataGridView_CellToolTipTextChangedDescr))] 4390[SRCategory(nameof(SR.CatBehavior))] 4391[SRDescription(nameof(SR.DataGridView_CellToolTipTextNeededDescr))] 4399[SRCategory(nameof(SR.CatFocus))] 4400[SRDescription(nameof(SR.DataGridView_CellValidatedDescr))] 4407[SRCategory(nameof(SR.CatFocus))] 4408[SRDescription(nameof(SR.DataGridView_CellValidatingDescr))] 4415[SRCategory(nameof(SR.CatAction))] 4416[SRDescription(nameof(SR.DataGridView_CellValueChangedDescr))] 4423[SRCategory(nameof(SR.CatData))] 4425[SRDescription(nameof(SR.DataGridView_CellValueNeededDescr))] 4432[SRCategory(nameof(SR.CatData))] 4434[SRDescription(nameof(SR.DataGridView_CellValuePushedDescr))] 4441[SRCategory(nameof(SR.CatAction))] 4442[SRDescription(nameof(SR.DataGridView_ColumnAddedDescr))] 4449[SRCategory(nameof(SR.CatPropertyChanged))] 4450[SRDescription(nameof(SR.DataGridView_ColumnContextMenuStripChangedDescr))] 4457[SRCategory(nameof(SR.CatPropertyChanged))] 4458[SRDescription(nameof(SR.DataGridView_ColumnDataPropertyNameChangedDescr))] 4465[SRCategory(nameof(SR.CatPropertyChanged))] 4466[SRDescription(nameof(SR.DataGridView_ColumnDefaultCellStyleChangedDescr))] 4473[SRCategory(nameof(SR.CatPropertyChanged))] 4474[SRDescription(nameof(SR.DataGridView_ColumnDisplayIndexChangedDescr))] 4481[SRCategory(nameof(SR.CatMouse))] 4482[SRDescription(nameof(SR.DataGridView_ColumnDividerDoubleClickDescr))] 4489[SRCategory(nameof(SR.CatPropertyChanged))] 4490[SRDescription(nameof(SR.DataGridView_ColumnDividerWidthChangedDescr))] 4497[SRCategory(nameof(SR.CatMouse))] 4498[SRDescription(nameof(SR.DataGridView_ColumnHeaderMouseClickDescr))] 4505[SRCategory(nameof(SR.CatMouse))] 4506[SRDescription(nameof(SR.DataGridView_ColumnHeaderMouseDoubleClickDescr))] 4513[SRCategory(nameof(SR.CatPropertyChanged))] 4514[SRDescription(nameof(SR.DataGridView_ColumnHeaderCellChangedDescr))] 4521[SRCategory(nameof(SR.CatPropertyChanged))] 4522[SRDescription(nameof(SR.DataGridView_ColumnMinimumWidthChangedDescr))] 4529[SRCategory(nameof(SR.CatPropertyChanged))] 4530[SRDescription(nameof(SR.DataGridView_ColumnNameChangedDescr))] 4537[SRCategory(nameof(SR.CatAction))] 4538[SRDescription(nameof(SR.DataGridView_ColumnRemovedDescr))] 4545[SRCategory(nameof(SR.CatBehavior))] 4546[SRDescription(nameof(SR.DataGridViewColumnSortModeChangedDescr))] 4553[SRCategory(nameof(SR.CatBehavior))] 4554[SRDescription(nameof(SR.DataGridView_ColumnStateChangedDescr))] 4561[SRCategory(nameof(SR.CatPropertyChanged))] 4562[SRDescription(nameof(SR.DataGridView_ColumnToolTipTextChangedDescr))] 4569[SRCategory(nameof(SR.CatAction))] 4570[SRDescription(nameof(SR.DataGridView_ColumnWidthChangedDescr))] 4577[SRCategory(nameof(SR.CatAction))] 4578[SRDescription(nameof(SR.DataGridView_CurrentCellChangedDescr))] 4585[SRCategory(nameof(SR.CatBehavior))] 4587[SRDescription(nameof(SR.DataGridView_CurrentCellDirtyStateChangedDescr))] 4594[SRCategory(nameof(SR.CatData))] 4595[SRDescription(nameof(SR.DataGridView_DataBindingCompleteDescr))] 4602[SRCategory(nameof(SR.CatBehavior))] 4603[SRDescription(nameof(SR.DataGridView_DataErrorDescr))] 4610[SRCategory(nameof(SR.CatData))] 4612[SRDescription(nameof(SR.DataGridView_DefaultValuesNeededDescr))] 4619[SRCategory(nameof(SR.CatAction))] 4620[SRDescription(nameof(SR.DataGridView_EditingControlShowingDescr))] 4627[SRCategory(nameof(SR.CatData))] 4628[SRDescription(nameof(SR.DataGridView_NewRowNeededDescr))] 4635[SRCategory(nameof(SR.CatPropertyChanged))] 4636[SRDescription(nameof(SR.DataGridView_RowContextMenuStripChangedDescr))] 4643[SRCategory(nameof(SR.CatData))] 4645[SRDescription(nameof(SR.DataGridView_RowContextMenuStripNeededDescr))] 4652[SRCategory(nameof(SR.CatPropertyChanged))] 4653[SRDescription(nameof(SR.DataGridView_RowDefaultCellStyleChangedDescr))] 4660[SRCategory(nameof(SR.CatData))] 4662[SRDescription(nameof(SR.DataGridView_RowDirtyStateNeededDescr))] 4669[SRCategory(nameof(SR.CatMouse))] 4670[SRDescription(nameof(SR.DataGridView_RowDividerDoubleClickDescr))] 4677[SRCategory(nameof(SR.CatAppearance))] 4678[SRDescription(nameof(SR.DataGridView_RowDividerHeightChangedDescr))] 4685[SRCategory(nameof(SR.CatFocus))] 4686[SRDescription(nameof(SR.DataGridView_RowEnterDescr))] 4693[SRCategory(nameof(SR.CatPropertyChanged))] 4694[SRDescription(nameof(SR.DataGridView_RowErrorTextChangedDescr))] 4701[SRCategory(nameof(SR.CatData))] 4703[SRDescription(nameof(SR.DataGridView_RowErrorTextNeededDescr))] 4710[SRCategory(nameof(SR.CatMouse))] 4711[SRDescription(nameof(SR.DataGridView_RowHeaderMouseClickDescr))] 4718[SRCategory(nameof(SR.CatMouse))] 4719[SRDescription(nameof(SR.DataGridView_RowHeaderMouseDoubleClickDescr))] 4726[SRCategory(nameof(SR.CatPropertyChanged))] 4727[SRDescription(nameof(SR.DataGridView_RowHeaderCellChangedDescr))] 4734[SRCategory(nameof(SR.CatPropertyChanged))] 4735[SRDescription(nameof(SR.DataGridView_RowHeightChangedDescr))] 4742[SRCategory(nameof(SR.CatData))] 4744[SRDescription(nameof(SR.DataGridView_RowHeightInfoNeededDescr))] 4761[SRCategory(nameof(SR.CatData))] 4763[SRDescription(nameof(SR.DataGridView_RowHeightInfoPushedDescr))] 4770[SRCategory(nameof(SR.CatFocus))] 4771[SRDescription(nameof(SR.DataGridView_RowLeaveDescr))] 4778[SRCategory(nameof(SR.CatPropertyChanged))] 4779[SRDescription(nameof(SR.DataGridView_RowMinimumHeightChangedDescr))] 4786[SRCategory(nameof(SR.CatDisplay))] 4787[SRDescription(nameof(SR.DataGridView_RowPostPaintDescr))] 4804[SRCategory(nameof(SR.CatDisplay))] 4805[SRDescription(nameof(SR.DataGridView_RowPrePaintDescr))] 4822[SRCategory(nameof(SR.CatAction))] 4823[SRDescription(nameof(SR.DataGridView_RowsAddedDescr))] 4830[SRCategory(nameof(SR.CatAction))] 4831[SRDescription(nameof(SR.DataGridView_RowsRemovedDescr))] 4838[SRCategory(nameof(SR.CatBehavior))] 4839[SRDescription(nameof(SR.DataGridView_RowStateChangedDescr))] 4846[SRCategory(nameof(SR.CatBehavior))] 4848[SRDescription(nameof(SR.DataGridView_RowUnsharedDescr))] 4855[SRCategory(nameof(SR.CatFocus))] 4856[SRDescription(nameof(SR.DataGridView_RowValidatedDescr))] 4863[SRCategory(nameof(SR.CatFocus))] 4864[SRDescription(nameof(SR.DataGridView_RowValidatingDescr))] 4871[SRCategory(nameof(SR.CatAction))] 4872[SRDescription(nameof(SR.DataGridView_ScrollDescr))] 4879[SRCategory(nameof(SR.CatAction))] 4880[SRDescription(nameof(SR.DataGridView_SelectionChangedDescr))] 4887[SRCategory(nameof(SR.CatData))] 4889[SRDescription(nameof(SR.DataGridView_SortCompareDescr))] 4896[SRCategory(nameof(SR.CatData))] 4897[SRDescription(nameof(SR.DataGridView_SortedDescr))] 4912[SRCategory(nameof(SR.CatAction))] 4913[SRDescription(nameof(SR.DataGridView_UserAddedRowDescr))] 4920[SRCategory(nameof(SR.CatAction))] 4921[SRDescription(nameof(SR.DataGridView_UserDeletedRowDescr))] 4928[SRCategory(nameof(SR.CatAction))] 4929[SRDescription(nameof(SR.DataGridView_UserDeletingRowDescr))] 4943throw new InvalidOperationException(SR.DataGridViewBeginInit); 4974SR.DataGridView_SelectionModeReset, 4976SR.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)
133SR.DataGridView_RowAddedNotification, 571throw new InvalidOperationException(SR.DataGridView_CannotAlterAutoFillColumnParameter); 1740throw new ArgumentException(string.Format(SR.DataGridView_NeedColumnAutoSizingCriteria, "autoSizeColumnMode")); 1763throw new InvalidOperationException(SR.DataGridView_CannotAutoSizeInvisibleColumnHeader); 2008throw new InvalidOperationException(SR.DataGridView_CannotAutoSizeRowInvisibleRowHeader); 2031throw new ArgumentException(string.Format(SR.DataGridView_NeedAutoSizingCriteria, "rowHeadersWidthSizeMode")); 2177throw new ArgumentException(string.Format(SR.DataGridView_NeedAutoSizingCriteria, "rowHeadersWidthSizeMode")); 2409throw new ArgumentException(string.Format(SR.DataGridView_NeedAutoSizingCriteria, "autoSizeRowsMode")); 2415throw new InvalidOperationException(SR.DataGridView_CannotAutoSizeRowsInvisibleRowHeader); 2431throw new InvalidOperationException(SR.DataGridView_CannotAutoSizeRowsInvisibleRowHeader); 2610? throw new InvalidOperationException(SR.DataGridView_NoCurrentCell) 2617throw new InvalidOperationException(SR.DataGridView_BeginEditNotReentrant); 2698throw new InvalidCastException(SR.DataGridView_InvalidEditingControl); 2722EditingControl.AccessibleName = SR.DataGridView_AccEditingControlAccName; 4252throw new InvalidOperationException(SR.DataGridView_AColumnHasNoCellTemplate); 5084throw new InvalidOperationException(SR.DataGridView_CannotAddFrozenColumn); 5098throw new InvalidOperationException(SR.DataGridView_CannotAddNonFrozenColumn); 5223throw new InvalidOperationException(SR.DataGridView_CannotMoveNonFrozenColumn); 5242throw new InvalidOperationException(SR.DataGridView_CannotMoveFrozenColumn); 5290throw new InvalidOperationException(SR.DataGridView_CannotAddFrozenRow); 5303throw new InvalidOperationException(SR.DataGridView_CannotAddNonFrozenRow); 5332throw new InvalidOperationException(SR.DataGridView_CannotAddFrozenRow); 5338throw new InvalidOperationException(SR.DataGridView_CannotAddNonFrozenRow); 6903throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 7179throw new NotSupportedException(SR.DataGridView_DisabledClipboardCopy); 9822throw new ArgumentException(SR.DataGridView_CellDoesNotBelongToDataGridView); 10797throw new InvalidOperationException(SR.DataGridView_ColumnAlreadyBelongsToDataGridView); 10804throw new InvalidOperationException(string.Format(SR.DataGridViewColumn_SortModeAndSelectionModeClash, DataGridViewColumnSortMode.Automatic.ToString(), SelectionMode.ToString())); 10817throw new InvalidOperationException(SR.DataGridView_CannotAddAutoSizedColumn); 10826throw new InvalidOperationException(SR.DataGridView_CannotAddAutoFillColumn); 10837throw new InvalidOperationException(string.Format(SR.DataGridView_WeightSumCannotExceedLongMaxValue, ushort.MaxValue)); 10849throw new InvalidOperationException(SR.DataGridView_CannotAddUntypedColumn); 10916throw new InvalidOperationException(SR.DataGridView_AtLeastOneColumnIsNull); 10921throw new InvalidOperationException(SR.DataGridView_ColumnAlreadyBelongsToDataGridView); 10927throw new InvalidOperationException(SR.DataGridView_CannotAddUntypedColumn); 10935SR.DataGridViewColumn_SortModeAndSelectionModeClash, 10950throw new InvalidOperationException(SR.DataGridView_CannotAddAutoSizedColumn); 10959throw new InvalidOperationException(SR.DataGridView_CannotAddAutoFillColumn); 10969throw new InvalidOperationException(string.Format(SR.DataGridView_WeightSumCannotExceedLongMaxValue, ushort.MaxValue)); 10983throw new InvalidOperationException(SR.DataGridView_CannotAddIdenticalColumns); 11097throw new InvalidOperationException(SR.DataGridView_AtLeastOneRowIsNull); 11102throw new InvalidOperationException(SR.DataGridView_RowAlreadyBelongsToDataGridView); 11107throw new InvalidOperationException(SR.DataGridViewRowCollection_CannotAddOrInsertSelectedRow); 11112throw new InvalidOperationException(SR.DataGridViewRowCollection_TooManyCells); 11124throw new InvalidOperationException(SR.DataGridView_CannotAddIdenticalRows); 11218?? throw new InvalidOperationException(string.Format(SR.InvalidNullArgument, "e.Column")); 11296throw new ArgumentException(SR.DataGridView_PreviousModesHasWrongLength); 11498throw new InvalidOperationException(SR.DataGridView_CannotAlterAutoFillColumnParameter); 13300throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 13364throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 13379throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 13405throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 13427throw new InvalidOperationException(SR.DataGridView_CannotAlterDisplayIndexWithinAdjustments); 13477throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 13553throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 13580throw new InvalidOperationException(SR.DataGridView_CannotAlterAutoFillColumnParameter); 13587throw new InvalidOperationException(string.Format(SR.DataGridView_WeightSumCannotExceedLongMaxValue, ushort.MaxValue)); 13640throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 14101throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 14128throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 14320throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 14522throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 14532throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 14676? SR.DataGridView_ErrorMessageText_NoException 14677: string.Format(SR.DataGridView_ErrorMessageText_WithException, e.Exception); 14683SR.DataGridView_ErrorMessageCaption, 14691MessageBox.Show(errorText, SR.DataGridView_ErrorMessageCaption, MessageBoxButtons.OK, MessageBoxIcon.Error); 14769throw new InvalidOperationException(SR.DataGridView_CannotMakeAutoSizedColumnVisible); 14821throw new InvalidOperationException(SR.DataGridView_CommitFailedCannotCompleteOperation); 14852throw new InvalidOperationException(SR.DataGridView_CurrencyManagerRowCannotBeInvisible); 14883throw new InvalidOperationException(SR.DataGridView_CommitFailedCannotCompleteOperation); 14924throw new InvalidOperationException(SR.DataGridView_CommitFailedCannotCompleteOperation); 15433throw new InvalidOperationException(SR.DataGridView_ColumnAlreadyBelongsToDataGridView); 15441SR.DataGridViewColumn_SortModeAndSelectionModeClash, 15456throw new InvalidOperationException(SR.DataGridView_CannotAddAutoSizedColumn); 15465throw new InvalidOperationException(SR.DataGridView_CannotAddAutoFillColumn); 15490throw new InvalidOperationException(SR.DataGridView_CannotAddUntypedColumn); 16717throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 17645throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 17665throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 17703throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 17825throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 17909throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 18342throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 18426throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 18776throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 19062throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, "e.Row"); 19771throw new InvalidOperationException(SR.DataGridView_CannotAlterAutoFillColumnParameter); 26838throw new InvalidOperationException(SR.DataGridView_CurrentCellCannotBeInvisible); 26844throw new InvalidOperationException(SR.DataGridView_SetCurrentCellAddressCoreNotReentrant); 27528throw new ArgumentOutOfRangeException(nameof(width), width, string.Format(SR.DataGridView_SizeTooLarge, (UpperSize).ToString(CultureInfo.CurrentCulture))); 27533throw new ArgumentOutOfRangeException(nameof(height), height, string.Format(SR.DataGridView_SizeTooLarge, (UpperSize).ToString(CultureInfo.CurrentCulture))); 27807throw new InvalidOperationException(SR.DataGridView_CurrentCellCannotBeInvisible); 28240throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView); 28245throw new InvalidOperationException(SR.DataGridView_OperationDisabledInVirtualMode); 28257throw new InvalidOperationException(SR.DataGridView_OperationDisabledInVirtualMode); 28263throw new InvalidOperationException(SR.DataGridView_CannotUseAComparerToSortDataGridViewWhenDataBound); 28273throw new InvalidOperationException(SR.DataGridView_CannotSortDataBoundDataGridViewBoundToNonIBindingList); 28278throw new InvalidOperationException(SR.DataGridView_IBindingListNeedsToSupportSorting); 28283throw 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)
125SR.DataGridView_WrongType, 278SR.DataGridView_WrongType, 296SR.DataGridView_WrongType, 351throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.DataGridViewBand_MinimumHeightSmallerThanOne, MinBandThickness)); 355throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.DataGridViewBand_MinimumWidthSmallerThanOne, MinBandThickness)); 407throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertySetOnSharedRow, nameof(ReadOnly))); 538throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertySetOnSharedRow, nameof(Selected))); 558throw new InvalidOperationException(SR.DataGridViewBand_CannotSelect); 686throw 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)
394throw new InvalidOperationException(SR.DataGridView_InvalidOperationOnSharedCell); 448throw new InvalidOperationException(SR.DataGridView_InvalidOperationOnSharedCell); 466throw new InvalidOperationException(SR.DataGridViewCell_CannotSetReadOnlyState); 550throw new InvalidOperationException(SR.DataGridView_InvalidOperationOnSharedCell); 559throw new InvalidOperationException(SR.DataGridViewCell_CannotSetSelectedState); 642[SRCategory(nameof(SR.CatData))] 645[SRDescription(nameof(SR.ControlTagDescr))] 1660exception = new FormatException(SR.DataGridViewCell_FormattedValueTypeNull); 1664exception = new FormatException(SR.DataGridViewCell_FormattedValueHasWrongType); 1686throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(constraintSize), constraintSize)); 1708throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(constraintSize), constraintSize)); 1782throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(rowIndex), rowIndex)); 1807throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(rowIndex), rowIndex)); 1875throw new InvalidOperationException(SR.DataGridView_CellNeedsDataGridViewForInheritedStyle); 2358throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertyGetOnSharedCell, "Size")); 3722throw new FormatException(SR.DataGridViewCell_FormattedValueTypeNull); 3727throw new FormatException(SR.DataGridViewCell_ValueTypeNull); 3733throw 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 (12)
66[SRDescription(nameof(SR.DataGridViewCellStyleAlignmentDescr))] 68[SRCategory(nameof(SR.CatLayout))] 108[SRCategory(nameof(SR.CatAppearance))] 144[SRCategory(nameof(SR.CatAppearance))] 159[SRCategory(nameof(SR.CatAppearance))] 175[SRCategory(nameof(SR.CatBehavior))] 242[SRCategory(nameof(SR.CatData))] 262[SRCategory(nameof(SR.CatLayout))] 308[SRCategory(nameof(SR.CatAppearance))] 322[SRCategory(nameof(SR.CatAppearance))] 341[SRCategory(nameof(SR.CatAppearance))] 364[SRCategory(nameof(SR.CatLayout))]
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (22)
59throw new ArgumentException(SR.DataGridViewCell_FormattedValueTypeNull); 66throw new ArgumentException(SR.DataGridViewCheckBoxCell_InvalidValueType); 102throw new ArgumentException(SR.DataGridViewCheckBoxCell_InvalidValueType); 127throw new InvalidOperationException(SR.DataGridViewCell_FormattedValueTypeNull); 136return SR.DataGridViewCheckBoxCell_ClipboardChecked; 145return SR.DataGridViewCheckBoxCell_ClipboardIndeterminate; 154return SR.DataGridViewCheckBoxCell_ClipboardUnchecked; 165return ret ? SR.DataGridViewCheckBoxCell_ClipboardTrue : SR.DataGridViewCheckBoxCell_ClipboardFalse; 500return SR.DataGridViewCheckBoxCell_ClipboardFalse; 607return ThreeState ? SR.DataGridViewCheckBoxCell_ClipboardChecked : SR.DataGridViewCheckBoxCell_ClipboardTrue; 611return ThreeState ? SR.DataGridViewCheckBoxCell_ClipboardUnchecked : SR.DataGridViewCheckBoxCell_ClipboardFalse; 618return ThreeState ? SR.DataGridViewCheckBoxCell_ClipboardChecked : SR.DataGridViewCheckBoxCell_ClipboardTrue; 622return ThreeState ? SR.DataGridViewCheckBoxCell_ClipboardUnchecked : SR.DataGridViewCheckBoxCell_ClipboardFalse; 627return SR.DataGridViewCheckBoxCell_ClipboardIndeterminate; 957CheckState.Checked => string.Format(SR.DataGridViewCheckBoxCellCheckedStateDescription, cellName), 958CheckState.Unchecked => string.Format(SR.DataGridViewCheckBoxCellUncheckedStateDescription, cellName), 959_ => string.Format(SR.DataGridViewCheckBoxCellIndeterminateStateDescription, cellName),
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.DataGridViewCheckBoxCellAccessibleObject.cs (7)
25throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 53throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 73return switchToCheckedState ? SR.DataGridView_AccCheckBoxCellDefaultActionCheck : SR.DataGridView_AccCheckBoxCellDefaultActionUncheck; 81throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 91throw new InvalidOperationException(SR.DataGridView_InvalidOperationOnSharedCell); 155throw new InvalidOperationException(string.Format(SR.DataGridViewCellAccessibleObject_OwnerWrongType, Owner is null ? "null" : Owner.GetType().Name));
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxColumn.cs (18)
38throw new InvalidCastException(string.Format(SR.DataGridViewTypeColumn_WrongCellTemplateType, "System.Windows.Forms.DataGridViewCheckBoxCell")); 48[SRCategory(nameof(SR.CatAppearance))] 49[SRDescription(nameof(SR.DataGridView_ColumnDefaultCellStyleDescr))] 58[SRCategory(nameof(SR.CatData))] 59[SRDescription(nameof(SR.DataGridView_CheckBoxColumnFalseValueDescr))] 68throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 102[SRCategory(nameof(SR.CatAppearance))] 103[SRDescription(nameof(SR.DataGridView_CheckBoxColumnFlatStyleDescr))] 111throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 145[SRCategory(nameof(SR.CatData))] 146[SRDescription(nameof(SR.DataGridView_CheckBoxColumnIndeterminateValueDescr))] 155throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 189[SRCategory(nameof(SR.CatBehavior))] 190[SRDescription(nameof(SR.DataGridView_CheckBoxColumnThreeStateDescr))] 198throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 239[SRCategory(nameof(SR.CatData))] 240[SRDescription(nameof(SR.DataGridView_CheckBoxColumnTrueValueDescr))] 249throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (39)
72[SRCategory(nameof(SR.CatLayout))] 74[SRDescription(nameof(SR.DataGridViewColumn_AutoSizeModeDescr))] 104throw new InvalidOperationException(SR.DataGridViewColumn_AutoSizeCriteriaCannotUseInvisibleHeaders); 112throw new InvalidOperationException(SR.DataGridViewColumn_FrozenColumnCannotAutoFill); 166[SRCategory(nameof(SR.CatBehavior))] 167[SRDescription(nameof(SR.DataGridView_ColumnContextMenuStripDescr))] 178[SRDescription(nameof(SR.DataGridView_ColumnDataPropertyNameDescr))] 179[SRCategory(nameof(SR.CatData))] 197[SRCategory(nameof(SR.CatAppearance))] 198[SRDescription(nameof(SR.DataGridView_ColumnDefaultCellStyleDescr))] 245throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.DataGridViewColumn_DisplayIndexTooLarge, int.MaxValue)); 252throw new ArgumentOutOfRangeException(nameof(value), value, SR.DataGridViewColumn_DisplayIndexNegative); 257throw new ArgumentOutOfRangeException(nameof(value), value, SR.DataGridViewColumn_DisplayIndexExceedsColumnCount); 279throw new ArgumentOutOfRangeException(nameof(DisplayIndex), value, SR.DataGridViewColumn_DisplayIndexTooNegative); 324[SRCategory(nameof(SR.CatLayout))] 325[SRDescription(nameof(SR.DataGridView_ColumnDividerWidthDescr))] 332[SRCategory(nameof(SR.CatLayout))] 334[SRDescription(nameof(SR.DataGridViewColumn_FillWeightDescr))] 367[SRCategory(nameof(SR.CatLayout))] 368[SRDescription(nameof(SR.DataGridView_ColumnFrozenDescr))] 384[SRCategory(nameof(SR.CatAppearance))] 385[SRDescription(nameof(SR.DataGridView_ColumnHeaderTextDescr))] 608[SRCategory(nameof(SR.CatLayout))] 609[SRDescription(nameof(SR.DataGridView_ColumnMinimumWidthDescr))] 667[SRCategory(nameof(SR.CatBehavior))] 668[SRDescription(nameof(SR.DataGridView_ColumnReadOnlyDescr))] 681throw new InvalidOperationException(SR.DataGridView_ColumnBoundToAReadOnlyFieldMustRemainReadOnly); 688[SRCategory(nameof(SR.CatBehavior))] 689[SRDescription(nameof(SR.DataGridView_ColumnResizableDescr))] 701[SRCategory(nameof(SR.CatBehavior))] 702[SRDescription(nameof(SR.DataGridView_ColumnSortModeDescr))] 732throw new InvalidOperationException(string.Format(SR.DataGridViewColumn_SortModeAndSelectionModeClash, (value).ToString(), DataGridView.SelectionMode.ToString())); 759[SRCategory(nameof(SR.CatAppearance))] 760[SRDescription(nameof(SR.DataGridView_ColumnToolTipTextDescr))] 797[SRCategory(nameof(SR.CatAppearance))] 798[SRDescription(nameof(SR.DataGridView_ColumnVisibleDescr))] 805[SRCategory(nameof(SR.CatLayout))] 807[SRDescription(nameof(SR.DataGridView_ColumnWidthDescr))] 892throw new ArgumentException(string.Format(SR.DataGridView_NeedColumnAutoSizingCriteria, "autoSizeColumnMode"));
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnCollection.cs (23)
148throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 155throw new InvalidOperationException(SR.DataGridView_CannotAlterDisplayIndexWithinAdjustments); 181throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 188throw new InvalidOperationException(SR.DataGridView_CannotAlterDisplayIndexWithinAdjustments); 271throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 278throw new InvalidOperationException(SR.DataGridView_CannotAlterDisplayIndexWithinAdjustments); 413throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 552throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 602throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 640throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 646throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(excludeFilter))); 680throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 686throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(excludeFilter))); 723throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 729throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(excludeFilter))); 796throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 802throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(excludeFilter))); 869throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 876throw new InvalidOperationException(SR.DataGridView_CannotAlterDisplayIndexWithinAdjustments); 993throw new ArgumentException(SR.DataGridView_ColumnDoesNotBelongToDataGridView, nameof(dataGridViewColumn)); 1028throw new ArgumentException(string.Format(SR.DataGridViewColumnCollection_ColumnNotFound, columnName), nameof(columnName)); 1038throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 1045throw new InvalidOperationException(SR.DataGridView_CannotAlterDisplayIndexWithinAdjustments);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (3)
70throw new InvalidOperationException(SR.DataGridView_CellDoesNotYetBelongToDataGridView); 77throw new InvalidOperationException(string.Format(SR.DataGridViewColumnHeaderCell_SortModeAndSortGlyphDirectionClash, (value).ToString())); 279throw new InvalidOperationException(SR.DataGridView_CellNeedsDataGridViewForInheritedStyle);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject.cs (11)
31? throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet) 40throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 47return SR.DataGridView_AccColumnHeaderCellDefaultAction; 53return SR.DataGridView_AccColumnHeaderCellSelectDefaultAction; 62? throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet) 67? throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet) 78throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 109throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 142throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 204throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 244throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (12)
138throw new ArgumentException(SR.BadDataSourceForComplexBinding); 323throw new ArgumentOutOfRangeException(nameof(DropDownWidth), value, string.Format(SR.DataGridViewComboBoxCell_DropDownWidthOutOfRange, 1)); 386string.Format(SR.DataGridViewComboBoxCell_MaxDropDownItemsOutOfRange, 1, 100)); 428throw new ArgumentException(SR.ComboBoxSortWithDataSource); 575throw new ArgumentException(SR.DataSourceLocksItems); 816? SR.DefaultDataGridViewComboBoxCellToolTipText 931new FormatException(SR.DataGridViewComboBoxCell_InvalidValue), 968new ArgumentException(SR.DataGridViewComboBoxCell_InvalidValue), 1003new ArgumentException(SR.DataGridViewComboBoxCell_InvalidValue), 1359throw new ArgumentException(string.Format(SR.DataGridViewComboBoxCell_PropertyNotFound, displayMember)); 1390throw new ArgumentException(string.Format(SR.DataGridViewComboBoxCell_PropertyNotFound, valueMember)); 2411throw new FormatException(string.Format(CultureInfo.CurrentCulture, SR.Formatter_CantConvert, value, DisplayType));
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.DataGridViewComboBoxCellAccessibleObject.cs (1)
42throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.ObjectCollection.cs (2)
109throw new InvalidOperationException(SR.InvalidNullItemInCollection); 133throw new InvalidOperationException(SR.InvalidNullItemInCollection);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxColumn.cs (34)
25[SRCategory(nameof(SR.CatBehavior))] 26[SRDescription(nameof(SR.DataGridView_ComboBoxColumnAutoCompleteDescr))] 34throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 75throw new InvalidCastException(string.Format(SR.DataGridViewTypeColumn_WrongCellTemplateType, "System.Windows.Forms.DataGridViewComboBoxCell")); 86[SRCategory(nameof(SR.CatData))] 87[SRDescription(nameof(SR.DataGridView_ComboBoxColumnDataSourceDescr))] 97throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 131[SRCategory(nameof(SR.CatData))] 132[SRDescription(nameof(SR.DataGridView_ComboBoxColumnDisplayMemberDescr))] 143throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 177[SRCategory(nameof(SR.CatAppearance))] 178[SRDescription(nameof(SR.DataGridView_ComboBoxColumnDisplayStyleDescr))] 186throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 221[SRCategory(nameof(SR.CatAppearance))] 222[SRDescription(nameof(SR.DataGridView_ComboBoxColumnDisplayStyleForCurrentCellOnlyDescr))] 230throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 265[SRCategory(nameof(SR.CatBehavior))] 266[SRDescription(nameof(SR.DataGridView_ComboBoxColumnDropDownWidthDescr))] 274throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 306[SRCategory(nameof(SR.CatAppearance))] 307[SRDescription(nameof(SR.DataGridView_ComboBoxColumnFlatStyleDescr))] 315throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 350[SRCategory(nameof(SR.CatData))] 351[SRDescription(nameof(SR.DataGridView_ComboBoxColumnItemsDescr))] 358throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 366[SRCategory(nameof(SR.CatData))] 367[SRDescription(nameof(SR.DataGridView_ComboBoxColumnValueMemberDescr))] 378throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 412[SRCategory(nameof(SR.CatBehavior))] 413[SRDescription(nameof(SR.DataGridView_ComboBoxColumnMaxDropDownItemsDescr))] 421throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 453[SRCategory(nameof(SR.CatBehavior))] 454[SRDescription(nameof(SR.DataGridView_ComboBoxColumnSortedDescr))] 462throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired);
System\Windows\Forms\Controls\DataGridView\DataGridViewDataErrorEventArgs.cs (1)
33throw new ArgumentException(SR.DataGridView_CannotThrowNullException);
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (5)
121set => throw new InvalidOperationException(string.Format(SR.DataGridView_HeaderCellReadOnlyProperty, "ReadOnly")); 152set => throw new InvalidOperationException(string.Format(SR.DataGridView_HeaderCellReadOnlyProperty, "Selected")); 236throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(rowIndex), rowIndex), nameof(rowIndex)); 241throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(rowIndex), rowIndex), nameof(rowIndex)); 367throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(rowIndex), rowIndex), nameof(rowIndex));
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (1)
285private protected override string GetDefaultToolTipText() => SR.DefaultDataGridViewImageCellToolTipText;
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.DataGridViewImageCellAccessibleObject.cs (1)
36throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet);
System\Windows\Forms\Controls\DataGridView\DataGridViewImageColumn.cs (12)
45throw new InvalidCastException(string.Format(SR.DataGridViewTypeColumn_WrongCellTemplateType, "System.Windows.Forms.DataGridViewImageCell")); 53[SRCategory(nameof(SR.CatAppearance))] 54[SRDescription(nameof(SR.DataGridView_ColumnDefaultCellStyleDescr))] 64[SRCategory(nameof(SR.CatAppearance))] 65[SRDescription(nameof(SR.DataGridViewImageColumn_DescriptionDescr))] 74throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 119[SRCategory(nameof(SR.CatAppearance))] 120[SRDescription(nameof(SR.DataGridViewImageColumn_ImageDescr))] 134[SRCategory(nameof(SR.CatAppearance))] 135[SRDescription(nameof(SR.DataGridViewImageColumn_ImageLayoutDescr))] 143throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 191throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired);
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.cs (1)
513? SR.DefaultDataGridViewLinkCellToolTipText
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.DataGridViewLinkCellAccessibleObject.cs (3)
17public override string DefaultAction => SR.DataGridView_AccLinkCellDefaultAction; 23throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 33throw new InvalidOperationException(SR.DataGridView_InvalidOperationOnSharedCell);
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkColumn.cs (21)
24[SRCategory(nameof(SR.CatAppearance))] 25[SRDescription(nameof(SR.DataGridView_LinkColumnActiveLinkColorDescr))] 33throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 85throw new InvalidCastException(string.Format(SR.DataGridViewTypeColumn_WrongCellTemplateType, "System.Windows.Forms.DataGridViewLinkCell")); 93[SRCategory(nameof(SR.CatBehavior))] 94[SRDescription(nameof(SR.DataGridView_LinkColumnLinkBehaviorDescr))] 102throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 135[SRCategory(nameof(SR.CatAppearance))] 136[SRDescription(nameof(SR.DataGridView_LinkColumnLinkColorDescr))] 144throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 188[SRCategory(nameof(SR.CatAppearance))] 189[SRDescription(nameof(SR.DataGridView_LinkColumnTextDescr))] 230[SRCategory(nameof(SR.CatBehavior))] 231[SRDescription(nameof(SR.DataGridView_LinkColumnTrackVisitedStateDescr))] 239throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 273[SRCategory(nameof(SR.CatAppearance))] 274[SRDescription(nameof(SR.DataGridView_LinkColumnUseColumnTextForLinkValueDescr))] 282throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired); 315[SRCategory(nameof(SR.CatAppearance))] 316[SRDescription(nameof(SR.DataGridView_LinkColumnVisitedLinkColorDescr))] 324throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired);
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (40)
56[SRCategory(nameof(SR.CatBehavior))] 57[SRDescription(nameof(SR.DataGridView_RowContextMenuStripDescr))] 88[SRCategory(nameof(SR.CatAppearance))] 89[SRDescription(nameof(SR.DataGridView_RowDefaultCellStyleDescr))] 98throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertySetOnSharedRow, nameof(DefaultCellStyle))); 112throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertyGetOnSharedRow, nameof(Displayed))); 121[SRCategory(nameof(SR.CatAppearance))] 122[SRDescription(nameof(SR.DataGridView_RowDividerHeightDescr))] 130throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertySetOnSharedRow, nameof(DividerHeight))); 139[SRCategory(nameof(SR.CatAppearance))] 140[SRDescription(nameof(SR.DataGridView_RowErrorTextDescr))] 183throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertyGetOnSharedRow, nameof(Frozen))); 192throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertySetOnSharedRow, nameof(Frozen))); 211[SRCategory(nameof(SR.CatAppearance))] 212[SRDescription(nameof(SR.DataGridView_RowHeightDescr))] 220throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertySetOnSharedRow, nameof(Height))); 233throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertyGetOnSharedRow, nameof(InheritedStyle))); 260throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertySetOnSharedRow, nameof(MinimumHeight))); 270[SRCategory(nameof(SR.CatBehavior))] 271[SRDescription(nameof(SR.DataGridView_RowReadOnlyDescr))] 278throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertyGetOnSharedRow, nameof(ReadOnly))); 287[SRCategory(nameof(SR.CatBehavior))] 288[SRDescription(nameof(SR.DataGridView_RowResizableDescr))] 295throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertyGetOnSharedRow, nameof(Resizable))); 309throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertyGetOnSharedRow, nameof(Selected))); 323throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertyGetOnSharedRow, nameof(State))); 337throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertyGetOnSharedRow, nameof(Visible))); 346throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertySetOnSharedRow, nameof(Visible))); 1103throw new InvalidOperationException(SR.DataGridView_RowAlreadyBelongsToDataGridView); 1114throw new InvalidOperationException(SR.DataGridView_AColumnHasNoCellTemplate); 1185throw new InvalidOperationException(SR.DataGridView_RowDoesNotYetBelongToDataGridView); 1211throw new InvalidOperationException(SR.DataGridView_InvalidOperationOnSharedRow); 1238throw new InvalidOperationException(SR.DataGridView_InvalidOperationOnSharedRow); 1379throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(rowIndex), rowIndex), nameof(rowIndex)); 1420throw new InvalidOperationException(SR.DataGridView_RowDoesNotYetBelongToDataGridView); 1496throw new InvalidOperationException(SR.DataGridView_RowDoesNotYetBelongToDataGridView); 1503throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewPaintPartsCombination, "paintParts")); 1689throw new InvalidOperationException(SR.DataGridView_RowDoesNotYetBelongToDataGridView); 1780throw new InvalidOperationException(SR.DataGridView_InvalidOperationInVirtualMode); 1785throw new InvalidOperationException(SR.DataGridView_InvalidOperationOnSharedRow);
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewRowAccessibleObject.cs (15)
45throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerNotSet); 94throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerNotSet); 101return string.Format(SR.DataGridView_AccRowName, index.ToString(CultureInfo.CurrentCulture)); 114throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerAlreadySet); 129throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerNotSet); 153throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerNotSet); 168throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerNotSet); 214throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerNotSet); 219return SR.DataGridView_AccRowCreateNew; 255throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerNotSet); 285throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerNotSet); 309throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerNotSet); 329throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerNotSet); 400throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerNotSet); 454throw new InvalidOperationException(SR.DataGridViewRowAccessibleObject_OwnerNotSet);
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewSelectedRowCellsAccessibleObject.cs (1)
18public override string Name => SR.DataGridView_AccSelectedRowCellsName;
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (80)
179throw new InvalidOperationException(SR.DataGridViewRowCollection_AddUnboundRow); 184throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 196throw new InvalidOperationException(SR.DataGridViewRowCollection_NoColumns); 201throw new InvalidOperationException(SR.DataGridViewRowCollection_RowTemplateTooManyCells); 279throw new InvalidOperationException(SR.DataGridView_InvalidOperationInVirtualMode); 284throw new InvalidOperationException(SR.DataGridViewRowCollection_AddUnboundRow); 289throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 302throw new InvalidOperationException(SR.DataGridViewRowCollection_NoColumns); 307throw new InvalidOperationException(SR.DataGridViewRowCollection_AddUnboundRow); 312throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 325throw new ArgumentOutOfRangeException(nameof(count), SR.DataGridViewRowCollection_CountOutOfRange); 330throw new InvalidOperationException(SR.DataGridViewRowCollection_NoColumns); 335throw new InvalidOperationException(SR.DataGridViewRowCollection_AddUnboundRow); 340throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 345throw new InvalidOperationException(SR.DataGridViewRowCollection_RowTemplateTooManyCells); 388throw new InvalidOperationException(SR.DataGridView_RowAlreadyBelongsToDataGridView); 393throw new InvalidOperationException(SR.DataGridViewRowCollection_NoColumns); 398throw new ArgumentException(SR.DataGridViewRowCollection_TooManyCells, nameof(dataGridViewRow)); 403throw new InvalidOperationException(SR.DataGridViewRowCollection_CannotAddOrInsertSelectedRow); 464throw new InvalidOperationException(SR.DataGridViewRowCollection_AddUnboundRow); 469throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 495throw new ArgumentOutOfRangeException(nameof(indexSource), SR.DataGridViewRowCollection_IndexSourceOutOfRange); 535throw new InvalidOperationException(SR.DataGridViewRowCollection_AddUnboundRow); 540throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 568throw new ArgumentOutOfRangeException(nameof(indexSource), SR.DataGridViewRowCollection_IndexSourceOutOfRange); 573throw new ArgumentOutOfRangeException(nameof(count), SR.DataGridViewRowCollection_CountOutOfRange); 720throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 725throw new InvalidOperationException(SR.DataGridViewRowCollection_AddUnboundRow); 738throw new InvalidOperationException(SR.DataGridViewRowCollection_NoColumns); 789throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 800throw new InvalidOperationException(SR.DataGridViewRowCollection_CantClearRowCollectionWithWrongSource); 883throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 933throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 939throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(excludeFilter))); 983throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 1042throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 1068throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 1074throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(excludeFilter))); 1093throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 1119throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 1125throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(excludeFilter))); 1144throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 1240throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewElementStateCombination, nameof(includeFilter))); 1331throw new ArgumentOutOfRangeException(nameof(rowIndex), SR.DataGridViewRowCollection_RowIndexOutOfRange); 1359throw new InvalidOperationException(SR.DataGridView_InvalidOperationInVirtualMode); 1364throw new InvalidOperationException(SR.DataGridViewRowCollection_AddUnboundRow); 1379throw new InvalidOperationException(SR.DataGridViewRowCollection_AddUnboundRow); 1384throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 1394throw new InvalidOperationException(SR.DataGridViewRowCollection_AddUnboundRow); 1399throw new ArgumentOutOfRangeException(nameof(rowIndex), SR.DataGridViewRowCollection_IndexDestinationOutOfRange); 1404throw new ArgumentOutOfRangeException(nameof(count), SR.DataGridViewRowCollection_CountOutOfRange); 1409throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 1414throw new InvalidOperationException(SR.DataGridViewRowCollection_NoColumns); 1419throw new InvalidOperationException(SR.DataGridViewRowCollection_RowTemplateTooManyCells); 1426throw new InvalidOperationException(SR.DataGridViewRowCollection_NoInsertionAfterNewRow); 1457throw new ArgumentOutOfRangeException(nameof(rowIndex), SR.DataGridViewRowCollection_RowIndexOutOfRange); 1464throw new InvalidOperationException(SR.DataGridView_RowAlreadyBelongsToDataGridView); 1471throw new InvalidOperationException(SR.DataGridViewRowCollection_NoInsertionAfterNewRow); 1476throw new InvalidOperationException(SR.DataGridViewRowCollection_NoColumns); 1481throw new ArgumentException(SR.DataGridViewRowCollection_TooManyCells, nameof(dataGridViewRow)); 1486throw new InvalidOperationException(SR.DataGridViewRowCollection_CannotAddOrInsertSelectedRow); 1508throw new InvalidOperationException(SR.DataGridViewRowCollection_NoColumns); 1513throw new ArgumentException(SR.DataGridViewRowCollection_TooManyCells, nameof(dataGridViewRow)); 1569throw new InvalidOperationException(SR.DataGridViewRowCollection_AddUnboundRow); 1574throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 1586throw new ArgumentOutOfRangeException(nameof(indexSource), SR.DataGridViewRowCollection_IndexSourceOutOfRange); 1591throw new ArgumentOutOfRangeException(nameof(indexDestination), SR.DataGridViewRowCollection_IndexDestinationOutOfRange); 1596throw new ArgumentOutOfRangeException(nameof(count), SR.DataGridViewRowCollection_CountOutOfRange); 1603throw new InvalidOperationException(SR.DataGridViewRowCollection_NoInsertionAfterNewRow); 1761throw new ArgumentOutOfRangeException(nameof(rowIndex), SR.DataGridViewRowCollection_IndexDestinationOutOfRange); 1766throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 1773throw new InvalidOperationException(SR.DataGridViewRowCollection_NoInsertionAfterNewRow); 1778throw new InvalidOperationException(SR.DataGridViewRowCollection_AddUnboundRow); 1783throw new InvalidOperationException(SR.DataGridViewRowCollection_NoColumns); 2148throw new ArgumentException(SR.DataGridView_RowDoesNotBelongToDataGridView, nameof(dataGridViewRow)); 2153throw new ArgumentException(SR.DataGridView_RowMustBeUnshared, nameof(dataGridViewRow)); 2165throw new ArgumentOutOfRangeException(nameof(index), SR.DataGridViewRowCollection_RowIndexOutOfRange); 2171throw new InvalidOperationException(SR.DataGridViewRowCollection_CannotDeleteNewRow); 2176throw new InvalidOperationException(SR.DataGridView_ForbiddenOperationInEventHandler); 2198throw new InvalidOperationException(SR.DataGridViewRowCollection_CantRemoveRowsWithWrongSource);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.UnsharingRowEnumerator.cs (2)
58throw new InvalidOperationException(SR.DataGridViewRowCollection_EnumNotStarted); 63throw new InvalidOperationException(SR.DataGridViewRowCollection_EnumFinished);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject.cs (9)
24throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 51throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 58return SR.DataGridView_RowHeaderCellAccDefaultAction; 75throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 90throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 122throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 138throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 209throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 249throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeightInfoNeededEventArgs.cs (1)
43throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.DataGridViewBand_MinimumHeightSmallerThanOne, DataGridViewBand.MinBandThickness));
System\Windows\Forms\Controls\DataGridView\DataGridViewRowPostPaintEventArgs.cs (5)
66throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_RowIndexOutOfRange); 83throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_RowIndexOutOfRange); 101throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_RowIndexOutOfRange); 125throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_RowIndexOutOfRange); 154throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_RowIndexOutOfRange);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowPrePaintEventArgs.cs (6)
72throw new ArgumentException(string.Format(SR.DataGridView_InvalidDataGridViewPaintPartsCombination, nameof(value)), nameof(value)); 83throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_RowIndexOutOfRange); 100throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_RowIndexOutOfRange); 118throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_RowIndexOutOfRange); 142throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_RowIndexOutOfRange); 171throw new InvalidOperationException(SR.DataGridViewElementPaintingEventArgs_RowIndexOutOfRange);
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedCellCollection.cs (8)
20throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 25throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 34throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 39throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 44throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 54set { throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); } 112throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 125throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection);
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedColumnCollection.cs (8)
16throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 21throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 30throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 35throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 40throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 50set { throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); } 79throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 92throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection);
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedRowCollection.cs (8)
18int IList.Add(object? value) => throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 20void IList.Clear() => throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 26void IList.Insert(int index, object? value) => throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 28void IList.Remove(object? value) => throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 30void IList.RemoveAt(int index) => throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 39set { throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); } 66public void Clear() => throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 76public void Insert(int index, DataGridViewRow dataGridViewRow) => throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection);
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
319? SR.DefaultDataGridViewTextBoxCellToolTipText
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxColumn.cs (4)
28throw new InvalidCastException(string.Format(SR.DataGridViewTypeColumn_WrongCellTemplateType, "System.Windows.Forms.DataGridViewTextBoxCell")); 36[SRCategory(nameof(SR.CatBehavior))] 37[SRDescription(nameof(SR.DataGridView_TextBoxColumnMaxInputLengthDescr))] 45throw new InvalidOperationException(SR.DataGridViewColumn_CellTemplateRequired);
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.DataGridViewTextBoxEditingControlAccessibleObject.cs (1)
33public override string Name => this.GetOwnerAccessibleName(SR.DataGridView_AccEditingControlAccName);
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.DataGridViewTopLeftHeaderCellAccessibleObject.cs (11)
24throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 43throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 48return SR.DataGridView_AccTopLeftColumnHeaderCellDefaultAction; 63throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 82return SR.DataGridView_AccTopLeftColumnHeaderCellName; 86return SR.DataGridView_AccTopLeftColumnHeaderCellNameRTL; 107throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 151throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 195throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 249throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet); 266throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (52)
22[SRDescription(nameof(SR.DescriptionDateTimePicker))] 47private static readonly string s_dateTimePickerLocalizedControlTypeString = SR.DateTimePickerLocalizedControlType; 177[SRCategory(nameof(SR.CatAppearance))] 178[SRDescription(nameof(SR.DateTimePickerCalendarForeColorDescr))] 186throw new ArgumentException(string.Format(SR.InvalidNullArgument, nameof(value))); 200[SRCategory(nameof(SR.CatAppearance))] 204[SRDescription(nameof(SR.DateTimePickerCalendarFontDescr))] 237[SRCategory(nameof(SR.CatAppearance))] 238[SRDescription(nameof(SR.DateTimePickerCalendarTitleBackColorDescr))] 246throw new ArgumentException(string.Format(SR.InvalidNullArgument, nameof(value))); 260[SRCategory(nameof(SR.CatAppearance))] 261[SRDescription(nameof(SR.DateTimePickerCalendarTitleForeColorDescr))] 269throw new ArgumentException(string.Format(SR.InvalidNullArgument, nameof(value))); 283[SRCategory(nameof(SR.CatAppearance))] 284[SRDescription(nameof(SR.DateTimePickerCalendarTrailingForeColorDescr))] 292throw new ArgumentException(string.Format(SR.InvalidNullArgument, nameof(value))); 306[SRCategory(nameof(SR.CatAppearance))] 307[SRDescription(nameof(SR.DateTimePickerCalendarMonthBackgroundDescr))] 315throw new ArgumentException(string.Format(SR.InvalidNullArgument, nameof(value))); 329[SRCategory(nameof(SR.CatBehavior))] 332[SRDescription(nameof(SR.DateTimePickerCheckedDescr))] 429[SRCategory(nameof(SR.CatBehavior))] 430[SRDescription(nameof(SR.DateTimePickerCustomFormatDescr))] 473[SRCategory(nameof(SR.CatAppearance))] 475[SRDescription(nameof(SR.DateTimePickerDropDownAlignDescr))] 511[SRCategory(nameof(SR.CatAppearance))] 513[SRDescription(nameof(SR.DateTimePickerFormatDescr))] 531[SRCategory(nameof(SR.CatPropertyChanged))] 532[SRDescription(nameof(SR.DateTimePickerOnFormatChangedDescr))] 584[SRCategory(nameof(SR.CatBehavior))] 585[SRDescription(nameof(SR.DateTimePickerMaxDateDescr))] 606string.Format(SR.DateTimePickerMaxDate, FormatDateTime(MaxDateTime))); 640[SRCategory(nameof(SR.CatBehavior))] 641[SRDescription(nameof(SR.DateTimePickerMinDateDescr))] 662string.Format(SR.DateTimePickerMinDate, FormatDateTime(MinimumDateTime))); 760[SRCategory(nameof(SR.CatAppearance))] 763[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 784[SRCategory(nameof(SR.CatAppearance))] 785[SRDescription(nameof(SR.DateTimePickerShowNoneDescr))] 796[SRCategory(nameof(SR.CatAppearance))] 797[SRDescription(nameof(SR.DateTimePickerShowUpDownDescr))] 849[SRCategory(nameof(SR.CatBehavior))] 852[SRDescription(nameof(SR.DateTimePickerValueDescr))] 878SR.InvalidBoundArgument, 912[SRCategory(nameof(SR.CatAction))] 913[SRDescription(nameof(SR.DateTimePickerOnCloseUpDescr))] 920[SRCategory(nameof(SR.CatPropertyChanged))] 921[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))] 931[SRCategory(nameof(SR.CatAction))] 932[SRDescription(nameof(SR.valueChangedEventDescr))] 942[SRCategory(nameof(SR.CatAction))] 943[SRDescription(nameof(SR.DateTimePickerOnDropDownDescr))]
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.DateTimePickerAccessibleObject.cs (2)
100ExpandCollapseState.ExpandCollapseState_Collapsed => SR.AccessibleActionExpand, 101ExpandCollapseState.ExpandCollapseState_Expanded => SR.AccessibleActionCollapse,
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (7)
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))] 295[SRCategory(nameof(SR.CatBehavior))] 296[SRDescription(nameof(SR.UseCompatibleTextRenderingDescr))]
System\Windows\Forms\Controls\GroupBox\GroupBox.FlatStyle.Docs.cs (2)
29[SRCategory(nameof(SR.CatAppearance))] 31[SRDescription(nameof(SR.ButtonFlatStyleDescr))]
System\Windows\Forms\Controls\Labels\Label.cs (37)
25[SRDescription(nameof(SR.DescriptionLabel))] 91[SRCategory(nameof(SR.CatLayout))] 95[SRDescription(nameof(SR.LabelAutoSizeDescr))] 112[SRCategory(nameof(SR.CatPropertyChanged))] 113[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 126[SRCategory(nameof(SR.CatBehavior))] 130[SRDescription(nameof(SR.LabelAutoEllipsisDescr))] 163[SRCategory(nameof(SR.CatAppearance))] 167[SRDescription(nameof(SR.LabelBackgroundImageDescr))] 204[SRCategory(nameof(SR.CatAppearance))] 207[SRDescription(nameof(SR.LabelBorderDescr))] 318[SRCategory(nameof(SR.CatAppearance))] 320[SRDescription(nameof(SR.ButtonFlatStyleDescr))] 364[SRDescription(nameof(SR.ButtonImageDescr))] 365[SRCategory(nameof(SR.CatAppearance))] 411[SRDescription(nameof(SR.ButtonImageIndexDescr))] 412[SRCategory(nameof(SR.CatAppearance))] 460[SRDescription(nameof(SR.ButtonImageIndexDescr))] 461[SRCategory(nameof(SR.CatAppearance))] 500[SRDescription(nameof(SR.ButtonImageListDescr))] 502[SRCategory(nameof(SR.CatAppearance))] 546[SRDescription(nameof(SR.ButtonImageAlignDescr))] 547[SRCategory(nameof(SR.CatAppearance))] 568[SRCategory(nameof(SR.CatAccessibility))] 570[SRDescription(nameof(SR.LiveRegionAutomationLiveSettingDescr))] 635[SRCategory(nameof(SR.CatLayout))] 639[SRDescription(nameof(SR.LabelPreferredHeightDescr))] 645[SRCategory(nameof(SR.CatLayout))] 649[SRDescription(nameof(SR.LabelPreferredWidthDescr))] 688[SRDescription(nameof(SR.LabelTextAlignDescr))] 691[SRCategory(nameof(SR.CatAppearance))] 727[SRCategory(nameof(SR.CatPropertyChanged))] 728[SRDescription(nameof(SR.LabelOnTextAlignChangedDescr))] 739[SRCategory(nameof(SR.CatBehavior))] 740[SRDescription(nameof(SR.UseCompatibleTextRenderingDescr))] 768[SRDescription(nameof(SR.LabelUseMnemonicDescr))] 770[SRCategory(nameof(SR.CatAppearance))]
System\Windows\Forms\Controls\Labels\LinkArea.LinkAreaConverter.cs (3)
68SR.TextParseFailedFormat, 131throw new ArgumentException(SR.PropertyValueInvalidEntry, nameof(propertyValues), invalidCast); 135throw new ArgumentException(SR.PropertyValueInvalidEntry, nameof(propertyValues), nullRef);
System\Windows\Forms\Controls\Labels\LinkConverter.cs (1)
64SR.TextParseFailedFormat,
System\Windows\Forms\Controls\Labels\LinkLabel.cs (22)
19[SRDescription(nameof(SR.DescriptionLinkLabel))] 68[SRCategory(nameof(SR.CatAppearance))] 69[SRDescription(nameof(SR.LinkLabelActiveLinkColorDescr))] 90[SRCategory(nameof(SR.CatAppearance))] 91[SRDescription(nameof(SR.LinkLabelDisabledLinkColorDescr))] 165[SRCategory(nameof(SR.CatBehavior))] 166[SRDescription(nameof(SR.LinkLabelLinkAreaDescr))] 182throw new ArgumentOutOfRangeException(nameof(LinkArea), value, SR.LinkLabelAreaStart); 187throw new ArgumentOutOfRangeException(nameof(LinkArea), value, SR.LinkLabelAreaLength); 216[SRCategory(nameof(SR.CatBehavior))] 217[SRDescription(nameof(SR.LinkLabelLinkBehaviorDescr))] 237[SRCategory(nameof(SR.CatAppearance))] 238[SRDescription(nameof(SR.LinkLabelLinkColorDescr))] 269[SRCategory(nameof(SR.CatAppearance))] 270[SRDescription(nameof(SR.LinkLabelLinkVisitedDescr))] 352[SRCategory(nameof(SR.CatAppearance))] 353[SRDescription(nameof(SR.LinkLabelVisitedLinkColorDescr))] 377[SRDescription(nameof(SR.LinkLabelLinkClickedDescr))] 1682throw new InvalidOperationException(SR.LinkLabelOverlap); 1694throw new InvalidOperationException(SR.LinkLabelOverlap); 1732[SRCategory(nameof(SR.CatBehavior))] 1733[SRDescription(nameof(SR.UseCompatibleTextRenderingDescr))]
System\Windows\Forms\Controls\Labels\LinkLabel.Link.cs (4)
121[SRCategory(nameof(SR.CatAppearance))] 122[SRDescription(nameof(SR.TreeNodeNodeNameDescr))] 149[SRCategory(nameof(SR.CatData))] 152[SRDescription(nameof(SR.ControlTagDescr))]
System\Windows\Forms\Controls\Labels\LinkLabel.Link.LinkAccessibleObject.cs (1)
60public override string DefaultAction => SR.AccessibleActionClick;
System\Windows\Forms\Controls\Labels\LinkLabel.LinkCollection.cs (3)
52throw new ArgumentException(SR.LinkLabelBadLink, nameof(value)); 196throw new ArgumentException(SR.LinkLabelBadLink, nameof(value)); 208throw new ArgumentException(SR.LinkLabelBadLink, nameof(value));
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedIndexCollection.cs (6)
85throw new NotSupportedException(SR.CheckedListBoxCheckedIndexCollectionIsReadOnly); 91throw new NotSupportedException(SR.CheckedListBoxCheckedIndexCollectionIsReadOnly); 96throw new NotSupportedException(SR.CheckedListBoxCheckedIndexCollectionIsReadOnly); 101throw new NotSupportedException(SR.CheckedListBoxCheckedIndexCollectionIsReadOnly); 106throw new NotSupportedException(SR.CheckedListBoxCheckedIndexCollectionIsReadOnly); 111throw new NotSupportedException(SR.CheckedListBoxCheckedIndexCollectionIsReadOnly);
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedItemCollection.cs (6)
60throw new NotSupportedException(SR.CheckedListBoxCheckedItemCollectionIsReadOnly); 113throw new NotSupportedException(SR.CheckedListBoxCheckedItemCollectionIsReadOnly); 118throw new NotSupportedException(SR.CheckedListBoxCheckedItemCollectionIsReadOnly); 123throw new NotSupportedException(SR.CheckedListBoxCheckedItemCollectionIsReadOnly); 128throw new NotSupportedException(SR.CheckedListBoxCheckedItemCollectionIsReadOnly); 133throw new NotSupportedException(SR.CheckedListBoxCheckedItemCollectionIsReadOnly);
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedListBoxItemAccessibleObject.cs (2)
29return IsItemChecked ? SR.AccessibleActionUncheck : SR.AccessibleActionCheck;
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (12)
16[SRDescription(nameof(SR.DescriptionCheckedListBox))] 76[SRCategory(nameof(SR.CatBehavior))] 78[SRDescription(nameof(SR.CheckedListBoxCheckOnClickDescr))] 161[SRCategory(nameof(SR.CatData))] 164[SRDescription(nameof(SR.ListBoxItemsDescr))] 197throw new ArgumentException(SR.CheckedListBoxInvalidSelectionMode); 211[SRCategory(nameof(SR.CatAppearance))] 213[SRDescription(nameof(SR.CheckedListBoxThreeDCheckBoxesDescr))] 242[SRCategory(nameof(SR.CatBehavior))] 243[SRDescription(nameof(SR.UseCompatibleTextRenderingDescr))] 291[SRCategory(nameof(SR.CatBehavior))] 292[SRDescription(nameof(SR.CheckedListBoxItemCheckDescr))]
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (49)
24[SRDescription(nameof(SR.DescriptionListBox))] 201[SRCategory(nameof(SR.CatAppearance))] 204[SRDescription(nameof(SR.ListBoxBorderDescr))] 231[SRCategory(nameof(SR.CatBehavior))] 234[SRDescription(nameof(SR.ListBoxColumnWidthDescr))] 342[SRCategory(nameof(SR.CatBehavior))] 387[SRCategory(nameof(SR.CatBehavior))] 389[SRDescription(nameof(SR.ListBoxDrawModeDescr))] 406throw new ArgumentException(SR.ListBoxVarHeightMultiCol, nameof(value)); 464[SRCategory(nameof(SR.CatBehavior))] 467[SRDescription(nameof(SR.ListBoxHorizontalExtentDescr))] 492[SRCategory(nameof(SR.CatBehavior))] 495[SRDescription(nameof(SR.ListBoxHorizontalScrollbarDescr))] 532[SRCategory(nameof(SR.CatBehavior))] 535[SRDescription(nameof(SR.ListBoxIntegralHeightDescr))] 569[SRCategory(nameof(SR.CatBehavior))] 571[SRDescription(nameof(SR.ListBoxItemHeightDescr))] 615[SRCategory(nameof(SR.CatData))] 618[SRDescription(nameof(SR.ListBoxItemsDescr))] 675[SRCategory(nameof(SR.CatBehavior))] 677[SRDescription(nameof(SR.ListBoxMultiColumnDescr))] 690throw new ArgumentException(SR.ListBoxVarHeightMultiCol, nameof(value)); 705[SRDescription(nameof(SR.ListBoxPreferredHeightDescr))] 780[SRCategory(nameof(SR.CatBehavior))] 783[SRDescription(nameof(SR.ListBoxScrollIsVisibleDescr))] 823[SRDescription(nameof(SR.ListBoxSelectedIndexDescr))] 854throw new ArgumentException(SR.ListBoxInvalidSelectionMode, nameof(value)); 912[SRDescription(nameof(SR.ListBoxSelectedIndicesDescr))] 934[SRDescription(nameof(SR.ListBoxSelectedItemDescr))] 971[SRDescription(nameof(SR.ListBoxSelectedItemsDescr))] 986[SRCategory(nameof(SR.CatBehavior))] 988[SRDescription(nameof(SR.ListBoxSelectionModeDescr))] 1026[SRCategory(nameof(SR.CatBehavior))] 1028[SRDescription(nameof(SR.ListBoxSortedDescr))] 1112[SRDescription(nameof(SR.ListBoxTopIndexDescr))] 1133[SRCategory(nameof(SR.CatBehavior))] 1135[SRDescription(nameof(SR.ListBoxUseTabStopsDescr))] 1156[SRCategory(nameof(SR.CatBehavior))] 1157[SRDescription(nameof(SR.ListBoxCustomTabOffsetsDescr))] 1228[SRCategory(nameof(SR.CatBehavior))] 1229[SRDescription(nameof(SR.drawItemEventDescr))] 1236[SRCategory(nameof(SR.CatBehavior))] 1237[SRDescription(nameof(SR.measureItemEventDescr))] 1244[SRCategory(nameof(SR.CatBehavior))] 1245[SRDescription(nameof(SR.selectedIndexChangedEventDescr))] 1277throw new ArgumentException(SR.DataSourceLocksItems); 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))] 55throw new ArgumentException(SR.BadDataSourceForComplexBinding, nameof(value)); 90[SRCategory(nameof(SR.CatPropertyChanged))] 91[SRDescription(nameof(SR.ListControlOnDataSourceChangedDescr))] 104[SRCategory(nameof(SR.CatData))] 108[SRDescription(nameof(SR.ListControlDisplayMemberDescr))] 127[SRCategory(nameof(SR.CatPropertyChanged))] 128[SRDescription(nameof(SR.ListControlOnDisplayMemberChangedDescr))] 144throw new NotSupportedException(SR.BindingNotSupported); 164[SRCategory(nameof(SR.CatPropertyChanged))] 165[SRDescription(nameof(SR.ListControlFormatDescr))] 199[SRCategory(nameof(SR.CatPropertyChanged))] 200[SRDescription(nameof(SR.ListControlFormatInfoChangedDescr))] 208[SRDescription(nameof(SR.ListControlFormatStringDescr))] 227[SRCategory(nameof(SR.CatPropertyChanged))] 228[SRDescription(nameof(SR.ListControlFormatStringChangedDescr))] 236[SRDescription(nameof(SR.ListControlFormattingEnabledDescr))] 251[SRCategory(nameof(SR.CatPropertyChanged))] 252[SRDescription(nameof(SR.ListControlFormattingEnabledChangedDescr))] 294[SRCategory(nameof(SR.CatData))] 297[SRDescription(nameof(SR.ListControlValueMemberDescr))] 321throw new ArgumentException(SR.ListControlWrongValueMember, nameof(value)); 332[SRCategory(nameof(SR.CatPropertyChanged))] 333[SRDescription(nameof(SR.ListControlOnValueMemberChangedDescr))] 347[SRCategory(nameof(SR.CatData))] 351[SRDescription(nameof(SR.ListControlSelectedValueDescr))] 375throw new InvalidOperationException(SR.ListControlEmptyValueMemberInSettingSelectedValue); 386[SRCategory(nameof(SR.CatPropertyChanged))] 387[SRDescription(nameof(SR.ListControlOnSelectedValueChangedDescr))] 436throw new NotSupportedException(SR.BindingNotSupported); 707throw new NotSupportedException(SR.BindingNotSupported); 737throw new ArgumentException(SR.ListControlWrongDisplayMember, nameof(newDisplayMember));
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (9)
106[SRCategory(nameof(SR.CatBehavior))] 107[SRDescription(nameof(SR.ColumnHeaderDisplayIndexDescr))] 128throw new ArgumentOutOfRangeException(nameof(DisplayIndex), SR.ColumnHeaderBadDisplayIndex); 269[SRDescription(nameof(SR.ColumnHeaderNameDescr))] 295[SRDescription(nameof(SR.ColumnCaption))] 321[SRDescription(nameof(SR.ColumnAlignment))] 362[SRCategory(nameof(SR.CatData))] 365[SRDescription(nameof(SR.ControlTagDescr))] 381[SRDescription(nameof(SR.ColumnWidth))]
System\Windows\Forms\Controls\ListView\ColumnHeaderConverter.cs (1)
72throw new ArgumentException(string.Format(SR.NoDefaultConstructor, t.FullName));
System\Windows\Forms\Controls\ListView\ListView.CheckedIndexCollection.cs (1)
95throw new ArgumentOutOfRangeException(nameof(index), index, string.Format(SR.InvalidArgument, nameof(index), index));
System\Windows\Forms\Controls\ListView\ListView.CheckedListViewItemCollection.cs (12)
37throw new InvalidOperationException(SR.ListViewCantAccessCheckedItemsCollectionWhenInVirtualMode); 71throw new InvalidOperationException(SR.ListViewCantAccessCheckedItemsCollectionWhenInVirtualMode); 85throw new InvalidOperationException(SR.ListViewCantAccessCheckedItemsCollectionWhenInVirtualMode); 105throw new InvalidOperationException(SR.ListViewCantAccessCheckedItemsCollectionWhenInVirtualMode); 163throw new InvalidOperationException(SR.ListViewCantAccessCheckedItemsCollectionWhenInVirtualMode); 180throw new InvalidOperationException(SR.ListViewCantAccessCheckedItemsCollectionWhenInVirtualMode); 200throw new InvalidOperationException(SR.ListViewCantAccessCheckedItemsCollectionWhenInVirtualMode); 210throw new InvalidOperationException(SR.ListViewCantAccessCheckedItemsCollectionWhenInVirtualMode); 232throw new InvalidOperationException(SR.ListViewCantAccessCheckedItemsCollectionWhenInVirtualMode); 277throw new InvalidOperationException(SR.ListViewCantAccessCheckedItemsCollectionWhenInVirtualMode); 319throw new InvalidOperationException(SR.ListViewCantAccessCheckedItemsCollectionWhenInVirtualMode); 332throw new InvalidOperationException(SR.ListViewCantAccessCheckedItemsCollectionWhenInVirtualMode);
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (2)
299throw new ArgumentException(SR.ColumnHeaderCollectionInvalidArgument, nameof(value)); 510throw new ArgumentOutOfRangeException(nameof(index), index, string.Format(SR.InvalidArgument, nameof(index), index));
System\Windows\Forms\Controls\ListView\ListView.cs (154)
30[SRDescription(nameof(SR.DescriptionListView))] 241[SRCategory(nameof(SR.CatBehavior))] 243[SRDescription(nameof(SR.ListViewActivationDescr))] 258throw new ArgumentException(SR.ListViewActivationMustBeOnWhenHotTrackingIsOn, nameof(value)); 273[SRCategory(nameof(SR.CatBehavior))] 276[SRDescription(nameof(SR.ListViewAlignmentDescr))] 301[SRCategory(nameof(SR.CatBehavior))] 303[SRDescription(nameof(SR.ListViewAllowColumnReorderDescr))] 326[SRCategory(nameof(SR.CatBehavior))] 328[SRDescription(nameof(SR.ListViewAutoArrangeDescr))] 375[SRCategory(nameof(SR.CatAppearance))] 377[SRDescription(nameof(SR.ListViewBackgroundImageTiledDescr))] 414[SRCategory(nameof(SR.CatAppearance))] 417[SRDescription(nameof(SR.borderStyleDescr))] 437[SRCategory(nameof(SR.CatAppearance))] 439[SRDescription(nameof(SR.ListViewCheckBoxesDescr))] 455throw new NotSupportedException(SR.ListViewCheckBoxesNotSupportedInTileView); 500throw new NotSupportedException(SR.ListViewCheckBoxesNotSupportedInTileView); 609[SRCategory(nameof(SR.CatBehavior))] 612[SRDescription(nameof(SR.ListViewColumnsDescr))] 739_defaultGroup ??= new ListViewGroup(string.Format(SR.ListViewGroupDefaultGroup, "1")) 800[SRCategory(nameof(SR.CatAppearance))] 803[SRDescription(nameof(SR.ListViewFocusedItemDescr))] 871[SRCategory(nameof(SR.CatAppearance))] 873[SRDescription(nameof(SR.ListViewFullRowSelectDescr))] 894[SRCategory(nameof(SR.CatAppearance))] 896[SRDescription(nameof(SR.ListViewGridLinesDescr))] 932[SRCategory(nameof(SR.CatBehavior))] 934[SRDescription(nameof(SR.ListViewGroupImageListDescr))] 965[SRCategory(nameof(SR.CatBehavior))] 969[SRDescription(nameof(SR.ListViewGroupsDescr))] 993[SRCategory(nameof(SR.CatBehavior))] 995[SRDescription(nameof(SR.ListViewHeaderStyleDescr))] 1028[SRCategory(nameof(SR.CatBehavior))] 1030[SRDescription(nameof(SR.ListViewHideSelectionDescr))] 1048[SRCategory(nameof(SR.CatBehavior))] 1050[SRDescription(nameof(SR.ListViewHotTrackingDescr))] 1076[SRCategory(nameof(SR.CatBehavior))] 1078[SRDescription(nameof(SR.ListViewHoverSelectDescr))] 1092throw new ArgumentException(SR.ListViewHoverMustBeOnWhenHotTrackingIsOn, nameof(value)); 1111[SRDescription(nameof(SR.ListViewInsertionMarkDescr))] 1134[SRCategory(nameof(SR.CatBehavior))] 1138[SRDescription(nameof(SR.ListViewItemsDescr))] 1151[SRCategory(nameof(SR.CatBehavior))] 1153[SRDescription(nameof(SR.ListViewLabelEditDescr))] 1173[SRCategory(nameof(SR.CatBehavior))] 1176[SRDescription(nameof(SR.ListViewLabelWrapDescr))] 1196[SRCategory(nameof(SR.CatBehavior))] 1198[SRDescription(nameof(SR.ListViewLargeImageListDescr))] 1249[SRCategory(nameof(SR.CatBehavior))] 1252[SRDescription(nameof(SR.ListViewItemSorterDescr))] 1276[SRCategory(nameof(SR.CatBehavior))] 1278[SRDescription(nameof(SR.ListViewMultiSelectDescr))] 1299[SRCategory(nameof(SR.CatBehavior))] 1301[SRDescription(nameof(SR.ListViewOwnerDrawDescr))] 1324[SRCategory(nameof(SR.CatAppearance))] 1327[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 1348[SRCategory(nameof(SR.CatPropertyChanged))] 1349[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))] 1359[SRCategory(nameof(SR.CatBehavior))] 1361[SRDescription(nameof(SR.ListViewScrollableDescr))] 1396[SRCategory(nameof(SR.CatAppearance))] 1399[SRDescription(nameof(SR.ListViewSelectedItemsDescr))] 1410[SRCategory(nameof(SR.CatBehavior))] 1412[SRDescription(nameof(SR.ListViewShowGroupsDescr))] 1435[SRCategory(nameof(SR.CatBehavior))] 1437[SRDescription(nameof(SR.ListViewSmallImageListDescr))] 1476[SRCategory(nameof(SR.CatBehavior))] 1478[SRDescription(nameof(SR.ListViewShowItemToolTipsDescr))] 1495[SRCategory(nameof(SR.CatBehavior))] 1497[SRDescription(nameof(SR.ListViewSortingDescr))] 1541[SRCategory(nameof(SR.CatBehavior))] 1543[SRDescription(nameof(SR.ListViewStateImageListDescr))] 1638[SRCategory(nameof(SR.CatAppearance))] 1640[SRDescription(nameof(SR.ListViewTileSizeDescr))] 1674throw new ArgumentOutOfRangeException(nameof(TileSize), SR.ListViewTileSizeMustBePositive); 1706[SRCategory(nameof(SR.CatAppearance))] 1709[SRDescription(nameof(SR.ListViewTopItemDescr))] 1716throw new InvalidOperationException(SR.ListViewGetTopItem); 1731throw new InvalidOperationException(SR.ListViewSetTopItem); 1800[SRCategory(nameof(SR.CatAppearance))] 1802[SRDescription(nameof(SR.ListViewViewDescr))] 1813throw new NotSupportedException(SR.ListViewTileViewDoesNotSupportCheckBoxes); 1823throw new NotSupportedException(SR.ListViewCantSetViewToTileViewInVirtualMode); 1858[SRCategory(nameof(SR.CatBehavior))] 1861[SRDescription(nameof(SR.ListViewVirtualListSizeDescr))] 1872throw new ArgumentException(string.Format(SR.ListViewVirtualListSizeInvalidArgument, "value", value)); 1908[SRCategory(nameof(SR.CatBehavior))] 1911[SRDescription(nameof(SR.ListViewVirtualModeDescr))] 1927throw new InvalidOperationException(SR.ListViewVirtualListViewRequiresNoItems); 1932throw new InvalidOperationException(SR.ListViewVirtualListViewRequiresNoCheckedItems); 1937throw new InvalidOperationException(SR.ListViewVirtualListViewRequiresNoSelectedItems); 1943throw new NotSupportedException(SR.ListViewCantSetVirtualModeWhenInTileView); 1952[SRCategory(nameof(SR.CatBehavior))] 1953[SRDescription(nameof(SR.ListViewAfterLabelEditDescr))] 1960[SRCategory(nameof(SR.CatBehavior))] 1961[SRDescription(nameof(SR.ListViewBeforeLabelEditDescr))] 1968[SRCategory(nameof(SR.CatAction))] 1969[SRDescription(nameof(SR.ListViewCacheVirtualItemsEventDescr))] 1976[SRCategory(nameof(SR.CatAction))] 1977[SRDescription(nameof(SR.ListViewColumnClickDescr))] 1987[SRCategory(nameof(SR.CatAction))] 1988[SRDescription(nameof(SR.ListViewGroupTaskLinkClickDescr))] 1998[SRCategory(nameof(SR.CatPropertyChanged))] 1999[SRDescription(nameof(SR.ListViewColumnReorderedDscr))] 2009[SRCategory(nameof(SR.CatPropertyChanged))] 2010[SRDescription(nameof(SR.ListViewColumnWidthChangedDscr))] 2020[SRCategory(nameof(SR.CatPropertyChanged))] 2021[SRDescription(nameof(SR.ListViewColumnWidthChangingDscr))] 2031[SRCategory(nameof(SR.CatBehavior))] 2032[SRDescription(nameof(SR.ListViewDrawColumnHeaderEventDescr))] 2042[SRCategory(nameof(SR.CatBehavior))] 2043[SRDescription(nameof(SR.ListViewDrawItemEventDescr))] 2053[SRCategory(nameof(SR.CatBehavior))] 2054[SRDescription(nameof(SR.ListViewDrawSubItemEventDescr))] 2061[SRCategory(nameof(SR.CatAction))] 2062[SRDescription(nameof(SR.ListViewItemClickDescr))] 2069[SRCategory(nameof(SR.CatBehavior))] 2070[SRDescription(nameof(SR.CheckedListBoxItemCheckDescr))] 2077[SRCategory(nameof(SR.CatBehavior))] 2078[SRDescription(nameof(SR.ListViewItemCheckedDescr))] 2085[SRCategory(nameof(SR.CatAction))] 2086[SRDescription(nameof(SR.ListViewItemDragDescr))] 2093[SRCategory(nameof(SR.CatAction))] 2094[SRDescription(nameof(SR.ListViewItemMouseHoverDescr))] 2101[SRCategory(nameof(SR.CatBehavior))] 2102[SRDescription(nameof(SR.ListViewItemSelectionChangedDescr))] 2112[SRCategory(nameof(SR.CatBehavior))] 2113[SRDescription(nameof(SR.ListViewGroupCollapsedStateChangedDescr))] 2148[SRCategory(nameof(SR.CatAction))] 2149[SRDescription(nameof(SR.ListViewRetrieveVirtualItemEventDescr))] 2156[SRCategory(nameof(SR.CatAction))] 2157[SRDescription(nameof(SR.ListViewSearchForVirtualItemDescr))] 2164[SRCategory(nameof(SR.CatBehavior))] 2165[SRDescription(nameof(SR.ListViewSelectedIndexChangedDescr))] 2172[SRCategory(nameof(SR.CatBehavior))] 2173[SRDescription(nameof(SR.ListViewVirtualItemsSelectionRangeChangedDescr))] 2266throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(value), value), nameof(value)); 3226throw new InvalidOperationException(SR.ListViewFindNearestItemWorksOnlyInIconView); 3231throw new ArgumentOutOfRangeException(nameof(searchDirection), searchDirection, string.Format(SR.InvalidArgument, nameof(searchDirection), searchDirection)); 3603string.Format(SR.InvalidArgument, nameof(index), index)) 3680string.Format(SR.InvalidArgument, nameof(itemIndex), itemIndex)) 3826throw new ArgumentException(string.Format(SR.OnlyOneControl, ch.Text), nameof(ch)); 3837throw new InvalidOperationException(SR.ListViewAddColumnFailed); 4022throw new ArgumentException(string.Format(SR.OnlyOneControl, items[i].Text), nameof(items)); 4049throw new ArgumentException(string.Format(SR.OnlyOneControl, item.Text), nameof(items)); 4215throw new InvalidOperationException(SR.ListViewAddItemFailed); 4432? string.Format(SR.ListViewGroupCollapsedStateName, listViewGroup.Header) 4433: string.Format(SR.ListViewGroupExpandedStateName, listViewGroup.Header)); 5051throw new ArgumentException(SR.ListViewStartIndexCannotBeLargerThanEndIndex); 5297throw new InvalidOperationException(SR.ListViewColumnInfoSet); 5592throw new InvalidOperationException(SR.ListViewSortNotAllowedInVirtualListView); 6830ListViewItem lvItem = rVI.Item ?? throw new InvalidOperationException(SR.ListViewVirtualItemRequired); 6844throw new InvalidOperationException(SR.ListViewVirtualModeCantAccessSubItem);
System\Windows\Forms\Controls\ListView\ListView.ListViewAccessibleObject.cs (3)
160SortOrder.Ascending => SR.SortedAscendingAccessibleStatus, 161SortOrder.Descending => SR.SortedDescendingAccessibleStatus, 162_ => SR.NotSortedAccessibleStatus
System\Windows\Forms\Controls\ListView\ListView.ListViewItemCollection.cs (2)
267key.ThrowIfNullOrEmptyWithMessage(SR.FindKeyMayNotBeEmptyOrNull); 310throw new InvalidOperationException(SR.ListViewCantGetEnumeratorInVirtualMode);
System\Windows\Forms\Controls\ListView\ListView.ListViewNativeItemCollection.cs (8)
43throw new InvalidOperationException(SR.ListViewCantModifyTheItemCollInAVirtualListView); 73return !throwInVirtualMode ? null : throw new InvalidOperationException(SR.ListViewVirtualItemRequired); 101throw new InvalidOperationException(SR.ListViewCantAddItemsToAVirtualListView); 134throw new InvalidOperationException(SR.ListViewCantAddItemsToAVirtualListView); 339throw new InvalidOperationException(SR.ListViewCantAddItemsToAVirtualListView); 386throw new InvalidOperationException(SR.ListViewCantRemoveItemsFromAVirtualListView); 399throw new InvalidOperationException(SR.ListViewCantRemoveItemsFromAVirtualListView); 423throw new ArgumentOutOfRangeException(nameof(index), index, string.Format(SR.InvalidArgument, nameof(index), index));
System\Windows\Forms\Controls\ListView\ListView.SelectedIndexCollection.cs (3)
70throw new InvalidOperationException(SR.SelectedNotEqualActual); 224throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(value), value), nameof(value)); 246throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(value), value), nameof(value));
System\Windows\Forms\Controls\ListView\ListView.SelectedListViewItemCollection.cs (14)
53throw new InvalidOperationException(SR.SelectedNotEqualActual); 89throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode); 117throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode); 157throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode); 185throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode); 268throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode); 285throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode); 295throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode); 305throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode); 322throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode); 335throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode); 353throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode); 372throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode); 392throw new InvalidOperationException(SR.ListViewCantAccessSelectedItemsCollectionWhenInVirtualMode);
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (14)
39public ListViewGroup() : this(string.Format(SR.ListViewGroupDefaultHeader, s_nextHeader++)) 103[SRCategory(nameof(SR.CatAppearance))] 123[SRCategory(nameof(SR.CatAppearance))] 146[SRCategory(nameof(SR.CatAppearance))] 173[SRCategory(nameof(SR.CatAppearance))] 204[SRCategory(nameof(SR.CatAppearance))] 227[SRCategory(nameof(SR.CatAppearance))] 248[SRCategory(nameof(SR.CatAppearance))] 279[SRCategory(nameof(SR.CatBehavior))] 316[SRCategory(nameof(SR.CatBehavior))] 347[SRCategory(nameof(SR.CatBehavior))] 348[SRDescription(nameof(SR.ListViewGroupNameDescr))] 353[SRCategory(nameof(SR.CatData))] 356[SRDescription(nameof(SR.ControlTagDescr))]
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (1)
83public override string DefaultAction => SR.AccessibleActionDoubleClick;
System\Windows\Forms\Controls\ListView\ListViewGroupCollection.cs (3)
145throw new ArgumentException(SR.ListViewGroupCollectionBadListViewGroup, nameof(value)); 180throw new ArgumentException(string.Format(SR.OnlyOneControl, item.Text)); 308throw new InvalidOperationException(SR.ListViewCannotAddGroupsToVirtualListView);
System\Windows\Forms\Controls\ListView\ListViewGroupConverter.cs (2)
73if (value is null || value.Equals(SR.toStringNone)) 102return SR.toStringNone;
System\Windows\Forms\Controls\ListView\ListViewGroupItemCollection.cs (1)
68throw new ArgumentException(string.Format(SR.OnlyOneControl, item.Text), nameof(item));
System\Windows\Forms\Controls\ListView\ListViewItem.cs (23)
252?? throw new InvalidOperationException(SR.ListViewItemAccessibilityObjectRequiresListView); 279[SRCategory(nameof(SR.CatAppearance))] 323[SRCategory(nameof(SR.CatAppearance))] 386[SRCategory(nameof(SR.CatAppearance))] 410[SRCategory(nameof(SR.CatAppearance))] 437[SRCategory(nameof(SR.CatBehavior))] 470[SRCategory(nameof(SR.CatBehavior))] 471[SRDescription(nameof(SR.ListViewItemImageIndexDescr))] 504[SRCategory(nameof(SR.CatBehavior))] 544[SRDescription(nameof(SR.ListViewItemIndentCountDescr))] 545[SRCategory(nameof(SR.CatDisplay))] 553throw new ArgumentOutOfRangeException(nameof(IndentCount), SR.ListViewIndentCountCantBeNegative); 623[SRCategory(nameof(SR.CatDisplay))] 716[SRDescription(nameof(SR.ListViewItemStateImageIndexDescr))] 717[SRCategory(nameof(SR.CatBehavior))] 769[SRCategory(nameof(SR.CatData))] 771[SRDescription(nameof(SR.ListViewItemSubItemsDescr))] 787[SRCategory(nameof(SR.CatData))] 790[SRDescription(nameof(SR.ControlTagDescr))] 804[SRCategory(nameof(SR.CatAppearance))] 825[SRCategory(nameof(SR.CatAppearance))] 855[SRCategory(nameof(SR.CatAppearance))] 872throw new InvalidOperationException(SR.ListViewBeginEditFailed);
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemBaseAccessibleObject.cs (5)
106? SR.AccessibleActionUncheck 107: SR.AccessibleActionCheck; 110return SR.AccessibleActionDoubleClick; 153throw new InvalidOperationException(string.Format(SR.ListViewItemAccessibilityObjectInvalidViewException, View.ToString())); 165throw new InvalidOperationException(string.Format(SR.ListViewItemAccessibilityObjectInvalidViewException, View.ToString()));
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemDetailsAccessibleObject.cs (2)
48throw new InvalidOperationException(string.Format(SR.ListViewItemAccessibilityObjectInvalidViewException, nameof(View.Details))); 75throw new InvalidOperationException(string.Format(SR.ListViewItemAccessibilityObjectInvalidViewException, nameof(View.Details)));
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemTileAccessibleObject.cs (2)
42throw new InvalidOperationException(string.Format(SR.ListViewItemAccessibilityObjectInvalidViewException, nameof(View.Tile))); 68throw new InvalidOperationException(string.Format(SR.ListViewItemAccessibilityObjectInvalidViewException, nameof(View.Tile)));
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemWithImageAccessibleObject.cs (2)
50throw new InvalidOperationException(string.Format(SR.ListViewItemAccessibilityObjectInvalidViewException, View.ToString())); 70throw new InvalidOperationException(string.Format(SR.ListViewItemAccessibilityObjectInvalidViewException, View.ToString()));
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItem.cs (2)
189[SRCategory(nameof(SR.CatData))] 192[SRDescription(nameof(SR.ControlTagDescr))]
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItemCollection.cs (4)
76throw new ArgumentException(SR.ListViewBadListViewSubItem, nameof(value)); 188throw new ArgumentException(SR.ListViewSubItemCollectionInvalidArgument, nameof(item)); 236throw new InvalidOperationException(SR.ErrorCollectionFull); 321throw new ArgumentException(SR.ListViewBadListViewSubItem, nameof(item));
System\Windows\Forms\Controls\ListView\ListViewVirtualItemsSelectionRangeChangedEventArgs.cs (1)
18throw new ArgumentException(SR.ListViewStartIndexCannotBeLargerThanEndIndex);
System\Windows\Forms\Controls\Menus\MenuStrip.cs (13)
10[SRDescription(nameof(SR.DescriptionMenuStrip))] 47[SRDescription(nameof(SR.ToolStripCanOverflowDescr))] 48[SRCategory(nameof(SR.CatLayout))] 94[SRCategory(nameof(SR.CatBehavior))] 95[SRDescription(nameof(SR.MenuStripMenuActivateDescr))] 102[SRCategory(nameof(SR.CatBehavior))] 103[SRDescription(nameof(SR.MenuStripMenuDeactivateDescr))] 111[SRDescription(nameof(SR.ToolStripShowItemToolTipsDescr))] 112[SRCategory(nameof(SR.CatBehavior))] 120[SRCategory(nameof(SR.CatLayout))] 121[SRDescription(nameof(SR.ToolStripStretchDescr))] 130[SRDescription(nameof(SR.MenuStripMdiWindowListItem))] 131[SRCategory(nameof(SR.CatBehavior))]
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarButtonAccessibleObject.cs (1)
26public override string DefaultAction => SR.AccessibleActionClick;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarCellAccessibleObject.cs (1)
85return string.Format(SR.MonthCalendarWeekNumberDescription, weekNumber)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarNextButtonAccessibleObject.cs (2)
31public override string Description => SR.CalendarNextButtonAccessibleObjectDescription; 77public override string Name => SR.MonthCalendarNextButtonAccessibleName;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarPreviousButtonAccessibleObject.cs (2)
31public override string Description => SR.CalendarPreviousButtonAccessibleObjectDescription; 76public override string Name => SR.MonthCalendarPreviousButtonAccessibleName;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarRowAccessibleObject.cs (1)
136return string.Format(SR.MonthCalendarWeekNumberDescription, weekNumber);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarTodayLinkAccessibleObject.cs (2)
32public override string Description => SR.CalendarTodayLinkAccessibleObjectDescription; 48=> string.Format(SR.MonthCalendarTodayButtonAccessibleName,
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarWeekNumberCellAccessibleObject.cs (1)
78public override string Name => string.Format(SR.MonthCalendarWeekNumberDescription, _weekNumber);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (57)
59[SRDescription(nameof(SR.DescriptionMonthCalendar))] 165[SRDescription(nameof(SR.MonthCalendarAnnuallyBoldedDatesDescr))] 191[SRDescription(nameof(SR.MonthCalendarMonthBackColorDescr))] 264[SRCategory(nameof(SR.CatAppearance))] 266[SRDescription(nameof(SR.MonthCalendarDimensionsDescr))] 367[SRCategory(nameof(SR.CatBehavior))] 370[SRDescription(nameof(SR.MonthCalendarFirstDayOfWeekDescr))] 407[SRDescription(nameof(SR.MonthCalendarForeColorDescr))] 443[SRCategory(nameof(SR.CatBehavior))] 444[SRDescription(nameof(SR.MonthCalendarMaxDateDescr))] 467[SRCategory(nameof(SR.CatBehavior))] 469[SRDescription(nameof(SR.MonthCalendarMaxSelectionCountDescr))] 486throw new ArgumentException(string.Format(SR.MonthCalendarMaxSelCount, value.ToString("D")), nameof(value)); 499[SRCategory(nameof(SR.CatBehavior))] 500[SRDescription(nameof(SR.MonthCalendarMinDateDescr))] 523[SRDescription(nameof(SR.MonthCalendarMonthlyBoldedDatesDescr))] 572[SRCategory(nameof(SR.CatAppearance))] 575[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 600[SRCategory(nameof(SR.CatBehavior))] 602[SRDescription(nameof(SR.MonthCalendarScrollChangeDescr))] 628[SRCategory(nameof(SR.CatBehavior))] 631[SRDescription(nameof(SR.MonthCalendarSelectionEndDescr))] 665[SRCategory(nameof(SR.CatBehavior))] 668[SRDescription(nameof(SR.MonthCalendarSelectionStartDescr))] 702[SRCategory(nameof(SR.CatBehavior))] 703[SRDescription(nameof(SR.MonthCalendarSelectionRangeDescr))] 715[SRCategory(nameof(SR.CatBehavior))] 717[SRDescription(nameof(SR.MonthCalendarShowTodayDescr))] 738[SRCategory(nameof(SR.CatBehavior))] 740[SRDescription(nameof(SR.MonthCalendarShowTodayCircleDescr))] 760[SRCategory(nameof(SR.CatBehavior))] 763[SRDescription(nameof(SR.MonthCalendarShowWeekNumbersDescr))] 787[SRCategory(nameof(SR.CatAppearance))] 790[SRDescription(nameof(SR.MonthCalendarSingleMonthSizeDescr))] 800throw new InvalidOperationException(SR.InvalidSingleMonthSize); 848[SRCategory(nameof(SR.CatBehavior))] 849[SRDescription(nameof(SR.MonthCalendarTodayDateDescr))] 892[SRCategory(nameof(SR.CatBehavior))] 895[SRDescription(nameof(SR.MonthCalendarTodayDateSetDescr))] 901[SRCategory(nameof(SR.CatAppearance))] 902[SRDescription(nameof(SR.MonthCalendarTitleBackColorDescr))] 910throw new ArgumentException(string.Format(SR.InvalidNullArgument, nameof(value)), nameof(value)); 922[SRCategory(nameof(SR.CatAppearance))] 923[SRDescription(nameof(SR.MonthCalendarTitleForeColorDescr))] 931throw new ArgumentException(string.Format(SR.InvalidNullArgument, nameof(value)), nameof(value)); 943[SRCategory(nameof(SR.CatAppearance))] 944[SRDescription(nameof(SR.MonthCalendarTrailingForeColorDescr))] 952throw new ArgumentException(string.Format(SR.InvalidNullArgument, nameof(value)), nameof(value)); 1006[SRCategory(nameof(SR.CatAction))] 1007[SRDescription(nameof(SR.MonthCalendarOnDateChangedDescr))] 1014[SRCategory(nameof(SR.CatAction))] 1015[SRDescription(nameof(SR.MonthCalendarOnDateSelectedDescr))] 1060[SRCategory(nameof(SR.CatPropertyChanged))] 1061[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))] 1743string.Format(SR.MonthCalendarRange, minDate.ToShortDateString(), maxDate.ToShortDateString())); 1757throw new ArgumentOutOfRangeException(nameof(x), string.Format(SR.MonthCalendarInvalidDimensions, (x).ToString("D", CultureInfo.CurrentCulture), (y).ToString("D", CultureInfo.CurrentCulture))); 1762throw new ArgumentOutOfRangeException(nameof(y), string.Format(SR.MonthCalendarInvalidDimensions, (x).ToString("D", CultureInfo.CurrentCulture), (y).ToString("D", CultureInfo.CurrentCulture)));
System\Windows\Forms\Controls\MonthCalendar\SelectionRangeConverter.cs (3)
72throw new ArgumentException(string.Format(SR.TextParseFailedFormat, 150throw new ArgumentException(SR.PropertyValueInvalidEntry, invalidCast); 154throw new ArgumentException(SR.PropertyValueInvalidEntry, nullRef);
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (35)
21[SRDescription(nameof(SR.DescriptionPictureBox))] 129[SRCategory(nameof(SR.CatAppearance))] 131[SRDescription(nameof(SR.PictureBoxBorderStyleDescr))] 166[SRCategory(nameof(SR.CatAsynchronous))] 167[SRDescription(nameof(SR.PictureBoxCancelAsyncDescr))] 222[SRCategory(nameof(SR.CatAsynchronous))] 225[SRDescription(nameof(SR.PictureBoxErrorImageDescr))] 295[SRCategory(nameof(SR.CatAppearance))] 298[SRDescription(nameof(SR.PictureBoxImageDescr))] 306[SRCategory(nameof(SR.CatAsynchronous))] 310[SRDescription(nameof(SR.PictureBoxImageLocationDescr))] 381[SRCategory(nameof(SR.CatAsynchronous))] 384[SRDescription(nameof(SR.PictureBoxInitialImageDescr))] 455[SRCategory(nameof(SR.CatAsynchronous))] 456[SRDescription(nameof(SR.PictureBoxLoad0Descr))] 461throw new InvalidOperationException(SR.PictureBoxNoImageLocation); 490throw new NotSupportedException(SR.PictureBoxRemoteLocationNotSupported); 507[SRCategory(nameof(SR.CatAsynchronous))] 508[SRDescription(nameof(SR.PictureBoxLoad1Descr))] 515[SRCategory(nameof(SR.CatAsynchronous))] 516[SRDescription(nameof(SR.PictureBoxLoadAsync0Descr))] 521throw new InvalidOperationException(SR.PictureBoxNoImageLocation); 563throw new NotSupportedException(SR.PictureBoxRemoteLocationNotSupported); 738[SRCategory(nameof(SR.CatAsynchronous))] 739[SRDescription(nameof(SR.PictureBoxLoadAsync1Descr))] 746[SRCategory(nameof(SR.CatAsynchronous))] 747[SRDescription(nameof(SR.PictureBoxLoadCompletedDescr))] 754[SRCategory(nameof(SR.CatAsynchronous))] 755[SRDescription(nameof(SR.PictureBoxLoadProgressChangedDescr))] 817[SRCategory(nameof(SR.CatBehavior))] 819[SRDescription(nameof(SR.PictureBoxSizeModeDescr))] 853[SRCategory(nameof(SR.CatPropertyChanged))] 854[SRDescription(nameof(SR.PictureBoxOnSizeModeChangedDescr))] 1184[SRCategory(nameof(SR.CatAsynchronous))] 1187[SRDescription(nameof(SR.PictureBoxWaitOnLoadDescr))]
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (20)
16[SRDescription(nameof(SR.DescriptionProgressBar))] 121[SRCategory(nameof(SR.CatBehavior))] 122[SRDescription(nameof(SR.ProgressBarStyleDescr))] 236[SRCategory(nameof(SR.CatBehavior))] 237[SRDescription(nameof(SR.ProgressBarMarqueeAnimationSpeed))] 275[SRCategory(nameof(SR.CatBehavior))] 277[SRDescription(nameof(SR.ProgressBarMaximumDescr))] 313[SRCategory(nameof(SR.CatBehavior))] 315[SRDescription(nameof(SR.ProgressBarMinimumDescr))] 387[SRCategory(nameof(SR.CatAppearance))] 390[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 407[SRCategory(nameof(SR.CatPropertyChanged))] 408[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))] 420[SRCategory(nameof(SR.CatBehavior))] 421[SRDescription(nameof(SR.ProgressBarStepDescr))] 473[SRCategory(nameof(SR.CatBehavior))] 475[SRDescription(nameof(SR.ProgressBarValueDescr))] 485throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, nameof(Value), value, nameof(Minimum), nameof(Maximum))); 581throw new InvalidOperationException(SR.ProgressBarIncrementMarqueeException); 652throw 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))] 401[SRDescription(nameof(SR.PropertyGridCanShowCommandsDesc))] 407[SRCategory(nameof(SR.CatAppearance))] 408[SRDescription(nameof(SR.PropertyGridCategoryForeColorDesc))] 426[SRCategory(nameof(SR.CatAppearance))] 427[SRDescription(nameof(SR.PropertyGridCommandsBackColorDesc))] 441[SRCategory(nameof(SR.CatAppearance))] 442[SRDescription(nameof(SR.PropertyGridCommandsForeColorDesc))] 456[SRCategory(nameof(SR.CatAppearance))] 457[SRDescription(nameof(SR.PropertyGridCommandsLinkColorDesc))] 467[SRCategory(nameof(SR.CatAppearance))] 468[SRDescription(nameof(SR.PropertyGridCommandsActiveLinkColorDesc))] 478[SRCategory(nameof(SR.CatAppearance))] 479[SRDescription(nameof(SR.PropertyGridCommandsDisabledLinkColorDesc))] 489[SRCategory(nameof(SR.CatAppearance))] 490[SRDescription(nameof(SR.PropertyGridCommandsBorderColorDesc))] 509[SRCategory(nameof(SR.CatAppearance))] 511[SRDescription(nameof(SR.PropertyGridCommandsVisibleIfAvailable))] 628[SRCategory(nameof(SR.CatAppearance))] 629[SRDescription(nameof(SR.PropertyGridHelpBackColorDesc))] 640[SRCategory(nameof(SR.CatAppearance))] 641[SRDescription(nameof(SR.PropertyGridHelpForeColorDesc))] 652[SRCategory(nameof(SR.CatAppearance))] 653[SRDescription(nameof(SR.PropertyGridHelpBorderColorDesc))] 664[SRCategory(nameof(SR.CatAppearance))] 667[SRDescription(nameof(SR.PropertyGridHelpVisibleDesc))] 700[SRCategory(nameof(SR.CatAppearance))] 701[SRDescription(nameof(SR.PropertyGridSelectedItemWithFocusBackColorDesc))] 719[SRCategory(nameof(SR.CatAppearance))] 720[SRDescription(nameof(SR.PropertyGridSelectedItemWithFocusForeColorDesc))] 738[SRCategory(nameof(SR.CatAppearance))] 739[SRDescription(nameof(SR.PropertyGridDisabledItemForeColorDesc))] 754[SRCategory(nameof(SR.CatAppearance))] 755[SRDescription(nameof(SR.PropertyGridCategorySplitterColorDesc))] 774[SRCategory(nameof(SR.CatAppearance))] 775[SRDescription(nameof(SR.PropertyGridCanShowVisualStyleGlyphsDesc))] 790[SRCategory(nameof(SR.CatAppearance))] 791[SRDescription(nameof(SR.PropertyGridLineColorDesc))] 871[SRCategory(nameof(SR.CatAppearance))] 873[SRDescription(nameof(SR.PropertyGridPropertySortDesc))] 929[SRDescription(nameof(SR.PropertyGridSelectedObjectDesc))] 930[SRCategory(nameof(SR.CatBehavior))] 967throw new ArgumentException(string.Format(SR.PropertyGridSetNull, count, value.Length)); 1231[SRCategory(nameof(SR.CatAppearance))] 1232[SRDescription(nameof(SR.PropertyGridLargeButtonsDesc))] 1279[SRCategory(nameof(SR.CatAppearance))] 1281[SRDescription(nameof(SR.PropertyGridToolbarVisibleDesc))] 1310[SRCategory(nameof(SR.CatAppearance))] 1311[SRDescription(nameof(SR.PropertyGridViewBackColorDesc))] 1323[SRCategory(nameof(SR.CatAppearance))] 1324[SRDescription(nameof(SR.PropertyGridViewForeColorDesc))] 1339[SRCategory(nameof(SR.CatAppearance))] 1340[SRDescription(nameof(SR.PropertyGridViewBorderColorDesc))] 1444[SRCategory(nameof(SR.CatPropertyChanged))] 1445[SRDescription(nameof(SR.PropertyGridPropertyValueChangedDescr))] 1461[SRCategory(nameof(SR.CatPropertyChanged))] 1462[SRDescription(nameof(SR.PropertyGridPropertyTabchangedDescr))] 1472[SRCategory(nameof(SR.CatPropertyChanged))] 1473[SRDescription(nameof(SR.PropertyGridPropertySortChangedDescr))] 1483[SRCategory(nameof(SR.CatPropertyChanged))] 1484[SRDescription(nameof(SR.PropertyGridSelectedGridItemChangedDescr))] 1491[SRCategory(nameof(SR.CatPropertyChanged))] 1492[SRDescription(nameof(SR.PropertyGridSelectedObjectsChangedDescr))] 1628throw new ArgumentException(SR.PropertyGridTabScope, nameof(tabScope)); 1738throw new ArgumentException(string.Format(SR.PropertyGridNoBitmap, tab.GetType().FullName)); 1743throw new ArgumentException(string.Format(SR.PropertyGridTabName, tab.GetType().FullName)); 3015string.Format(SR.PropertyGridPropertyValueSelectedFormat, changedItem.Value)); 3233string error = SR.ErrorPropertyPageFailed; 3243SR.PropertyGridTitle, 3476throw new ArgumentException(SR.PropertyGridTabScope); 3579throw new ArgumentException(SR.PropertyGridRemoveStaticTabs); 3622throw new ArgumentException(SR.PropertyGridRemoveStaticTabs); 3927SR.PBRSToolTipAlphabetic, 3932SR.PBRSToolTipCategorized, 4004SR.PBRSToolTipPropertyPages, 4248[SRCategory(nameof(SR.CatBehavior))] 4249[SRDescription(nameof(SR.UseCompatibleTextRenderingDescr))]
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.PropertyTabCollection.cs (5)
50throw new InvalidOperationException(SR.PropertyGridPropertyTabCollectionReadOnly); 61throw new InvalidOperationException(SR.PropertyGridPropertyTabCollectionReadOnly); 71throw new InvalidOperationException(SR.PropertyGridPropertyTabCollectionReadOnly); 85throw new InvalidOperationException(SR.PropertyGridPropertyTabCollectionReadOnly); 126throw new InvalidOperationException(SR.PropertyGridPropertyTabCollectionReadOnly);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CategoryGridEntry.CategoryGridEntryAccessibleObject.cs (1)
94UIA_PROPERTY_ID.UIA_LocalizedControlTypePropertyId => (VARIANT)SR.CategoryPropertyGridLocalizedControlType,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CommandsPane.cs (1)
129SR.PBRSErrorTitle,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.cs (2)
178? SR.PropertyGridDropDownButtonComboBoxAccessibleName 179: SR.PropertyGridDropDownButtonAccessibleName;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1102SR.PBRSErrorTitle,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (2)
43return SR.AccessibleActionCollapse; 47return SR.AccessibleActionExpand;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (5)
59_detailsButton.Text = $" {SR.ExDlgShowDetails}"; 61_detailsTextBox.AccessibleName = SR.ExDlgDetailsText; 63_okButton.Text = SR.ExDlgOk; 64_cancelButton.Text = SR.ExDlgCancel; 104private static bool IsRTLResources => SR.RTL != "RTL_False";
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (1)
56Text = SR.PropertyGridHelpPaneTitle;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.HelpPaneAccessibleObject.cs (1)
63? string.Format(SR.PropertyGridHelpPaneAccessibleNameTemplate, target.AccessibilityObject.Name)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (1)
79string.Format(SR.ExceptionCreatingObject, InstanceParentGridEntry?.PropertyType?.FullName, e),
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (1)
275DesignerTransaction? transaction = host?.CreateTransaction(string.Format(SR.PropertyGridResetValue, PropertyName));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertiesTab.cs (1)
11public override string TabName => SR.PBRSToolTipProperties;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (3)
409SetPropertyValue(owner, value: null, reset: true, undoText: string.Format(SR.PropertyGridResetValue, PropertyName)); 570transaction = host?.CreateTransaction(undoText ?? string.Format(SR.PropertyGridSetValue, PropertyDescriptor.Name)); 848SR.WindowsFormsSetEvent,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.ExceptionEditor.cs (1)
36SR.PropertyGridExceptionInfo,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (6)
527throw new ArgumentException(SR.PropertyGridInvalidGridEntry); 1475SR.ExpandedStateName); 4979ErrorDialog.Message = SR.PBRSFormatExceptionMessage; 4980ErrorDialog.Text = SR.PBRSErrorTitle; 5052ErrorDialog.Message = SR.PBRSErrorInvalidPropertyValue; 5053ErrorDialog.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)); 359[SRCategory(nameof(SR.CatBehavior))] 361[SRDescription(nameof(SR.RichTextBoxDetectURLs))] 385[SRCategory(nameof(SR.CatBehavior))] 387[SRDescription(nameof(SR.RichTextBoxEnableAutoDragDrop))] 553[SRCategory(nameof(SR.CatBehavior))] 556[SRDescription(nameof(SR.RichTextBoxRedoActionNameDescr))] 589[SRCategory(nameof(SR.CatBehavior))] 592[SRDescription(nameof(SR.RichTextBoxRightMargin))] 624[SRDescription(nameof(SR.RichTextBoxRTF))] 667[SRCategory(nameof(SR.CatAppearance))] 670[SRDescription(nameof(SR.RichTextBoxScrollBars))] 696[SRDescription(nameof(SR.RichTextBoxSelAlignment))] 772[SRDescription(nameof(SR.RichTextBoxSelBullet))] 838[SRDescription(nameof(SR.RichTextBoxSelCharOffset))] 875[SRDescription(nameof(SR.RichTextBoxSelColor))] 911[SRDescription(nameof(SR.RichTextBoxSelBackColor))] 972[SRDescription(nameof(SR.RichTextBoxSelFont))] 988[SRDescription(nameof(SR.RichTextBoxSelHangingIndent))] 1036[SRDescription(nameof(SR.RichTextBoxSelIndent))] 1080[SRCategory(nameof(SR.CatAppearance))] 1083[SRDescription(nameof(SR.TextBoxSelectionLengthDescr))] 1107[SRDescription(nameof(SR.RichTextBoxSelProtected))] 1131[SRDescription(nameof(SR.RichTextBoxSelRTF))] 1157[SRDescription(nameof(SR.RichTextBoxSelRightIndent))] 1204[SRDescription(nameof(SR.RichTextBoxSelTabs))] 1238throw new ArgumentOutOfRangeException(nameof(value), SR.SelTabCountRange); 1270[SRDescription(nameof(SR.RichTextBoxSelText))] 1291[SRCategory(nameof(SR.CatBehavior))] 1294[SRDescription(nameof(SR.RichTextBoxSelTypeDescr))] 1316[SRCategory(nameof(SR.CatBehavior))] 1318[SRDescription(nameof(SR.RichTextBoxSelMargin))] 1433[SRCategory(nameof(SR.CatBehavior))] 1436[SRDescription(nameof(SR.RichTextBoxUndoActionNameDescr))] 1456return SR.RichTextBox_IDUnknown; 1458return SR.RichTextBox_IDTyping; 1460return SR.RichTextBox_IDDelete; 1462return SR.RichTextBox_IDDragDrop; 1464return SR.RichTextBox_IDCut; 1466return SR.RichTextBox_IDPaste; 1478[SRCategory(nameof(SR.CatBehavior))] 1481[SRDescription(nameof(SR.RichTextBoxZoomFactor))] 1519[SRCategory(nameof(SR.CatBehavior))] 1520[SRDescription(nameof(SR.RichTextBoxContentsResized))] 1581[SRCategory(nameof(SR.CatBehavior))] 1582[SRDescription(nameof(SR.RichTextBoxHScroll))] 1589[SRCategory(nameof(SR.CatBehavior))] 1590[SRDescription(nameof(SR.RichTextBoxLinkClick))] 1597[SRCategory(nameof(SR.CatBehavior))] 1598[SRDescription(nameof(SR.RichTextBoxIMEChange))] 1605[SRCategory(nameof(SR.CatBehavior))] 1606[SRDescription(nameof(SR.RichTextBoxProtected))] 1613[SRCategory(nameof(SR.CatBehavior))] 1614[SRDescription(nameof(SR.RichTextBoxSelChange))] 1621[SRCategory(nameof(SR.CatBehavior))] 1622[SRDescription(nameof(SR.RichTextBoxVScroll))] 1879throw new ArgumentOutOfRangeException(nameof(end), end, string.Format(SR.RichTextFindEndInvalid, end)); 1889throw new ArgumentException(string.Format(SR.RichTextFindEndInvalid, end)); 2428throw new ArgumentException(SR.InvalidFileType); 2801_ => throw new ArgumentException(SR.UnknownAttr), 2960throw new ArgumentException(SR.InvalidFileFormat, ex); 2967throw new ArgumentException(SR.InvalidFileFormat); 3016throw new InvalidOperationException(SR.LoadTextError); 3107throw new InvalidOperationException(SR.SaveTextError); 3286throw new OutOfMemoryException(SR.OutOfMemory);
System\Windows\Forms\Controls\Splitter\Splitter.cs (14)
18[SRDescription(nameof(SR.DescriptionSplitter))] 175[SRCategory(nameof(SR.CatAppearance))] 177[SRDescription(nameof(SR.SplitterBorderStyleDescr))] 244throw new ArgumentException(SR.SplitterInvalidDockEnum); 306[SRCategory(nameof(SR.CatBehavior))] 309[SRDescription(nameof(SR.SplitterMinExtraDescr))] 332[SRCategory(nameof(SR.CatBehavior))] 335[SRDescription(nameof(SR.SplitterMinSizeDescr))] 357[SRCategory(nameof(SR.CatLayout))] 360[SRDescription(nameof(SR.SplitterSplitPositionDescr))] 500[SRCategory(nameof(SR.CatBehavior))] 501[SRDescription(nameof(SR.SplitterSplitterMovingDescr))] 508[SRCategory(nameof(SR.CatBehavior))] 509[SRDescription(nameof(SR.SplitterSplitterMovedDescr))]
System\Windows\Forms\Controls\TabControl\TabControl.ControlCollection.cs (1)
25throw new ArgumentException(string.Format(SR.TabControlInvalidTabPageType, value.GetType().Name));
System\Windows\Forms\Controls\TabControl\TabControl.cs (50)
21[SRDescription(nameof(SR.DescriptionTabControl))] 96[SRCategory(nameof(SR.CatBehavior))] 100[SRDescription(nameof(SR.TabBaseAlignmentDescr))] 132[SRCategory(nameof(SR.CatBehavior))] 135[SRDescription(nameof(SR.TabBaseAppearanceDescr))] 402[SRCategory(nameof(SR.CatBehavior))] 404[SRDescription(nameof(SR.TabBaseDrawModeDescr))] 428[SRCategory(nameof(SR.CatBehavior))] 430[SRDescription(nameof(SR.TabBaseHotTrackDescr))] 451[SRCategory(nameof(SR.CatAppearance))] 454[SRDescription(nameof(SR.TabBaseImageListDescr))] 500[SRCategory(nameof(SR.CatBehavior))] 502[SRDescription(nameof(SR.TabBaseItemSizeDescr))] 525throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(ItemSize), value)); 556[SRCategory(nameof(SR.CatBehavior))] 558[SRDescription(nameof(SR.TabBaseMultilineDescr))] 581[SRCategory(nameof(SR.CatBehavior))] 583[SRDescription(nameof(SR.TabBasePaddingDescr))] 594throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(Padding), value)); 613[SRCategory(nameof(SR.CatAppearance))] 616[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 643[SRCategory(nameof(SR.CatAppearance))] 646[SRDescription(nameof(SR.TabBaseRowCountDescr))] 657[SRCategory(nameof(SR.CatBehavior))] 659[SRDescription(nameof(SR.selectedIndexDescr))] 722[SRCategory(nameof(SR.CatAppearance))] 725[SRDescription(nameof(SR.TabControlSelectedTabDescr))] 752[SRCategory(nameof(SR.CatBehavior))] 754[SRDescription(nameof(SR.TabBaseSizeModeDescr))] 778[SRCategory(nameof(SR.CatBehavior))] 781[SRDescription(nameof(SR.TabBaseShowToolTipsDescr))] 800[SRCategory(nameof(SR.CatAppearance))] 803[SRDescription(nameof(SR.TabBaseTabCountDescr))] 809[SRCategory(nameof(SR.CatBehavior))] 810[SRDescription(nameof(SR.TabControlTabsDescr))] 840[SRCategory(nameof(SR.CatBehavior))] 841[SRDescription(nameof(SR.drawItemEventDescr))] 848[SRCategory(nameof(SR.CatPropertyChanged))] 849[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))] 856[SRCategory(nameof(SR.CatBehavior))] 857[SRDescription(nameof(SR.selectedIndexChangedEventDescr))] 867[SRCategory(nameof(SR.CatAction))] 868[SRDescription(nameof(SR.TabControlSelectingEventDescr))] 878[SRCategory(nameof(SR.CatAction))] 879[SRDescription(nameof(SR.TabControlSelectedEventDescr))] 889[SRCategory(nameof(SR.CatAction))] 890[SRDescription(nameof(SR.TabControlDeselectingEventDescr))] 900[SRCategory(nameof(SR.CatAction))] 901[SRDescription(nameof(SR.TabControlDeselectedEventDescr))] 1132throw new ArgumentException(SR.TabControlBadControl, nameof(item));
System\Windows\Forms\Controls\TabControl\TabPage.cs (10)
79[SRCategory(nameof(SR.CatPropertyChanged))] 80[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 93[SRCategory(nameof(SR.CatAppearance))] 94[SRDescription(nameof(SR.ControlBackColorDescr))] 231[SRDescription(nameof(SR.TabItemImageIndexDescr))] 258[SRDescription(nameof(SR.TabItemImageIndexDescr))] 317[SRCategory(nameof(SR.CatAppearance))] 318[SRDescription(nameof(SR.TabItemUseVisualStyleBackColorDescr))] 445[SRDescription(nameof(SR.TabItemToolTipTextDescr))] 493throw new ArgumentException(string.Format(SR.TabControlTabPageNotOnTabControl, value.GetType().FullName));
System\Windows\Forms\Controls\TabControl\TabPage.TabPageControlCollection.cs (1)
31throw new ArgumentException(SR.TabControlTabPageOnTabPage);
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (54)
24[SRDescription(nameof(SR.DescriptionMaskedTextBox))] 193[SRCategory(nameof(SR.CatBehavior))] 194[SRDescription(nameof(SR.MaskedTextBoxAllowPromptAsInputDescr))] 236[SRCategory(nameof(SR.CatBehavior))] 237[SRDescription(nameof(SR.MaskedTextBoxAsciiOnlyDescr))] 268[SRCategory(nameof(SR.CatBehavior))] 269[SRDescription(nameof(SR.MaskedTextBoxBeepOnErrorDescr))] 334[SRCategory(nameof(SR.CatBehavior))] 335[SRDescription(nameof(SR.MaskedTextBoxCultureDescr))] 369[SRCategory(nameof(SR.CatBehavior))] 370[SRDescription(nameof(SR.MaskedTextBoxCutCopyMaskFormat))] 440[SRCategory(nameof(SR.CatBehavior))] 441[SRDescription(nameof(SR.MaskedTextBoxHidePromptOnLeaveDescr))] 502[SRCategory(nameof(SR.CatBehavior))] 503[SRDescription(nameof(SR.MaskedTextBoxInsertKeyModeDescr))] 581[SRCategory(nameof(SR.CatPropertyChanged))] 582[SRDescription(nameof(SR.MaskedTextBoxIsOverwriteModeChangedDescr))] 621[SRCategory(nameof(SR.CatBehavior))] 622[SRDescription(nameof(SR.MaskedTextBoxMaskDescr))] 690throw new ArgumentException(SR.MaskedTextBoxMaskInvalidChar); 722[SRCategory(nameof(SR.CatPropertyChanged))] 723[SRDescription(nameof(SR.MaskedTextBoxMaskChangedDescr))] 773[SRCategory(nameof(SR.CatBehavior))] 774[SRDescription(nameof(SR.MaskedTextBoxMaskInputRejectedDescr))] 824[SRCategory(nameof(SR.CatBehavior))] 825[SRDescription(nameof(SR.MaskedTextBoxPasswordCharDescr))] 841throw new ArgumentException(SR.MaskedTextBoxInvalidCharError); 849throw new InvalidOperationException(SR.MaskedTextBoxPasswordAndPromptCharError); 883[SRCategory(nameof(SR.CatAppearance))] 884[SRDescription(nameof(SR.MaskedTextBoxPromptCharDescr))] 899throw new ArgumentException(SR.MaskedTextBoxInvalidCharError); 908throw new InvalidOperationException(SR.MaskedTextBoxPasswordAndPromptCharError); 953[SRCategory(nameof(SR.CatBehavior))] 954[SRDescription(nameof(SR.MaskedTextBoxRejectInputOnFirstFailureDescr))] 972[SRCategory(nameof(SR.CatBehavior))] 973[SRDescription(nameof(SR.MaskedTextBoxResetOnPrompt))] 991[SRCategory(nameof(SR.CatBehavior))] 992[SRDescription(nameof(SR.MaskedTextBoxResetOnSpace))] 1010[SRCategory(nameof(SR.CatBehavior))] 1011[SRDescription(nameof(SR.MaskedTextBoxSkipLiterals))] 1135[SRCategory(nameof(SR.CatAppearance))] 1233[SRCategory(nameof(SR.CatAppearance))] 1235[SRDescription(nameof(SR.TextBoxTextAlignDescr))] 1260[SRCategory(nameof(SR.CatPropertyChanged))] 1261[SRDescription(nameof(SR.RadioButtonOnTextAlignChangedDescr))] 1274[SRCategory(nameof(SR.CatBehavior))] 1275[SRDescription(nameof(SR.MaskedTextBoxTextMaskFormat))] 1370[SRCategory(nameof(SR.CatFocus))] 1371[SRDescription(nameof(SR.MaskedTextBoxTypeValidationCompletedDescr))] 1382[SRCategory(nameof(SR.CatBehavior))] 1383[SRDescription(nameof(SR.MaskedTextBoxUseSystemPasswordCharDescr))] 1401throw new InvalidOperationException(SR.MaskedTextBoxPasswordAndPromptCharError); 2310message = SR.MaskedTextBoxIncompleteMsg; 2353message = SR.MaskedTextBoxTypeValidationSucceeded;
System\Windows\Forms\Controls\TextBox\TextBox.cs (21)
17[SRDescription(nameof(SR.DescriptionTextBox))] 89[SRCategory(nameof(SR.CatBehavior))] 91[SRDescription(nameof(SR.TextBoxAcceptsReturnDescr))] 113[SRDescription(nameof(SR.TextBoxAutoCompleteModeDescr))] 141[SRDescription(nameof(SR.TextBoxAutoCompleteSourceDescr))] 167throw new NotSupportedException(SR.TextBoxAutoCompleteSourceNoItems); 180[SRDescription(nameof(SR.TextBoxAutoCompleteCustomSourceDescr))] 213[SRCategory(nameof(SR.CatBehavior))] 215[SRDescription(nameof(SR.TextBoxCharacterCasingDescr))] 325[SRCategory(nameof(SR.CatBehavior))] 328[SRDescription(nameof(SR.TextBoxPasswordCharDescr))] 369[SRCategory(nameof(SR.CatAppearance))] 372[SRDescription(nameof(SR.TextBoxScrollBarsDescr))] 475[SRCategory(nameof(SR.CatAppearance))] 477[SRDescription(nameof(SR.TextBoxTextAlignDescr))] 504[SRCategory(nameof(SR.CatBehavior))] 506[SRDescription(nameof(SR.TextBoxUseSystemPasswordCharDescr))] 531[SRCategory(nameof(SR.CatPropertyChanged))] 532[SRDescription(nameof(SR.RadioButtonOnTextAlignChangedDescr))] 785throw new ArgumentException(SR.AutoCompleteFailure); 867[SRDescription(nameof(SR.TextBoxPlaceholderTextDescr))]
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (50)
125[SRCategory(nameof(SR.CatBehavior))] 127[SRDescription(nameof(SR.TextBoxAcceptsTabDescr))] 141[SRCategory(nameof(SR.CatPropertyChanged))] 142[SRDescription(nameof(SR.TextBoxBaseOnAcceptsTabChangedDescr))] 154[SRCategory(nameof(SR.CatBehavior))] 156[SRDescription(nameof(SR.TextBoxShortcutsEnabledDescr))] 245[SRCategory(nameof(SR.CatBehavior))] 248[SRDescription(nameof(SR.TextBoxAutoSizeDescr))] 282[SRCategory(nameof(SR.CatAppearance))] 284[SRDescription(nameof(SR.ControlBackColorDescr))] 352[SRCategory(nameof(SR.CatAppearance))] 355[SRDescription(nameof(SR.TextBoxBorderDescr))] 395[SRCategory(nameof(SR.CatPropertyChanged))] 396[SRDescription(nameof(SR.TextBoxBaseOnBorderStyleChangedDescr))] 412[SRCategory(nameof(SR.CatBehavior))] 415[SRDescription(nameof(SR.TextBoxCanUndoDescr))] 529[SRCategory(nameof(SR.CatAppearance))] 531[SRDescription(nameof(SR.ControlForeColorDescr))] 545[SRCategory(nameof(SR.CatBehavior))] 547[SRDescription(nameof(SR.TextBoxHideSelectionDescr))] 563[SRCategory(nameof(SR.CatPropertyChanged))] 564[SRDescription(nameof(SR.TextBoxBaseOnHideSelectionChangedDescr))] 589[SRCategory(nameof(SR.CatAppearance))] 594[SRDescription(nameof(SR.TextBoxLinesDescr))] 655[SRCategory(nameof(SR.CatBehavior))] 658[SRDescription(nameof(SR.TextBoxMaxLengthDescr))] 679[SRCategory(nameof(SR.CatBehavior))] 682[SRDescription(nameof(SR.TextBoxModifiedDescr))] 729[SRCategory(nameof(SR.CatPropertyChanged))] 730[SRDescription(nameof(SR.TextBoxBaseOnModifiedChangedDescr))] 741[SRCategory(nameof(SR.CatBehavior))] 744[SRDescription(nameof(SR.TextBoxMultilineDescr))] 783[SRCategory(nameof(SR.CatPropertyChanged))] 784[SRDescription(nameof(SR.TextBoxBaseOnMultilineChangedDescr))] 835[SRCategory(nameof(SR.CatLayout))] 836[SRDescription(nameof(SR.ControlOnPaddingChangedDescr))] 854[SRCategory(nameof(SR.CatLayout))] 858[SRDescription(nameof(SR.TextBoxPreferredHeightDescr))] 1182[SRCategory(nameof(SR.CatBehavior))] 1185[SRDescription(nameof(SR.TextBoxReadOnlyDescr))] 1225[SRCategory(nameof(SR.CatPropertyChanged))] 1226[SRDescription(nameof(SR.TextBoxBaseOnReadOnlyChangedDescr))] 1236[SRCategory(nameof(SR.CatAppearance))] 1240[SRDescription(nameof(SR.TextBoxSelectedTextDescr))] 1290[SRCategory(nameof(SR.CatAppearance))] 1293[SRDescription(nameof(SR.TextBoxSelectionLengthDescr))] 1317[SRCategory(nameof(SR.CatAppearance))] 1320[SRDescription(nameof(SR.TextBoxSelectionStartDescr))] 1432[SRCategory(nameof(SR.CatBehavior))] 1435[SRDescription(nameof(SR.TextBoxWordWrapDescr))]
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseAccessibleObject.cs (1)
70public override string? Value => this.TryGetOwnerAs(out TextBoxBase? owner) && !owner.PasswordProtect ? ValueInternal : SR.AccessDenied;
System\Windows\Forms\Controls\ToolStrips\OpacityConverter.cs (2)
68string.Format(SR.InvalidBoundArgument, 79string.Format(SR.InvalidBoundArgument,
System\Windows\Forms\Controls\ToolStrips\ProfessionalColors.cs (57)
34[SRDescription(nameof(SR.ProfessionalColorsButtonSelectedHighlightDescr))] 37[SRDescription(nameof(SR.ProfessionalColorsButtonSelectedHighlightBorderDescr))] 40[SRDescription(nameof(SR.ProfessionalColorsButtonPressedHighlightDescr))] 43[SRDescription(nameof(SR.ProfessionalColorsButtonPressedHighlightBorderDescr))] 46[SRDescription(nameof(SR.ProfessionalColorsButtonCheckedHighlightDescr))] 49[SRDescription(nameof(SR.ProfessionalColorsButtonCheckedHighlightBorderDescr))] 52[SRDescription(nameof(SR.ProfessionalColorsButtonPressedBorderDescr))] 55[SRDescription(nameof(SR.ProfessionalColorsButtonSelectedBorderDescr))] 58[SRDescription(nameof(SR.ProfessionalColorsButtonCheckedGradientBeginDescr))] 61[SRDescription(nameof(SR.ProfessionalColorsButtonCheckedGradientMiddleDescr))] 64[SRDescription(nameof(SR.ProfessionalColorsButtonCheckedGradientEndDescr))] 67[SRDescription(nameof(SR.ProfessionalColorsButtonSelectedGradientBeginDescr))] 70[SRDescription(nameof(SR.ProfessionalColorsButtonSelectedGradientMiddleDescr))] 73[SRDescription(nameof(SR.ProfessionalColorsButtonSelectedGradientEndDescr))] 76[SRDescription(nameof(SR.ProfessionalColorsButtonPressedGradientBeginDescr))] 79[SRDescription(nameof(SR.ProfessionalColorsButtonPressedGradientMiddleDescr))] 82[SRDescription(nameof(SR.ProfessionalColorsButtonPressedGradientEndDescr))] 85[SRDescription(nameof(SR.ProfessionalColorsCheckBackgroundDescr))] 88[SRDescription(nameof(SR.ProfessionalColorsCheckSelectedBackgroundDescr))] 91[SRDescription(nameof(SR.ProfessionalColorsCheckPressedBackgroundDescr))] 94[SRDescription(nameof(SR.ProfessionalColorsGripDarkDescr))] 97[SRDescription(nameof(SR.ProfessionalColorsGripLightDescr))] 100[SRDescription(nameof(SR.ProfessionalColorsImageMarginGradientBeginDescr))] 103[SRDescription(nameof(SR.ProfessionalColorsImageMarginGradientMiddleDescr))] 106[SRDescription(nameof(SR.ProfessionalColorsImageMarginGradientEndDescr))] 109[SRDescription(nameof(SR.ProfessionalColorsImageMarginRevealedGradientBeginDescr))] 112[SRDescription(nameof(SR.ProfessionalColorsImageMarginRevealedGradientMiddleDescr))] 115[SRDescription(nameof(SR.ProfessionalColorsImageMarginRevealedGradientEndDescr))] 118[SRDescription(nameof(SR.ProfessionalColorsMenuStripGradientBeginDescr))] 121[SRDescription(nameof(SR.ProfessionalColorsMenuStripGradientEndDescr))] 124[SRDescription(nameof(SR.ProfessionalColorsMenuBorderDescr))] 127[SRDescription(nameof(SR.ProfessionalColorsMenuItemSelectedDescr))] 130[SRDescription(nameof(SR.ProfessionalColorsMenuItemBorderDescr))] 133[SRDescription(nameof(SR.ProfessionalColorsMenuItemSelectedGradientBeginDescr))] 136[SRDescription(nameof(SR.ProfessionalColorsMenuItemSelectedGradientEndDescr))] 139[SRDescription(nameof(SR.ProfessionalColorsMenuItemPressedGradientBeginDescr))] 142[SRDescription(nameof(SR.ProfessionalColorsMenuItemPressedGradientMiddleDescr))] 145[SRDescription(nameof(SR.ProfessionalColorsMenuItemPressedGradientEndDescr))] 148[SRDescription(nameof(SR.ProfessionalColorsRaftingContainerGradientBeginDescr))] 151[SRDescription(nameof(SR.ProfessionalColorsRaftingContainerGradientEndDescr))] 154[SRDescription(nameof(SR.ProfessionalColorsSeparatorDarkDescr))] 157[SRDescription(nameof(SR.ProfessionalColorsSeparatorLightDescr))] 160[SRDescription(nameof(SR.ProfessionalColorsStatusStripBorderDescr))] 163[SRDescription(nameof(SR.ProfessionalColorsStatusStripGradientBeginDescr))] 166[SRDescription(nameof(SR.ProfessionalColorsStatusStripGradientEndDescr))] 169[SRDescription(nameof(SR.ProfessionalColorsToolStripBorderDescr))] 172[SRDescription(nameof(SR.ProfessionalColorsToolStripDropDownBackgroundDescr))] 175[SRDescription(nameof(SR.ProfessionalColorsToolStripGradientBeginDescr))] 178[SRDescription(nameof(SR.ProfessionalColorsToolStripGradientMiddleDescr))] 181[SRDescription(nameof(SR.ProfessionalColorsToolStripGradientEndDescr))] 184[SRDescription(nameof(SR.ProfessionalColorsToolStripContentPanelGradientBeginDescr))] 187[SRDescription(nameof(SR.ProfessionalColorsToolStripContentPanelGradientEndDescr))] 190[SRDescription(nameof(SR.ProfessionalColorsToolStripPanelGradientBeginDescr))] 193[SRDescription(nameof(SR.ProfessionalColorsToolStripPanelGradientEndDescr))] 196[SRDescription(nameof(SR.ProfessionalColorsOverflowButtonGradientBeginDescr))] 199[SRDescription(nameof(SR.ProfessionalColorsOverflowButtonGradientMiddleDescr))] 202[SRDescription(nameof(SR.ProfessionalColorsOverflowButtonGradientEndDescr))]
System\Windows\Forms\Controls\ToolStrips\ProfessionalColorTable.cs (57)
106[SRDescription(nameof(SR.ProfessionalColorsButtonSelectedHighlightDescr))] 109[SRDescription(nameof(SR.ProfessionalColorsButtonSelectedHighlightBorderDescr))] 112[SRDescription(nameof(SR.ProfessionalColorsButtonPressedHighlightDescr))] 115[SRDescription(nameof(SR.ProfessionalColorsButtonPressedHighlightBorderDescr))] 118[SRDescription(nameof(SR.ProfessionalColorsButtonCheckedHighlightDescr))] 121[SRDescription(nameof(SR.ProfessionalColorsButtonCheckedHighlightBorderDescr))] 124[SRDescription(nameof(SR.ProfessionalColorsButtonPressedBorderDescr))] 127[SRDescription(nameof(SR.ProfessionalColorsButtonSelectedBorderDescr))] 130[SRDescription(nameof(SR.ProfessionalColorsButtonCheckedGradientBeginDescr))] 133[SRDescription(nameof(SR.ProfessionalColorsButtonCheckedGradientMiddleDescr))] 136[SRDescription(nameof(SR.ProfessionalColorsButtonCheckedGradientEndDescr))] 139[SRDescription(nameof(SR.ProfessionalColorsButtonSelectedGradientBeginDescr))] 142[SRDescription(nameof(SR.ProfessionalColorsButtonSelectedGradientMiddleDescr))] 145[SRDescription(nameof(SR.ProfessionalColorsButtonSelectedGradientEndDescr))] 148[SRDescription(nameof(SR.ProfessionalColorsButtonPressedGradientBeginDescr))] 151[SRDescription(nameof(SR.ProfessionalColorsButtonPressedGradientMiddleDescr))] 154[SRDescription(nameof(SR.ProfessionalColorsButtonPressedGradientEndDescr))] 156[SRDescription(nameof(SR.ProfessionalColorsCheckBackgroundDescr))] 159[SRDescription(nameof(SR.ProfessionalColorsCheckSelectedBackgroundDescr))] 162[SRDescription(nameof(SR.ProfessionalColorsCheckPressedBackgroundDescr))] 165[SRDescription(nameof(SR.ProfessionalColorsGripDarkDescr))] 168[SRDescription(nameof(SR.ProfessionalColorsGripLightDescr))] 171[SRDescription(nameof(SR.ProfessionalColorsImageMarginGradientBeginDescr))] 174[SRDescription(nameof(SR.ProfessionalColorsImageMarginGradientMiddleDescr))] 177[SRDescription(nameof(SR.ProfessionalColorsImageMarginGradientEndDescr))] 180[SRDescription(nameof(SR.ProfessionalColorsImageMarginRevealedGradientBeginDescr))] 183[SRDescription(nameof(SR.ProfessionalColorsImageMarginRevealedGradientMiddleDescr))] 186[SRDescription(nameof(SR.ProfessionalColorsImageMarginRevealedGradientEndDescr))] 189[SRDescription(nameof(SR.ProfessionalColorsMenuStripGradientBeginDescr))] 192[SRDescription(nameof(SR.ProfessionalColorsMenuStripGradientEndDescr))] 195[SRDescription(nameof(SR.ProfessionalColorsMenuItemSelectedDescr))] 198[SRDescription(nameof(SR.ProfessionalColorsMenuItemBorderDescr))] 201[SRDescription(nameof(SR.ProfessionalColorsMenuBorderDescr))] 204[SRDescription(nameof(SR.ProfessionalColorsMenuItemSelectedGradientBeginDescr))] 207[SRDescription(nameof(SR.ProfessionalColorsMenuItemSelectedGradientEndDescr))] 210[SRDescription(nameof(SR.ProfessionalColorsMenuItemPressedGradientBeginDescr))] 213[SRDescription(nameof(SR.ProfessionalColorsMenuItemPressedGradientMiddleDescr))] 216[SRDescription(nameof(SR.ProfessionalColorsMenuItemPressedGradientEndDescr))] 219[SRDescription(nameof(SR.ProfessionalColorsRaftingContainerGradientBeginDescr))] 222[SRDescription(nameof(SR.ProfessionalColorsRaftingContainerGradientEndDescr))] 225[SRDescription(nameof(SR.ProfessionalColorsSeparatorDarkDescr))] 228[SRDescription(nameof(SR.ProfessionalColorsSeparatorLightDescr))] 231[SRDescription(nameof(SR.ProfessionalColorsStatusStripBorderDescr))] 235[SRDescription(nameof(SR.ProfessionalColorsStatusStripGradientBeginDescr))] 238[SRDescription(nameof(SR.ProfessionalColorsStatusStripGradientEndDescr))] 241[SRDescription(nameof(SR.ProfessionalColorsToolStripBorderDescr))] 244[SRDescription(nameof(SR.ProfessionalColorsToolStripDropDownBackgroundDescr))] 247[SRDescription(nameof(SR.ProfessionalColorsToolStripGradientBeginDescr))] 250[SRDescription(nameof(SR.ProfessionalColorsToolStripGradientMiddleDescr))] 253[SRDescription(nameof(SR.ProfessionalColorsToolStripGradientEndDescr))] 256[SRDescription(nameof(SR.ProfessionalColorsToolStripContentPanelGradientBeginDescr))] 259[SRDescription(nameof(SR.ProfessionalColorsToolStripContentPanelGradientEndDescr))] 262[SRDescription(nameof(SR.ProfessionalColorsToolStripPanelGradientBeginDescr))] 265[SRDescription(nameof(SR.ProfessionalColorsToolStripPanelGradientEndDescr))] 268[SRDescription(nameof(SR.ProfessionalColorsOverflowButtonGradientBeginDescr))] 271[SRDescription(nameof(SR.ProfessionalColorsOverflowButtonGradientMiddleDescr))] 274[SRDescription(nameof(SR.ProfessionalColorsOverflowButtonGradientEndDescr))]
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (9)
11[SRDescription(nameof(SR.DescriptionStatusStrip))] 44[SRDescription(nameof(SR.ToolStripCanOverflowDescr))] 45[SRCategory(nameof(SR.CatLayout))] 151[SRDescription(nameof(SR.ToolStripShowItemToolTipsDescr))] 152[SRCategory(nameof(SR.CatBehavior))] 182[SRCategory(nameof(SR.CatAppearance))] 184[SRDescription(nameof(SR.StatusStripSizingGripDescr))] 235[SRCategory(nameof(SR.CatLayout))] 236[SRDescription(nameof(SR.ToolStripStretchDescr))]
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (58)
22[SRDescription(nameof(SR.DescriptionToolStrip))] 213[SRCategory(nameof(SR.CatPropertyChanged))] 214[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 231throw new NotSupportedException(SR.ToolStripDoesntSupportAutoScroll); 267[SRDescription(nameof(SR.ToolStripAllowClickThrough))] 268[SRCategory(nameof(SR.CatBehavior))] 280throw new ArgumentException(SR.ToolStripAllowItemReorderAndAllowDropCannotBeSetToTrue); 301[SRDescription(nameof(SR.ToolStripAllowItemReorderDescr))] 302[SRCategory(nameof(SR.CatBehavior))] 312throw new ArgumentException(SR.ToolStripAllowItemReorderAndAllowDropCannotBeSetToTrue); 336[SRDescription(nameof(SR.ToolStripAllowMergeDescr))] 337[SRCategory(nameof(SR.CatBehavior))] 367[SRDescription(nameof(SR.ToolStripBackColorDescr))] 368[SRCategory(nameof(SR.CatAppearance))] 375[SRCategory(nameof(SR.CatBehavior))] 376[SRDescription(nameof(SR.ToolStripOnBeginDrag))] 412[SRDescription(nameof(SR.ToolStripCanOverflowDescr))] 413[SRCategory(nameof(SR.CatLayout))] 512[SRCategory(nameof(SR.CatBehavior))] 513[SRDescription(nameof(SR.ToolStripOnEndDrag))] 568[SRDescription(nameof(SR.ToolStripDefaultDropDownDirectionDescr))] 569[SRCategory(nameof(SR.CatBehavior))] 802[SRCategory(nameof(SR.CatAppearance))] 803[SRDescription(nameof(SR.ToolStripGripStyleDescr))] 837[SRCategory(nameof(SR.CatLayout))] 838[SRDescription(nameof(SR.ToolStripGripDisplayStyleDescr))] 911[SRCategory(nameof(SR.CatAppearance))] 912[SRDescription(nameof(SR.ToolStripImageScalingSizeDescr))] 950[SRCategory(nameof(SR.CatAppearance))] 951[SRDescription(nameof(SR.ToolStripImageListDescr))] 1038[SRCategory(nameof(SR.CatData))] 1039[SRDescription(nameof(SR.ToolStripItemsDescr))] 1051[SRCategory(nameof(SR.CatAppearance))] 1052[SRDescription(nameof(SR.ToolStripItemAddedDescr))] 1062[SRCategory(nameof(SR.CatAction))] 1063[SRDescription(nameof(SR.ToolStripItemOnClickDescr))] 1094[SRCategory(nameof(SR.CatAppearance))] 1095[SRDescription(nameof(SR.ToolStripItemRemovedDescr))] 1170[SRDescription(nameof(SR.ToolStripLayoutStyle))] 1171[SRCategory(nameof(SR.CatLayout))] 1258[SRCategory(nameof(SR.CatAppearance))] 1259[SRDescription(nameof(SR.ToolStripLayoutCompleteDescr))] 1268[SRCategory(nameof(SR.CatAppearance))] 1269[SRDescription(nameof(SR.ToolStripLayoutStyleChangedDescr))] 1381[SRCategory(nameof(SR.CatAppearance))] 1382[SRDescription(nameof(SR.ToolStripPaintGripDescr))] 1457[SRCategory(nameof(SR.CatLayout))] 1458[SRDescription(nameof(SR.ToolStripStretchDescr))] 1540[SRDescription(nameof(SR.ToolStripRenderModeDescr))] 1541[SRCategory(nameof(SR.CatAppearance))] 1570throw new NotSupportedException(SR.ToolStripRenderModeUseRendererPropertyInstead); 1603[SRDescription(nameof(SR.ToolStripShowItemToolTipsDescr))] 1604[SRCategory(nameof(SR.CatBehavior))] 1659[SRCategory(nameof(SR.CatBehavior))] 1662[SRDescription(nameof(SR.ControlTabStopDescr))] 1686[SRDescription(nameof(SR.ToolStripTextDirectionDescr))] 1687[SRCategory(nameof(SR.CatAppearance))] 4072throw 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))] 717throw new InvalidOperationException(SR.ToolStripShowDropDownInvalidOperation);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (4)
164[SRDescription(nameof(SR.ToolStripDropDownMenuShowImageMarginDescr))] 165[SRCategory(nameof(SR.CatAppearance))] 181[SRDescription(nameof(SR.ToolStripDropDownMenuShowCheckMarginDescr))] 182[SRCategory(nameof(SR.CatAppearance))]
System\Windows\Forms\Controls\ToolStrips\ToolStripDropTargetManager.cs (2)
172throw new ThreadStateException(SR.ThreadMustBeSTA); 184throw new InvalidOperationException(SR.DragDropRegFailed, e);
System\Windows\Forms\Controls\ToolStrips\ToolStripGrip.ToolStripGripAccessibleObject.cs (1)
18public override string Name => Owner.AccessibleName ?? SR.ToolStripGripAccessibleName;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (138)
190[SRDescription(nameof(SR.ToolStripItemAccessibilityObjectDescr))] 207[SRCategory(nameof(SR.CatAccessibility))] 211[SRDescription(nameof(SR.ToolStripItemAccessibleDefaultActionDescr))] 225[SRCategory(nameof(SR.CatAccessibility))] 228[SRDescription(nameof(SR.ToolStripItemAccessibleDescriptionDescr))] 242[SRCategory(nameof(SR.CatAccessibility))] 245[SRDescription(nameof(SR.ToolStripItemAccessibleNameDescr))] 259[SRCategory(nameof(SR.CatAccessibility))] 261[SRDescription(nameof(SR.ToolStripItemAccessibleRoleDescr))] 277[SRCategory(nameof(SR.CatLayout))] 278[SRDescription(nameof(SR.ToolStripItemAlignmentDescr))] 305[SRCategory(nameof(SR.CatDragDrop))] 307[SRDescription(nameof(SR.ToolStripItemAllowDropDescr))] 327[SRCategory(nameof(SR.CatBehavior))] 330[SRDescription(nameof(SR.ToolStripItemAutoSizeDescr))] 351[SRDescription(nameof(SR.ToolStripItemAutoToolTipDescr))] 352[SRCategory(nameof(SR.CatBehavior))] 364[SRDescription(nameof(SR.ToolStripItemAvailableDescr))] 373[SRCategory(nameof(SR.CatPropertyChanged))] 374[SRDescription(nameof(SR.ToolStripItemOnAvailableChangedDescr))] 385[SRCategory(nameof(SR.CatAppearance))] 386[SRDescription(nameof(SR.ToolStripItemImageDescr))] 407[SRCategory(nameof(SR.CatData))] 408[SRDescription(nameof(SR.CommandComponentCommandDescr))] 419[SRCategory(nameof(SR.CatData))] 421[SRDescription(nameof(SR.CommandCanExecuteChangedEventDescr))] 431[SRCategory(nameof(SR.CatData))] 433[SRDescription(nameof(SR.CommandChangedEventDescr))] 445[SRCategory(nameof(SR.CatData))] 446[SRDescription(nameof(SR.CommandComponentCommandParameterDescr))] 471[SRCategory(nameof(SR.CatData))] 473[SRDescription(nameof(SR.CommandParameterChangedEventDescr))] 488[SRCategory(nameof(SR.CatAppearance))] 491[SRDescription(nameof(SR.ControlBackgroundImageLayoutDescr))] 508[SRCategory(nameof(SR.CatAppearance))] 509[SRDescription(nameof(SR.ToolStripItemBackColorDescr))] 539[SRCategory(nameof(SR.CatPropertyChanged))] 540[SRDescription(nameof(SR.ToolStripItemOnBackColorChangedDescr))] 591[SRCategory(nameof(SR.CatAction))] 592[SRDescription(nameof(SR.ToolStripItemOnClickDescr))] 701[SRCategory(nameof(SR.CatAppearance))] 702[SRDescription(nameof(SR.ToolStripItemDisplayStyleDescr))] 737[SRCategory(nameof(SR.CatAction))] 738[SRDescription(nameof(SR.ControlOnDoubleClickDescr))] 746[SRCategory(nameof(SR.CatBehavior))] 747[SRDescription(nameof(SR.ToolStripItemDoubleClickedEnabledDescr))] 754[SRCategory(nameof(SR.CatDragDrop))] 755[SRDescription(nameof(SR.ToolStripItemOnDragDropDescr))] 764[SRCategory(nameof(SR.CatDragDrop))] 765[SRDescription(nameof(SR.ToolStripItemOnDragEnterDescr))] 774[SRCategory(nameof(SR.CatDragDrop))] 775[SRDescription(nameof(SR.ToolStripItemOnDragOverDescr))] 784[SRCategory(nameof(SR.CatDragDrop))] 785[SRDescription(nameof(SR.ToolStripItemOnDragLeaveDescr))] 797[SRCategory(nameof(SR.CatBehavior))] 799[SRDescription(nameof(SR.ToolStripItemEnabledDescr))] 840[SRDescription(nameof(SR.ToolStripItemEnabledChangedDescr))] 862[SRCategory(nameof(SR.CatAppearance))] 863[SRDescription(nameof(SR.ToolStripItemForeColorDescr))] 893[SRCategory(nameof(SR.CatPropertyChanged))] 894[SRDescription(nameof(SR.ToolStripItemOnForeColorChangedDescr))] 905[SRCategory(nameof(SR.CatAppearance))] 907[SRDescription(nameof(SR.ToolStripItemFontDescr))] 935[SRCategory(nameof(SR.CatDragDrop))] 936[SRDescription(nameof(SR.ToolStripItemOnGiveFeedbackDescr))] 948[SRCategory(nameof(SR.CatLayout))] 1003[SRCategory(nameof(SR.CatAppearance))] 1004[SRDescription(nameof(SR.ToolStripItemImageAlignDescr))] 1024[SRCategory(nameof(SR.CatAppearance))] 1025[SRDescription(nameof(SR.ToolStripItemImageDescr))] 1081[SRCategory(nameof(SR.CatAppearance))] 1082[SRDescription(nameof(SR.ToolStripItemImageTransparentColorDescr))] 1110[SRDescription(nameof(SR.ToolStripItemImageIndexDescr))] 1112[SRCategory(nameof(SR.CatBehavior))] 1151[SRDescription(nameof(SR.ToolStripItemImageKeyDescr))] 1152[SRCategory(nameof(SR.CatBehavior))] 1172[SRCategory(nameof(SR.CatAppearance))] 1175[SRDescription(nameof(SR.ToolStripItemImageScalingDescr))] 1255[SRCategory(nameof(SR.CatLayout))] 1256[SRDescription(nameof(SR.ToolStripItemOnLocationChangedDescr))] 1266[SRDescription(nameof(SR.ToolStripItemMarginDescr))] 1267[SRCategory(nameof(SR.CatLayout))] 1284[SRDescription(nameof(SR.ToolStripMergeActionDescr))] 1286[SRCategory(nameof(SR.CatLayout))] 1300[SRDescription(nameof(SR.ToolStripMergeIndexDescr))] 1302[SRCategory(nameof(SR.CatLayout))] 1319[SRCategory(nameof(SR.CatMouse))] 1320[SRDescription(nameof(SR.ToolStripItemOnMouseDownDescr))] 1330[SRCategory(nameof(SR.CatMouse))] 1331[SRDescription(nameof(SR.ToolStripItemOnMouseEnterDescr))] 1341[SRCategory(nameof(SR.CatMouse))] 1342[SRDescription(nameof(SR.ToolStripItemOnMouseLeaveDescr))] 1352[SRCategory(nameof(SR.CatMouse))] 1353[SRDescription(nameof(SR.ToolStripItemOnMouseHoverDescr))] 1363[SRCategory(nameof(SR.CatMouse))] 1364[SRDescription(nameof(SR.ToolStripItemOnMouseMoveDescr))] 1374[SRCategory(nameof(SR.CatMouse))] 1375[SRDescription(nameof(SR.ToolStripItemOnMouseUpDescr))] 1454[SRCategory(nameof(SR.CatBehavior))] 1455[SRDescription(nameof(SR.ToolStripItemOwnerChangedDescr))] 1462[SRCategory(nameof(SR.CatAppearance))] 1463[SRDescription(nameof(SR.ToolStripItemOnPaintDescr))] 1491[SRDescription(nameof(SR.ToolStripItemOverflowDescr))] 1492[SRCategory(nameof(SR.CatLayout))] 1514[SRDescription(nameof(SR.ToolStripItemPaddingDescr))] 1515[SRCategory(nameof(SR.CatLayout))] 1593[SRCategory(nameof(SR.CatDragDrop))] 1594[SRDescription(nameof(SR.ToolStripItemOnQueryContinueDragDescr))] 1603[SRCategory(nameof(SR.CatBehavior))] 1604[SRDescription(nameof(SR.ToolStripItemOnQueryAccessibilityHelpDescr))] 1637[SRCategory(nameof(SR.CatAppearance))] 1639[SRDescription(nameof(SR.ToolStripItemRightToLeftDescr))] 1694[SRCategory(nameof(SR.CatAppearance))] 1696[SRDescription(nameof(SR.ToolStripItemRightToLeftAutoMirrorImageDescr))] 1736[SRCategory(nameof(SR.CatPropertyChanged))] 1737[SRDescription(nameof(SR.ToolStripItemOnRightToLeftChangedDescr))] 1784[SRDescription(nameof(SR.ToolStripItemSelectedChangedDescr))] 1804[SRCategory(nameof(SR.CatLayout))] 1806[SRDescription(nameof(SR.ToolStripItemSizeDescr))] 1843[SRCategory(nameof(SR.CatData))] 1846[SRDescription(nameof(SR.ToolStripItemTagDescr))] 1858[SRCategory(nameof(SR.CatAppearance))] 1860[SRDescription(nameof(SR.ToolStripItemTextDescr))] 1878[SRCategory(nameof(SR.CatAppearance))] 1879[SRDescription(nameof(SR.ToolStripItemTextAlignDescr))] 1895[SRCategory(nameof(SR.CatPropertyChanged))] 1896[SRDescription(nameof(SR.ToolStripItemOnTextChangedDescr))] 1903[SRDescription(nameof(SR.ToolStripTextDirectionDescr))] 1904[SRCategory(nameof(SR.CatAppearance))] 1936[SRDescription(nameof(SR.ToolStripItemTextImageRelationDescr))] 1937[SRCategory(nameof(SR.CatAppearance))] 1957[SRDescription(nameof(SR.ToolStripItemToolTipTextDescr))] 1958[SRCategory(nameof(SR.CatBehavior))] 1985[SRCategory(nameof(SR.CatBehavior))] 1987[SRDescription(nameof(SR.ToolStripItemVisibleDescr))] 1994[SRCategory(nameof(SR.CatPropertyChanged))] 1995[SRDescription(nameof(SR.ToolStripItemOnVisibleChangedDescr))] 2005[SRCategory(nameof(SR.CatLayout))]
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (1)
40return SR.AccessibleActionPress;
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (10)
121throw new NotSupportedException(SR.ToolStripItemCollectionIsReadOnly); 141throw new NotSupportedException(SR.ToolStripItemCollectionIsReadOnly); 174throw new NotSupportedException(SR.ToolStripItemCollectionIsReadOnly); 223throw new NotSupportedException(SR.ToolStripItemCollectionIsReadOnly); 233throw new NotSupportedException(SR.ToolStripItemCircularReference); 244key.ThrowIfNullOrEmptyWithMessage(SR.FindKeyMayNotBeEmptyOrNull); 309set { throw new NotSupportedException(SR.ToolStripCollectionMustInsertAndRemove); /* InnerList[index] = value; */ } 417throw new NotSupportedException(SR.ToolStripItemCollectionIsReadOnly); 432throw new NotSupportedException(SR.ToolStripItemCollectionIsReadOnly); 450throw new NotSupportedException(SR.ToolStripItemCollectionIsReadOnly);
System\Windows\Forms\Controls\ToolStrips\ToolStripLabel.cs (12)
71[SRCategory(nameof(SR.CatBehavior))] 72[SRDescription(nameof(SR.ToolStripLabelIsLinkDescr))] 89[SRCategory(nameof(SR.CatAppearance))] 90[SRDescription(nameof(SR.ToolStripLabelActiveLinkColorDescr))] 139[SRCategory(nameof(SR.CatBehavior))] 140[SRDescription(nameof(SR.ToolStripLabelLinkBehaviorDescr))] 160[SRCategory(nameof(SR.CatAppearance))] 161[SRDescription(nameof(SR.ToolStripLabelLinkColorDescr))] 186[SRCategory(nameof(SR.CatAppearance))] 187[SRDescription(nameof(SR.ToolStripLabelLinkVisitedDescr))] 204[SRCategory(nameof(SR.CatAppearance))] 205[SRDescription(nameof(SR.ToolStripLabelVisitedLinkColorDescr))]
System\Windows\Forms\Controls\ToolStrips\ToolStripLabel.ToolStripLabelAccessibleObject.cs (1)
17public override string DefaultAction => _owningToolStripLabel.IsLink ? SR.AccessibleActionClick : string.Empty;
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (3)
522throw new NotSupportedException(SR.ToolStripRenderModeUseRendererPropertyInstead); 1075throw new ArgumentException(SR.ToolStripMergeImpossibleIdentical); 1259throw new ArgumentException(SR.ToolStripMergeImpossibleIdentical);
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (14)
250[SRCategory(nameof(SR.CatAppearance))] 252[SRDescription(nameof(SR.CheckBoxCheckedDescr))] 284[SRCategory(nameof(SR.CatBehavior))] 285[SRDescription(nameof(SR.ToolStripButtonCheckOnClickDescr))] 296[SRCategory(nameof(SR.CatAppearance))] 299[SRDescription(nameof(SR.CheckBoxCheckStateDescr))] 320[SRDescription(nameof(SR.CheckBoxOnCheckedChangedDescr))] 330[SRDescription(nameof(SR.CheckBoxOnCheckStateChangedDescr))] 342[SRDescription(nameof(SR.ToolStripItemOverflowDescr))] 343[SRCategory(nameof(SR.CatLayout))] 356[SRDescription(nameof(SR.MenuItemShortCutDescr))] 408[SRDescription(nameof(SR.ToolStripMenuItemShortcutKeyDisplayStringDescr))] 409[SRCategory(nameof(SR.CatAppearance))] 446[SRDescription(nameof(SR.MenuItemShowShortCutDescr))]
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.ToolStripMenuItemAccessibleObject.cs (1)
120?? (_owningToolStripMenuItem.CheckOnClick ? SR.AccessibleActionCheck : base.DefaultAction);
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflowButton.ToolStripOverflowButtonAccessibleObject.cs (1)
20public override string Name => Owner.AccessibleName ?? SR.ToolStripOptions;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (6)
242[SRDescription(nameof(SR.ToolStripRenderModeDescr))] 243[SRCategory(nameof(SR.CatAppearance))] 256[SRCategory(nameof(SR.CatAppearance))] 257[SRDescription(nameof(SR.ToolStripRendererChanged))] 269[SRDescription(nameof(SR.ToolStripPanelRowsDescr))] 285[SRDescription(nameof(SR.ToolStripPanelRowsDescr))]
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelRowCollection.cs (1)
124set { throw new NotSupportedException(SR.ToolStripCollectionMustInsertAndRemove); /* InnerList[index] = value; */ }
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelCell.cs (1)
52throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, string.Format(SR.TypedControlCollectionShouldBeOfType, nameof(ToolStrip))), control.GetType().Name);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (2)
71[SRDescription(nameof(SR.ControlControlsDescr))] 87[SRDescription(nameof(SR.ControlControlsDescr))]
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowControlCollection.cs (3)
78throw new NotSupportedException(string.Format(SR.TypedControlCollectionShouldBeOfType, nameof(ToolStrip))); 210throw new NotSupportedException(string.Format(SR.TypedControlCollectionShouldBeOfType, nameof(ToolStrip))); 290throw new ArgumentException(SR.ToolStripPanelRowControlCollectionIncorrectIndexLength);
System\Windows\Forms\Controls\ToolStrips\ToolStripProgressBar.cs (16)
99[SRCategory(nameof(SR.CatBehavior))] 100[SRDescription(nameof(SR.ProgressBarMarqueeAnimationSpeed))] 108[SRCategory(nameof(SR.CatBehavior))] 110[SRDescription(nameof(SR.ProgressBarMaximumDescr))] 124[SRCategory(nameof(SR.CatBehavior))] 126[SRDescription(nameof(SR.ProgressBarMinimumDescr))] 144[SRCategory(nameof(SR.CatAppearance))] 147[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 166[SRCategory(nameof(SR.CatBehavior))] 167[SRDescription(nameof(SR.ProgressBarStepDescr))] 185[SRCategory(nameof(SR.CatBehavior))] 186[SRDescription(nameof(SR.ProgressBarStyleDescr))] 223[SRCategory(nameof(SR.CatBehavior))] 225[SRDescription(nameof(SR.ProgressBarValueDescr))] 327[SRCategory(nameof(SR.CatPropertyChanged))] 328[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))]
System\Windows\Forms\Controls\ToolStrips\ToolStripRendererSwitcher.cs (1)
108throw new NotSupportedException(SR.ToolStripRenderModeUseRendererPropertyInstead);
System\Windows\Forms\Controls\ToolStrips\ToolStripScrollButton.StickyLabelAccessibleObject.cs (3)
47? SR.ToolStripScrollButtonUpAccessibleName 48: SR.ToolStripScrollButtonDownAccessibleName; 52public override string? DefaultAction => SR.AccessibleActionPress;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (10)
114[SRCategory(nameof(SR.CatAction))] 115[SRDescription(nameof(SR.ToolStripSplitButtonOnButtonClickDescr))] 125[SRCategory(nameof(SR.CatAction))] 126[SRDescription(nameof(SR.ToolStripSplitButtonOnButtonDoubleClickDescr))] 162[SRCategory(nameof(SR.CatAction))] 163[SRDescription(nameof(SR.ToolStripSplitButtonOnDefaultItemChangedDescr))] 186[SRCategory(nameof(SR.CatLayout))] 187[SRDescription(nameof(SR.ToolStripSplitButtonDropDownButtonWidthDescr))] 260[SRDescription(nameof(SR.ToolStripSplitButtonSplitterWidthDescr))] 261[SRCategory(nameof(SR.CatLayout))]
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (2)
158throw new NotSupportedException(SR.ToolStripSplitStackLayoutContainerMustBeAToolStrip); 184throw new NotSupportedException(SR.ToolStripSplitStackLayoutContainerMustBeAToolStrip);
System\Windows\Forms\Controls\ToolStrips\ToolStripStatusLabel.cs (8)
84[SRDescription(nameof(SR.ToolStripStatusLabelBorderStyleDescr))] 85[SRCategory(nameof(SR.CatAppearance))] 105[SRDescription(nameof(SR.ToolStripStatusLabelBorderSidesDescr))] 106[SRCategory(nameof(SR.CatAppearance))] 128[SRDescription(nameof(SR.ToolStripStatusLabelSpringDescr))] 129[SRCategory(nameof(SR.CatAppearance))] 150[SRCategory(nameof(SR.CatAccessibility))] 152[SRDescription(nameof(SR.LiveRegionAutomationLiveSettingDescr))]
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.cs (52)
50throw new NotSupportedException(SR.ToolStripMustSupplyItsOwnTextBox); 162[SRCategory(nameof(SR.CatBehavior))] 164[SRDescription(nameof(SR.TextBoxAcceptsTabDescr))] 171[SRCategory(nameof(SR.CatBehavior))] 173[SRDescription(nameof(SR.TextBoxAcceptsReturnDescr))] 182[SRDescription(nameof(SR.TextBoxAutoCompleteCustomSourceDescr))] 194[SRDescription(nameof(SR.TextBoxAutoCompleteModeDescr))] 204[SRDescription(nameof(SR.TextBoxAutoCompleteSourceDescr))] 213[SRCategory(nameof(SR.CatAppearance))] 216[SRDescription(nameof(SR.TextBoxBorderDescr))] 223[SRCategory(nameof(SR.CatBehavior))] 226[SRDescription(nameof(SR.TextBoxCanUndoDescr))] 232[SRCategory(nameof(SR.CatBehavior))] 234[SRDescription(nameof(SR.TextBoxCharacterCasingDescr))] 241[SRCategory(nameof(SR.CatBehavior))] 243[SRDescription(nameof(SR.TextBoxHideSelectionDescr))] 250[SRCategory(nameof(SR.CatAppearance))] 253[SRDescription(nameof(SR.TextBoxLinesDescr))] 262[SRCategory(nameof(SR.CatBehavior))] 265[SRDescription(nameof(SR.TextBoxMaxLengthDescr))] 272[SRCategory(nameof(SR.CatBehavior))] 275[SRDescription(nameof(SR.TextBoxModifiedDescr))] 282[SRCategory(nameof(SR.CatBehavior))] 285[SRDescription(nameof(SR.TextBoxMultilineDescr))] 295[SRCategory(nameof(SR.CatBehavior))] 297[SRDescription(nameof(SR.TextBoxReadOnlyDescr))] 304[SRCategory(nameof(SR.CatAppearance))] 307[SRDescription(nameof(SR.TextBoxSelectedTextDescr))] 315[SRCategory(nameof(SR.CatAppearance))] 318[SRDescription(nameof(SR.TextBoxSelectionLengthDescr))] 325[SRCategory(nameof(SR.CatAppearance))] 328[SRDescription(nameof(SR.TextBoxSelectionStartDescr))] 335[SRCategory(nameof(SR.CatBehavior))] 337[SRDescription(nameof(SR.TextBoxShortcutsEnabledDescr))] 351[SRCategory(nameof(SR.CatAppearance))] 353[SRDescription(nameof(SR.TextBoxTextAlignDescr))] 360[SRCategory(nameof(SR.CatBehavior))] 363[SRDescription(nameof(SR.TextBoxWordWrapDescr))] 375[SRCategory(nameof(SR.CatPropertyChanged))] 376[SRDescription(nameof(SR.TextBoxBaseOnAcceptsTabChangedDescr))] 383[SRCategory(nameof(SR.CatPropertyChanged))] 384[SRDescription(nameof(SR.TextBoxBaseOnBorderStyleChangedDescr))] 391[SRCategory(nameof(SR.CatPropertyChanged))] 392[SRDescription(nameof(SR.TextBoxBaseOnHideSelectionChangedDescr))] 399[SRCategory(nameof(SR.CatPropertyChanged))] 400[SRDescription(nameof(SR.TextBoxBaseOnModifiedChangedDescr))] 407[SRCategory(nameof(SR.CatPropertyChanged))] 408[SRDescription(nameof(SR.TextBoxBaseOnMultilineChangedDescr))] 417[SRCategory(nameof(SR.CatPropertyChanged))] 418[SRDescription(nameof(SR.TextBoxBaseOnReadOnlyChangedDescr))] 425[SRCategory(nameof(SR.CatPropertyChanged))] 426[SRDescription(nameof(SR.ToolStripTextBoxTextBoxTextAlignChangedDescr))]
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (32)
23[SRDescription(nameof(SR.DescriptionTrackBar))] 66[SRCategory(nameof(SR.CatBehavior))] 68[SRDescription(nameof(SR.TrackBarAutoSizeDescr))] 101[SRCategory(nameof(SR.CatPropertyChanged))] 102[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 272[SRCategory(nameof(SR.CatBehavior))] 274[SRDescription(nameof(SR.TrackBarLargeChangeDescr))] 282throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.TrackBarLargeChangeError, value)); 301[SRCategory(nameof(SR.CatBehavior))] 304[SRDescription(nameof(SR.TrackBarMaximumDescr))] 327[SRCategory(nameof(SR.CatBehavior))] 330[SRDescription(nameof(SR.TrackBarMinimumDescr))] 355[SRCategory(nameof(SR.CatAppearance))] 358[SRDescription(nameof(SR.TrackBarOrientationDescr))] 447[SRCategory(nameof(SR.CatAppearance))] 450[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 475[SRCategory(nameof(SR.CatBehavior))] 477[SRDescription(nameof(SR.TrackBarSmallChangeDescr))] 485throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.TrackBarSmallChangeError, value)); 527[SRCategory(nameof(SR.CatAppearance))] 529[SRDescription(nameof(SR.TrackBarTickStyleDescr))] 557[SRCategory(nameof(SR.CatAppearance))] 559[SRDescription(nameof(SR.TrackBarTickFrequencyDescr))] 599[SRCategory(nameof(SR.CatBehavior))] 602[SRDescription(nameof(SR.TrackBarValueDescr))] 619throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(Minimum)}'", $"'${nameof(Maximum)}'")); 660[SRCategory(nameof(SR.CatPropertyChanged))] 661[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))] 668[SRCategory(nameof(SR.CatBehavior))] 669[SRDescription(nameof(SR.TrackBarOnScrollDescr))] 684[SRCategory(nameof(SR.CatAction))] 685[SRDescription(nameof(SR.valueChangedEventDescr))]
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarFirstButtonAccessibleObject.cs (3)
15public override string DefaultAction => SR.AccessibleActionPress; 24? SR.TrackBarLargeDecreaseButtonName 25: SR.TrackBarLargeIncreaseButtonName;
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarLastButtonAccessibleObject.cs (3)
15public override string DefaultAction => SR.AccessibleActionPress; 24? SR.TrackBarLargeIncreaseButtonName 25: SR.TrackBarLargeDecreaseButtonName;
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarThumbAccessibleObject.cs (1)
16public override string? Name => SR.TrackBarPositionButtonName;
System\Windows\Forms\Controls\TreeView\TreeNode.cs (36)
175[SRCategory(nameof(SR.CatAppearance))] 176[SRDescription(nameof(SR.TreeNodeBackColorDescr))] 320[SRCategory(nameof(SR.CatBehavior))] 321[SRDescription(nameof(SR.TreeNodeCheckedDescr))] 368[SRCategory(nameof(SR.CatBehavior))] 370[SRDescription(nameof(SR.ControlContextMenuDescr))] 402[SRCategory(nameof(SR.CatAppearance))] 403[SRDescription(nameof(SR.TreeNodeForeColorDescr))] 467throw new InvalidOperationException(SR.TreeNodeNoParent); 498[SRCategory(nameof(SR.CatBehavior))] 499[SRDescription(nameof(SR.TreeNodeImageIndexDescr))] 541[SRCategory(nameof(SR.CatBehavior))] 542[SRDescription(nameof(SR.TreeNodeImageKeyDescr))] 567[SRCategory(nameof(SR.CatBehavior))] 568[SRDescription(nameof(SR.TreeNodeIndexDescr))] 726[SRCategory(nameof(SR.CatAppearance))] 727[SRDescription(nameof(SR.TreeNodeNodeFontDescr))] 881[SRCategory(nameof(SR.CatBehavior))] 882[SRDescription(nameof(SR.TreeNodeSelectedImageIndexDescr))] 924[SRCategory(nameof(SR.CatBehavior))] 925[SRDescription(nameof(SR.TreeNodeSelectedImageKeyDescr))] 981[SRCategory(nameof(SR.CatBehavior))] 982[SRDescription(nameof(SR.TreeNodeStateImageKeyDescr))] 1010[SRCategory(nameof(SR.CatBehavior))] 1011[SRDescription(nameof(SR.TreeNodeStateImageIndexDescr))] 1047[SRCategory(nameof(SR.CatData))] 1050[SRDescription(nameof(SR.ControlTagDescr))] 1063[SRCategory(nameof(SR.CatAppearance))] 1064[SRDescription(nameof(SR.TreeNodeTextDescr))] 1080[SRCategory(nameof(SR.CatAppearance))] 1081[SRDescription(nameof(SR.TreeNodeToolTipTextDescr))] 1092[SRCategory(nameof(SR.CatAppearance))] 1093[SRDescription(nameof(SR.TreeNodeNodeNameDescr))] 1282throw new InvalidOperationException(SR.TreeNodeBeginEditFailed); 1774throw new ArgumentException(SR.TreeNodeCircularReference); 1828throw new InvalidOperationException(SR.InvalidCrossThreadControlCall);
System\Windows\Forms\Controls\TreeView\TreeNode.TreeNodeAccessibleObject.cs (4)
43? SR.AccessibleActionUncheck 44: SR.AccessibleActionCheck; 54? SR.AccessibleActionCollapse 55: SR.AccessibleActionExpand;
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (7)
50throw new ArgumentException(string.Format(SR.TreeNodeBoundToAnotherTreeView), nameof(value)); 55throw new ArgumentException(string.Format(SR.OnlyOneControl, value.Text), nameof(value)); 81throw new ArgumentException(SR.TreeNodeCollectionBadTreeNode, nameof(value)); 242key.ThrowIfNullOrEmptyWithMessage(SR.FindKeyMayNotBeEmptyOrNull); 302throw new ArgumentException(string.Format(SR.OnlyOneControl, node.Text), nameof(node)); 438throw new ArgumentException(string.Format(SR.OnlyOneControl, node.Text), nameof(node)); 482throw new ArgumentException(SR.TreeNodeCollectionBadTreeNode, nameof(node));
System\Windows\Forms\Controls\TreeView\TreeView.cs (93)
26[SRDescription(nameof(SR.DescriptionTreeView))] 246[SRCategory(nameof(SR.CatAppearance))] 249[SRDescription(nameof(SR.borderStyleDescr))] 270[SRCategory(nameof(SR.CatAppearance))] 272[SRDescription(nameof(SR.TreeViewCheckBoxesDescr))] 455[SRCategory(nameof(SR.CatBehavior))] 457[SRDescription(nameof(SR.TreeViewFullRowSelectDescr))] 478[SRCategory(nameof(SR.CatBehavior))] 480[SRDescription(nameof(SR.TreeViewHideSelectionDescr))] 502[SRCategory(nameof(SR.CatBehavior))] 504[SRDescription(nameof(SR.TreeViewHotTrackingDescr))] 525[SRCategory(nameof(SR.CatBehavior))] 530[SRDescription(nameof(SR.TreeViewImageIndexDescr))] 575[SRCategory(nameof(SR.CatBehavior))] 581[SRDescription(nameof(SR.TreeViewImageKeyDescr))] 592if (string.IsNullOrEmpty(value) || value.Equals(SR.toStringNone)) 608[SRCategory(nameof(SR.CatBehavior))] 610[SRDescription(nameof(SR.TreeViewImageListDescr))] 685[SRCategory(nameof(SR.CatBehavior))] 687[SRDescription(nameof(SR.TreeViewStateImageListDescr))] 729[SRCategory(nameof(SR.CatBehavior))] 730[SRDescription(nameof(SR.TreeViewIndentDescr))] 766[SRCategory(nameof(SR.CatAppearance))] 767[SRDescription(nameof(SR.TreeViewItemHeightDescr))] 827[SRCategory(nameof(SR.CatBehavior))] 829[SRDescription(nameof(SR.TreeViewLabelEditDescr))] 849[SRCategory(nameof(SR.CatBehavior))] 850[SRDescription(nameof(SR.TreeViewLineColorDescr))] 880[SRCategory(nameof(SR.CatBehavior))] 883[SRDescription(nameof(SR.TreeViewNodesDescr))] 898[SRCategory(nameof(SR.CatBehavior))] 900[SRDescription(nameof(SR.TreeViewDrawModeDescr))] 925[SRCategory(nameof(SR.CatBehavior))] 927[SRDescription(nameof(SR.TreeViewPathSeparatorDescr))] 956[SRCategory(nameof(SR.CatAppearance))] 959[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 976[SRCategory(nameof(SR.CatBehavior))] 978[SRDescription(nameof(SR.TreeViewScrollableDescr))] 997[SRCategory(nameof(SR.CatBehavior))] 1001[SRDescription(nameof(SR.TreeViewSelectedImageIndexDescr))] 1046[SRCategory(nameof(SR.CatBehavior))] 1052[SRDescription(nameof(SR.TreeViewSelectedImageKeyDescr))] 1064if (string.IsNullOrEmpty(value) || value.Equals(SR.toStringNone)) 1080[SRCategory(nameof(SR.CatAppearance))] 1083[SRDescription(nameof(SR.TreeViewSelectedNodeDescr))] 1131[SRCategory(nameof(SR.CatBehavior))] 1133[SRDescription(nameof(SR.TreeViewShowLinesDescr))] 1153[SRCategory(nameof(SR.CatBehavior))] 1155[SRDescription(nameof(SR.TreeViewShowShowNodeToolTipsDescr))] 1176[SRCategory(nameof(SR.CatBehavior))] 1178[SRDescription(nameof(SR.TreeViewShowPlusMinusDescr))] 1199[SRCategory(nameof(SR.CatBehavior))] 1201[SRDescription(nameof(SR.TreeViewShowRootLinesDescr))] 1221[SRCategory(nameof(SR.CatBehavior))] 1223[SRDescription(nameof(SR.TreeViewSortedDescr))] 1245[SRCategory(nameof(SR.CatBehavior))] 1248[SRDescription(nameof(SR.TreeViewNodeSorterDescr))] 1293[SRCategory(nameof(SR.CatAppearance))] 1296[SRDescription(nameof(SR.TreeViewTopNodeDescr))] 1335[SRCategory(nameof(SR.CatAppearance))] 1338[SRDescription(nameof(SR.TreeViewVisibleCountDescr))] 1341[SRCategory(nameof(SR.CatBehavior))] 1342[SRDescription(nameof(SR.TreeViewBeforeEditDescr))] 1349[SRCategory(nameof(SR.CatBehavior))] 1350[SRDescription(nameof(SR.TreeViewAfterEditDescr))] 1357[SRCategory(nameof(SR.CatBehavior))] 1358[SRDescription(nameof(SR.TreeViewBeforeCheckDescr))] 1365[SRCategory(nameof(SR.CatBehavior))] 1366[SRDescription(nameof(SR.TreeViewAfterCheckDescr))] 1373[SRCategory(nameof(SR.CatBehavior))] 1374[SRDescription(nameof(SR.TreeViewBeforeCollapseDescr))] 1381[SRCategory(nameof(SR.CatBehavior))] 1382[SRDescription(nameof(SR.TreeViewAfterCollapseDescr))] 1389[SRCategory(nameof(SR.CatBehavior))] 1390[SRDescription(nameof(SR.TreeViewBeforeExpandDescr))] 1397[SRCategory(nameof(SR.CatBehavior))] 1398[SRDescription(nameof(SR.TreeViewAfterExpandDescr))] 1408[SRCategory(nameof(SR.CatBehavior))] 1409[SRDescription(nameof(SR.TreeViewDrawNodeEventDescr))] 1416[SRCategory(nameof(SR.CatAction))] 1417[SRDescription(nameof(SR.ListViewItemDragDescr))] 1424[SRCategory(nameof(SR.CatAction))] 1425[SRDescription(nameof(SR.TreeViewNodeMouseHoverDescr))] 1432[SRCategory(nameof(SR.CatBehavior))] 1433[SRDescription(nameof(SR.TreeViewBeforeSelectDescr))] 1440[SRCategory(nameof(SR.CatBehavior))] 1441[SRDescription(nameof(SR.TreeViewAfterSelectDescr))] 1460[SRCategory(nameof(SR.CatBehavior))] 1461[SRDescription(nameof(SR.TreeViewNodeMouseClickDescr))] 1468[SRCategory(nameof(SR.CatBehavior))] 1469[SRDescription(nameof(SR.TreeViewNodeMouseDoubleClickDescr))] 1476[SRCategory(nameof(SR.CatPropertyChanged))] 1477[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))]
System\Windows\Forms\Controls\TreeView\TreeViewImageIndexConverter.cs (4)
30if (string.Compare(strValue, SR.toStringDefault, true, culture) == 0) 34else if (string.Compare(strValue, SR.toStringNone, true, culture) == 0) 58return SR.toStringDefault; 62return SR.toStringNone;
System\Windows\Forms\Controls\TreeView\TreeViewImageKeyConverter.cs (2)
28return SR.toStringDefault; 34return SR.toStringDefault;
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (12)
19[SRDescription(nameof(SR.DescriptionDomainUpDown))] 53[SRCategory(nameof(SR.CatData))] 55[SRDescription(nameof(SR.DomainUpDownItemsDescr))] 88[SRCategory(nameof(SR.CatAppearance))] 89[SRDescription(nameof(SR.DomainUpDownSelectedIndexDescr))] 123[SRDescription(nameof(SR.DomainUpDownSelectedItemDescr))] 156[SRCategory(nameof(SR.CatBehavior))] 158[SRDescription(nameof(SR.DomainUpDownSortedDescr))] 182[SRCategory(nameof(SR.CatBehavior))] 185[SRDescription(nameof(SR.DomainUpDownWrapDescr))] 192[SRCategory(nameof(SR.CatBehavior))] 193[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))] 279[SRCategory(nameof(SR.CatData))] 282[SRDescription(nameof(SR.NumericUpDownThousandsSeparatorDescr))] 301[SRCategory(nameof(SR.CatAppearance))] 303[SRDescription(nameof(SR.NumericUpDownValueDescr))] 322throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(Minimum)}'", $"'{nameof(Maximum)}'")); 339[SRCategory(nameof(SR.CatAction))] 340[SRDescription(nameof(SR.NumericUpDownOnValueChangedDescr))]
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (15)
129[SRCategory(nameof(SR.CatPropertyChanged))] 130[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 191[SRCategory(nameof(SR.CatAppearance))] 194[SRDescription(nameof(SR.UpDownBaseBorderStyleDescr))] 280[SRDescription(nameof(SR.ControlFocusedDescr))] 300[SRCategory(nameof(SR.CatBehavior))] 302[SRDescription(nameof(SR.UpDownBaseInterceptArrowKeysDescr))] 352[SRCategory(nameof(SR.CatLayout))] 356[SRDescription(nameof(SR.UpDownBasePreferredHeightDescr))] 400[SRCategory(nameof(SR.CatBehavior))] 402[SRDescription(nameof(SR.UpDownBaseReadOnlyDescr))] 442[SRCategory(nameof(SR.CatAppearance))] 444[SRDescription(nameof(SR.UpDownBaseTextAlignDescr))] 462[SRCategory(nameof(SR.CatAppearance))] 464[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)
44public override string DefaultAction => SR.AccessibleActionPress; 86get => _up ? SR.UpDownBaseUpButtonAccName : SR.UpDownBaseDownButtonAccName;
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownEdit.cs (1)
44Automation.AutomationNotificationProcessing.CurrentThenMostRecent, SR.UpDownEditLocalizedControlTypeName);
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownEdit.UpDownEditAccessibleObject.cs (1)
26NumericUpDown or DomainUpDown => SR.EditDefaultAccessibleName,
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.cs (1)
117throw new ArgumentException(SR.HtmlDocumentInvalidDomain);
System\Windows\Forms\Controls\WebBrowser\HtmlElement.cs (6)
224throw new NotSupportedException(SR.HtmlElementPropertyNotSupported); 253throw new NotSupportedException(SR.HtmlElementPropertyNotSupported); 353throw new NotSupportedException(SR.HtmlElementPropertyNotSupported); 382throw new NotSupportedException(SR.HtmlElementPropertyNotSupported); 530throw new NotSupportedException(SR.HtmlElementMethodNotSupported); 671throw new NotSupportedException(SR.HtmlElementAttributeNotSupported);
System\Windows\Forms\Controls\WebBrowser\HtmlWindowCollection.cs (1)
70throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(windowId), windowId), nameof(windowId));
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (43)
22[SRDescription(nameof(SR.DescriptionWebBrowser))] 71[SRDescription(nameof(SR.WebBrowserAllowNavigationDescr))] 72[SRCategory(nameof(SR.CatBehavior))] 91[SRDescription(nameof(SR.WebBrowserAllowWebBrowserDropDescr))] 92[SRCategory(nameof(SR.CatBehavior))] 120[SRDescription(nameof(SR.WebBrowserScriptErrorsSuppressedDescr))] 121[SRCategory(nameof(SR.CatBehavior))] 148[SRDescription(nameof(SR.WebBrowserWebBrowserShortcutsEnabledDescr))] 149[SRCategory(nameof(SR.CatBehavior))] 434[SRDescription(nameof(SR.WebBrowserIsOfflineDescr))] 455[SRDescription(nameof(SR.WebBrowserIsWebBrowserContextMenuEnabledDescr))] 456[SRCategory(nameof(SR.CatBehavior))] 481throw new ArgumentException(SR.WebBrowserObjectForScriptingComVisibleOnly, nameof(value)); 501[SRCategory(nameof(SR.CatLayout))] 502[SRDescription(nameof(SR.ControlOnPaddingChangedDescr))] 558[SRDescription(nameof(SR.WebBrowserUrlDescr))] 560[SRCategory(nameof(SR.CatBehavior))] 877[SRDescription(nameof(SR.WebBrowserScrollBarsEnabledDescr))] 878[SRCategory(nameof(SR.CatBehavior))] 995[SRCategory(nameof(SR.CatPropertyChanged))] 996[SRDescription(nameof(SR.WebBrowserCanGoBackChangedDescr))] 1004[SRCategory(nameof(SR.CatPropertyChanged))] 1005[SRDescription(nameof(SR.WebBrowserCanGoForwardChangedDescr))] 1014[SRCategory(nameof(SR.CatBehavior))] 1015[SRDescription(nameof(SR.WebBrowserDocumentCompletedDescr))] 1025[SRCategory(nameof(SR.CatPropertyChanged))] 1026[SRDescription(nameof(SR.WebBrowserDocumentTitleChangedDescr))] 1035[SRCategory(nameof(SR.CatPropertyChanged))] 1036[SRDescription(nameof(SR.WebBrowserEncryptionLevelChangedDescr))] 1043[SRCategory(nameof(SR.CatBehavior))] 1044[SRDescription(nameof(SR.WebBrowserFileDownloadDescr))] 1051[SRCategory(nameof(SR.CatAction))] 1052[SRDescription(nameof(SR.WebBrowserNavigatedDescr))] 1060[SRCategory(nameof(SR.CatAction))] 1061[SRDescription(nameof(SR.WebBrowserNavigatingDescr))] 1068[SRCategory(nameof(SR.CatAction))] 1069[SRDescription(nameof(SR.WebBrowserNewWindowDescr))] 1078[SRCategory(nameof(SR.CatAction))] 1079[SRDescription(nameof(SR.WebBrowserProgressChangedDescr))] 1088[SRCategory(nameof(SR.CatPropertyChanged))] 1089[SRDescription(nameof(SR.WebBrowserStatusTextChangedDescr))] 1287throw new ArgumentException(string.Format(SR.WebBrowserNavigateAbsoluteUri, "uri")); 1400return _axIWebBrowser2 ?? throw new InvalidOperationException(SR.WebBrowserNoCastToIWebBrowser2);
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (52)
74throw new ThreadStateException(string.Format(SR.AXMTAThread, clsidString)); 940throw new TargetInvocationException(string.Format(SR.AXNohWnd, GetType().Name), t); 983throw new TargetInvocationException(string.Format(SR.AXNohWnd, GetType().Name), t); 1211throw new ThreadStateException(SR.ThreadMustBeSTA); 1284throw new NotSupportedException(SR.WebBrowserAllowDropNotSupported); 1296throw new NotSupportedException(SR.WebBrowserBackgroundImageNotSupported); 1308throw new NotSupportedException(SR.WebBrowserBackgroundImageLayoutNotSupported); 1321throw new NotSupportedException(SR.WebBrowserCursorNotSupported); 1333throw new NotSupportedException(SR.WebBrowserEnabledNotSupported); 1345throw new NotSupportedException(SR.WebBrowserRightToLeftNotSupported); 1358set => throw new NotSupportedException(SR.WebBrowserTextNotSupported); 1369throw new NotSupportedException(SR.WebBrowserUseWaitCursorNotSupported); 1381add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "BackgroundImageLayoutChanged")); 1389add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "Enter")); 1397add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "Leave")); 1405add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseCaptureChanged")); 1413add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseClick")); 1421add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseDoubleClick")); 1429add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "BackColorChanged")); 1437add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "BackgroundImageChanged")); 1445add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "BindingContextChanged")); 1453add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "CursorChanged")); 1461add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "EnabledChanged")); 1469add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "FontChanged")); 1477add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "ForeColorChanged")); 1485add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "RightToLeftChanged")); 1493add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "TextChanged")); 1501add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "Click")); 1509add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DragDrop")); 1517add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DragEnter")); 1525add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DragOver")); 1533add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DragLeave")); 1541add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "GiveFeedback")); 1550add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "HelpRequested")); 1558add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "Paint")); 1566add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "QueryContinueDrag")); 1574add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "QueryAccessibilityHelp")); 1582add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DoubleClick")); 1590add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "ImeModeChanged")); 1598add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "KeyDown")); 1606add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "KeyPress")); 1614add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "KeyUp")); 1622add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "Layout")); 1630add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseDown")); 1638add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseEnter")); 1646add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseLeave")); 1654add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseHover")); 1662add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseMove")); 1670add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseUp")); 1678add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseWheel")); 1686add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "ChangeUICues")); 1694add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "StyleChanged"));
System\Windows\Forms\Controls\WebBrowser\WebBrowserContainer.cs (1)
304throw new ArgumentException(string.Format(SR.AXDuplicateControl, GetNameForControl(ctl)), nameof(ctl));
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (1)
202throw new InvalidOperationException(SR.AXWindowlessControl);
System\Windows\Forms\DataBinding\BindableComponent.cs (5)
25[SRCategory(nameof(SR.CatData))] 26[SRDescription(nameof(SR.BindingComponentBindingContextDescr))] 44[SRCategory(nameof(SR.CatData))] 45[SRDescription(nameof(SR.BindableComponentBindingContextChangedDescr))] 76[SRCategory(nameof(SR.CatData))]
System\Windows\Forms\DataBinding\Binding.BindToObject.cs (1)
223throw new ArgumentException(string.Format(SR.ListBindingBindField, dataField), "dataMember");
System\Windows\Forms\DataBinding\Binding.cs (3)
528throw new ArgumentException(string.Format(SR.ListBindingBindProperty, PropertyName), nameof(PropertyName)); 533throw new ArgumentException(string.Format(SR.ListBindingBindPropertyReadOnly, PropertyName), nameof(PropertyName)); 808throw new FormatException(SR.ListBindingFormatFailed);
System\Windows\Forms\DataBinding\BindingContext.cs (3)
121[SRDescription(nameof(SR.collectionChangedEventDescr))] 267?? throw new ArgumentException(string.Format(SR.RelatedListManagerChild, dataField)); 307throw new ArgumentException(string.Format(SR.DataBindingCycle, binding.PropertyName), nameof(propBinding));
System\Windows\Forms\DataBinding\BindingNavigator.cs (35)
13[SRDescription(nameof(SR.DescriptionBindingNavigator))] 27private string _countItemFormat = SR.BindingNavigatorCountItemFormat; 165MoveFirstItem.Text = SR.BindingNavigatorMoveFirstItemText; 166MovePreviousItem.Text = SR.BindingNavigatorMovePreviousItemText; 167MoveNextItem.Text = SR.BindingNavigatorMoveNextItemText; 168MoveLastItem.Text = SR.BindingNavigatorMoveLastItemText; 169AddNewItem.Text = SR.BindingNavigatorAddNewItemText; 170DeleteItem.Text = SR.BindingNavigatorDeleteItemText; 172CountItem.ToolTipText = SR.BindingNavigatorCountItemTip; 173PositionItem.ToolTipText = SR.BindingNavigatorPositionItemTip; 177PositionItem.AccessibleName = SR.BindingNavigatorPositionAccessibleName; 237[SRCategory(nameof(SR.CatData))] 238[SRDescription(nameof(SR.BindingNavigatorBindingSourcePropDescr))] 257[SRCategory(nameof(SR.CatItems))] 258[SRDescription(nameof(SR.BindingNavigatorMoveFirstItemPropDescr))] 281[SRCategory(nameof(SR.CatItems))] 282[SRDescription(nameof(SR.BindingNavigatorMovePreviousItemPropDescr))] 305[SRCategory(nameof(SR.CatItems))] 306[SRDescription(nameof(SR.BindingNavigatorMoveNextItemPropDescr))] 329[SRCategory(nameof(SR.CatItems))] 330[SRDescription(nameof(SR.BindingNavigatorMoveLastItemPropDescr))] 353[SRCategory(nameof(SR.CatItems))] 354[SRDescription(nameof(SR.BindingNavigatorAddNewItemPropDescr))] 383[SRCategory(nameof(SR.CatItems))] 384[SRDescription(nameof(SR.BindingNavigatorDeleteItemPropDescr))] 413[SRCategory(nameof(SR.CatItems))] 414[SRDescription(nameof(SR.BindingNavigatorPositionItemPropDescr))] 437[SRCategory(nameof(SR.CatItems))] 438[SRDescription(nameof(SR.BindingNavigatorCountItemPropDescr))] 459[SRCategory(nameof(SR.CatAppearance))] 460[SRDescription(nameof(SR.BindingNavigatorCountItemFormatPropDescr))] 481[SRCategory(nameof(SR.CatBehavior))] 482[SRDescription(nameof(SR.BindingNavigatorRefreshItemsEventDescr))] 799_countItemFormat = SR.BindingNavigatorCountItemFormat; 804return _countItemFormat != SR.BindingNavigatorCountItemFormat;
System\Windows\Forms\DataBinding\BindingsCollection.cs (2)
55[SRDescription(nameof(SR.collectionChangingEventDescr))] 65[SRDescription(nameof(SR.collectionChangedEventDescr))]
System\Windows\Forms\DataBinding\BindingSource.cs (48)
16[SRDescription(nameof(SR.DescriptionBindingSource))] 191[SRCategory(nameof(SR.CatData))] 195[SRDescription(nameof(SR.BindingSourceDataMemberDescr))] 213[SRCategory(nameof(SR.CatData))] 217[SRDescription(nameof(SR.BindingSourceDataSourceDescr))] 378[SRCategory(nameof(SR.CatData))] 380[SRDescription(nameof(SR.BindingSourceSortDescr))] 391[SRCategory(nameof(SR.CatData))] 392[SRDescription(nameof(SR.BindingSourceAddingNewEventHandlerDescr))] 399[SRCategory(nameof(SR.CatData))] 400[SRDescription(nameof(SR.BindingSourceBindingCompleteEventHandlerDescr))] 407[SRCategory(nameof(SR.CatData))] 408[SRDescription(nameof(SR.BindingSourceDataErrorEventHandlerDescr))] 415[SRCategory(nameof(SR.CatData))] 416[SRDescription(nameof(SR.BindingSourceDataSourceChangedEventHandlerDescr))] 423[SRCategory(nameof(SR.CatData))] 424[SRDescription(nameof(SR.BindingSourceDataMemberChangedEventHandlerDescr))] 431[SRCategory(nameof(SR.CatData))] 432[SRDescription(nameof(SR.BindingSourceCurrentChangedEventHandlerDescr))] 439[SRCategory(nameof(SR.CatData))] 440[SRDescription(nameof(SR.BindingSourceCurrentItemChangedEventHandlerDescr))] 447[SRCategory(nameof(SR.CatData))] 448[SRDescription(nameof(SR.BindingSourceListChangedEventHandlerDescr))] 455[SRCategory(nameof(SR.CatData))] 456[SRDescription(nameof(SR.BindingSourcePositionChangedEventHandlerDescr))] 497throw new InvalidOperationException(SR.BindingSourceRecursionDetected); 552throw new NotSupportedException(SR.BindingSourceInstanceError, instanceException); 651?? throw new ArgumentException(string.Format(SR.DataSourceDataMemberPropNotFound, propertyName)); 999: throw new ArgumentException(SR.BindingSourceBadSortString); 1004?? throw new ArgumentException(SR.BindingSourceSortStringPropertyNotInIBindingList); 1017throw new InvalidOperationException(SR.BindingSourceRemoveCurrentNotAllowed); 1022throw new InvalidOperationException(SR.BindingSourceRemoveCurrentNoCurrentItem); 1439throw new InvalidOperationException(SR.BindingSourceRecursionDetected); 1474throw new InvalidOperationException(SR.BindingSourceItemTypeMismatchOnAdd); 1479throw new InvalidOperationException(SR.BindingSourceItemTypeIsValueType); 1565throw new InvalidOperationException(SR.BindingSourceBindingListWrapperAddToReadOnlyList); 1571SR.BindingSourceBindingListWrapperNeedToSetAllowNew, 1610SR.BindingSourceBindingListWrapperNeedAParameterlessConstructor, 1640[SRCategory(nameof(SR.CatBehavior))] 1641[SRDescription(nameof(SR.BindingSourceAllowNewDescr)),] 1658throw new InvalidOperationException(SR.NoAllowNewOnReadOnlyList); 1715throw new NotSupportedException(SR.OperationRequiresIBindingList); 1726throw new NotSupportedException(SR.OperationRequiresIBindingList); 1736throw new NotSupportedException(SR.OperationRequiresIBindingList); 1746throw new NotSupportedException(SR.OperationRequiresIBindingList); 1767throw new NotSupportedException(SR.OperationRequiresIBindingListView); 1782[SRCategory(nameof(SR.CatData))] 1784[SRDescription(nameof(SR.BindingSourceFilterDescr))]
System\Windows\Forms\DataBinding\Command.cs (1)
90throw new ArgumentException(SR.CommandIdNotAllocated);
System\Windows\Forms\DataBinding\ControlBindingsCollection.cs (4)
175throw new ArgumentException(SR.BindingsCollectionAdd1, nameof(dataBinding)); 180throw new ArgumentException(SR.BindingsCollectionAdd2, nameof(dataBinding)); 200throw new ArgumentException(SR.BindingsCollectionDup, nameof(binding)); 246throw new ArgumentException(SR.BindingsCollectionForeign, nameof(dataBinding));
System\Windows\Forms\DataBinding\CurrencyManager.cs (9)
39[SRCategory(nameof(SR.CatData))] 188throw new ArgumentException(string.Format(SR.ListManagerSetDataSource, tempList.GetType().FullName), nameof(dataSource)); 258throw new IndexOutOfRangeException(string.Format(SR.ListManagerNoValue, index.ToString(CultureInfo.CurrentCulture))); 267throw new IndexOutOfRangeException(string.Format(SR.ListManagerNoValue, index.ToString(CultureInfo.CurrentCulture))); 283throw new NotSupportedException(SR.CurrencyManagerCantAddNew); 341throw new IndexOutOfRangeException(SR.ListManagerBadPosition); 393throw new InvalidOperationException(SR.ListManagerEmptyList); 512throw new InvalidOperationException(SR.DataBindingPushDataException); 822[SRCategory(nameof(SR.CatData))]
System\Windows\Forms\DataBinding\ICurrencyManagerProvider.cs (1)
6[SRDescription(nameof(SR.ICurrencyManagerProviderDescr))]
System\Windows\Forms\DataBinding\ListBindingConverter.cs (2)
93throw new ArgumentException(SR.PropertyValueInvalidEntry, invalidCast); 97throw new ArgumentException(SR.PropertyValueInvalidEntry, nullRef);
System\Windows\Forms\DataBinding\ListBindingHelper.cs (3)
49?? throw new ArgumentException(string.Format(SR.DataSourceDataMemberPropNotFound, dataMember)); 187listAccessors2[0] = dmProp ?? throw new ArgumentException(string.Format(SR.DataSourceDataMemberPropNotFound, dataMember)); 267throw new NotSupportedException(SR.BindingSourceInstanceError, instanceException);
System\Windows\Forms\DataBinding\ListManagerBindingsCollection.cs (3)
32throw new ArgumentException(SR.BindingsCollectionAdd1, nameof(dataBinding)); 37throw new ArgumentException(SR.BindingsCollectionAdd2, nameof(dataBinding)); 61throw new ArgumentException(SR.BindingsCollectionForeign, nameof(dataBinding));
System\Windows\Forms\DataBinding\PropertyManager.cs (3)
40throw new ArgumentException(string.Format(SR.PropertyManagerPropDoesNotExist, _propName, dataSource)); 201throw new NotSupportedException(SR.DataBindingAddNewNotSupportedOnPropertyManager); 211throw new NotSupportedException(SR.DataBindingRemoveAtNotSupportedOnPropertyManager);
System\Windows\Forms\DataBinding\RelatedCurrencyManager.cs (1)
38throw new ArgumentException(string.Format(SR.RelatedListManagerChild, dataField));
System\Windows\Forms\DataBinding\RelatedPropertyManager.cs (1)
27throw new ArgumentException(string.Format(SR.RelatedListManagerChild, dataField));
System\Windows\Forms\Design\ComponentEditorForm.ComponentEditorPageSite.cs (1)
43throw new TargetInvocationException(string.Format(SR.ExceptionCreatingCompEditorControl, e), e.InnerException);
System\Windows\Forms\Design\ComponentEditorForm.cs (9)
47throw new ArgumentException(SR.ComponentEditorFormBadComponent, nameof(component)); 102_cancelButton.Text = SR.CloseCaption; 226caption = string.Format(SR.ComponentEditorFormProperties, site.Name); 230caption = SR.ComponentEditorFormPropertiesNoName; 267_helpButton.Text = SR.HelpCaption; 274_applyButton.Text = SR.ApplyCaption; 281_cancelButton.Text = SR.CancelCaption; 288_okButton.Text = SR.OKCaption; 428_cancelButton.Text = SR.CancelCaption;
System\Windows\Forms\Design\EventsTab.cs (1)
24public override string TabName => SR.PBRSToolTipEvents;
System\Windows\Forms\Dialogs\CommonDialogs\ColorDialog.cs (14)
15[SRDescription(nameof(SR.DescriptionColorDialog))] 32[SRCategory(nameof(SR.CatBehavior))] 34[SRDescription(nameof(SR.CDallowFullOpenDescr))] 45[SRCategory(nameof(SR.CatBehavior))] 47[SRDescription(nameof(SR.CDanyColorDescr))] 57[SRCategory(nameof(SR.CatData))] 58[SRDescription(nameof(SR.CDcolorDescr))] 70[SRDescription(nameof(SR.CDcustomColorsDescr))] 96[SRCategory(nameof(SR.CatAppearance))] 98[SRDescription(nameof(SR.CDfullOpenDescr))] 118[SRCategory(nameof(SR.CatBehavior))] 120[SRDescription(nameof(SR.CDshowHelpDescr))] 130[SRCategory(nameof(SR.CatBehavior))] 132[SRDescription(nameof(SR.CDsolidColorOnlyDescr))]
System\Windows\Forms\Dialogs\CommonDialogs\CommonDialog.cs (4)
36[SRCategory(nameof(SR.CatData))] 39[SRDescription(nameof(SR.ControlTagDescr))] 47[SRDescription(nameof(SR.CommonDialogHelpRequested))] 172throw new InvalidOperationException(SR.CantShowModalOnNonInteractive);
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (39)
49[SRCategory(nameof(SR.CatBehavior))] 51[SRDescription(nameof(SR.FDaddExtensionDescr))] 58[SRCategory(nameof(SR.CatBehavior))] 60[SRDescription(nameof(SR.FileDialogAddToRecentDescr))] 71[SRCategory(nameof(SR.CatBehavior))] 73[SRDescription(nameof(SR.FDcheckFileExistsDescr))] 84[SRCategory(nameof(SR.CatBehavior))] 86[SRDescription(nameof(SR.FDcheckPathExistsDescr))] 114[SRCategory(nameof(SR.CatBehavior))] 116[SRDescription(nameof(SR.FDdefaultExtDescr))] 145[SRCategory(nameof(SR.CatBehavior))] 147[SRDescription(nameof(SR.FDdereferenceLinksDescr))] 159[SRCategory(nameof(SR.CatData))] 161[SRDescription(nameof(SR.FDfileNameDescr))] 174[SRDescription(nameof(SR.FDFileNamesDescr))] 185[SRCategory(nameof(SR.CatBehavior))] 188[SRDescription(nameof(SR.FDfilterDescr))] 205throw new ArgumentException(SR.FileDialogInvalidFilter, nameof(value)); 242throw new InvalidOperationException(SR.FileDialogInvalidFilterIndex); 266[SRCategory(nameof(SR.CatBehavior))] 268[SRDescription(nameof(SR.FDfilterIndexDescr))] 274[SRCategory(nameof(SR.CatData))] 277[SRDescription(nameof(SR.FDinitialDirDescr))] 304[SRCategory(nameof(SR.CatBehavior))] 306[SRDescription(nameof(SR.FDrestoreDirectoryDescr))] 317[SRCategory(nameof(SR.CatBehavior))] 319[SRDescription(nameof(SR.FDshowHelpDescr))] 329[SRCategory(nameof(SR.CatBehavior))] 331[SRDescription(nameof(SR.FileDialogShowHiddenFilesDescr))] 341[SRCategory(nameof(SR.CatBehavior))] 343[SRDescription(nameof(SR.FDsupportMultiDottedExtensionsDescr))] 349[SRCategory(nameof(SR.CatAppearance))] 352[SRDescription(nameof(SR.FDtitleDescr))] 363[SRCategory(nameof(SR.CatBehavior))] 365[SRDescription(nameof(SR.FDvalidateNamesDescr))] 375[SRDescription(nameof(SR.FDfileOkDescr))] 692string.Format(SR.FileDialogFileNotFound, fileName), 730throw new ThreadStateException(string.Format(SR.DebuggingExceptionOnly, SR.ThreadMustBeSTA));
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.Vista.cs (4)
266[SRCategory(nameof(SR.CatBehavior))] 268[SRDescription(nameof(SR.FileDialogOkRequiresInteractionDescr))] 279[SRCategory(nameof(SR.CatBehavior))] 281[SRDescription(nameof(SR.FileDialogShowPinnedPlacesDescr))]
System\Windows\Forms\Dialogs\CommonDialogs\FolderBrowserDialog.cs (26)
20[SRDescription(nameof(SR.DescriptionFolderBrowserDialog))] 49[SRCategory(nameof(SR.CatBehavior))] 51[SRDescription(nameof(SR.FolderBrowserDialogAddToRecent))] 75[SRCategory(nameof(SR.CatBehavior))] 77[SRDescription(nameof(SR.FolderBrowserDialogMultiSelectDescr))] 93[SRCategory(nameof(SR.CatBehavior))] 95[SRDescription(nameof(SR.FolderBrowserDialogOkRequiresInteraction))] 105[SRCategory(nameof(SR.CatBehavior))] 107[SRDescription(nameof(SR.FolderBrowserDialogShowHiddenFiles))] 118[SRCategory(nameof(SR.CatBehavior))] 120[SRDescription(nameof(SR.FolderBrowserDialogShowPinnedPlaces))] 134[SRCategory(nameof(SR.CatFolderBrowsing))] 135[SRDescription(nameof(SR.FolderBrowserDialogShowNewFolderButton))] 164[SRCategory(nameof(SR.CatFolderBrowsing))] 165[SRDescription(nameof(SR.FolderBrowserDialogSelectedPath))] 178[SRDescription(nameof(SR.FolderBrowserDialogSelectedPathsDescr))] 184[SRCategory(nameof(SR.CatFolderBrowsing))] 187[SRDescription(nameof(SR.FDinitialDirDescr))] 200[SRCategory(nameof(SR.CatFolderBrowsing))] 201[SRDescription(nameof(SR.FolderBrowserDialogRootFolder))] 222[SRCategory(nameof(SR.CatFolderBrowsing))] 223[SRDescription(nameof(SR.FolderBrowserDialogDescription))] 242[SRCategory(nameof(SR.CatFolderBrowsing))] 243[SRDescription(nameof(SR.FolderBrowserDialogUseDescriptionForTitle))] 450throw new ThreadStateException(string.Format(SR.DebuggingExceptionOnly, SR.ThreadMustBeSTA));
System\Windows\Forms\Dialogs\CommonDialogs\FontDialog.cs (32)
17[SRDescription(nameof(SR.DescriptionFontDialog))] 41[SRCategory(nameof(SR.CatBehavior))] 43[SRDescription(nameof(SR.FnDallowSimulationsDescr))] 53[SRCategory(nameof(SR.CatBehavior))] 55[SRDescription(nameof(SR.FnDallowVectorFontsDescr))] 67[SRCategory(nameof(SR.CatBehavior))] 69[SRDescription(nameof(SR.FnDallowVerticalFontsDescr))] 80[SRCategory(nameof(SR.CatBehavior))] 82[SRDescription(nameof(SR.FnDallowScriptChangeDescr))] 92[SRCategory(nameof(SR.CatData))] 93[SRDescription(nameof(SR.FnDcolorDescr))] 121[SRCategory(nameof(SR.CatBehavior))] 123[SRDescription(nameof(SR.FnDfixedPitchOnlyDescr))] 133[SRCategory(nameof(SR.CatData))] 134[SRDescription(nameof(SR.FnDfontDescr))] 161[SRCategory(nameof(SR.CatBehavior))] 163[SRDescription(nameof(SR.FnDfontMustExistDescr))] 173[SRCategory(nameof(SR.CatData))] 175[SRDescription(nameof(SR.FnDmaxSizeDescr))] 198[SRCategory(nameof(SR.CatData))] 200[SRDescription(nameof(SR.FnDminSizeDescr))] 229[SRCategory(nameof(SR.CatBehavior))] 231[SRDescription(nameof(SR.FnDscriptsOnlyDescr))] 241[SRCategory(nameof(SR.CatBehavior))] 243[SRDescription(nameof(SR.FnDshowApplyDescr))] 253[SRCategory(nameof(SR.CatBehavior))] 255[SRDescription(nameof(SR.FnDshowColorDescr))] 262[SRCategory(nameof(SR.CatBehavior))] 264[SRDescription(nameof(SR.FnDshowEffectsDescr))] 274[SRCategory(nameof(SR.CatBehavior))] 276[SRDescription(nameof(SR.FnDshowHelpDescr))] 286[SRDescription(nameof(SR.FnDapplyDescr))]
System\Windows\Forms\Dialogs\CommonDialogs\OpenFileDialog.cs (15)
16[SRDescription(nameof(SR.DescriptionOpenFileDialog))] 24[SRDescription(nameof(SR.OFDcheckFileExistsDescr))] 34[SRCategory(nameof(SR.CatBehavior))] 36[SRDescription(nameof(SR.OFDmultiSelectDescr))] 46[SRCategory(nameof(SR.CatBehavior))] 48[SRDescription(nameof(SR.OFDreadOnlyCheckedDescr))] 58[SRCategory(nameof(SR.CatBehavior))] 60[SRDescription(nameof(SR.OpenFileDialogSelectReadOnlyDescr))] 70[SRCategory(nameof(SR.CatBehavior))] 72[SRDescription(nameof(SR.OpenFileDialogShowPreviewDescr))] 82[SRCategory(nameof(SR.CatBehavior))] 84[SRDescription(nameof(SR.OFDshowReadOnlyDescr))] 124throw new InvalidOperationException(string.Format(SR.FileDialogInvalidFileName, FileName)); 126throw new InvalidOperationException(SR.FileDialogSubLassFailure); 128throw new InvalidOperationException(SR.FileDialogBufferTooSmall);
System\Windows\Forms\Dialogs\CommonDialogs\SaveFileDialog.cs (12)
17[SRDescription(nameof(SR.DescriptionSaveFileDialog))] 25[SRCategory(nameof(SR.CatBehavior))] 27[SRDescription(nameof(SR.SaveFileDialogCheckWriteAccess))] 38[SRCategory(nameof(SR.CatBehavior))] 40[SRDescription(nameof(SR.SaveFileDialogCreatePrompt))] 50[SRCategory(nameof(SR.CatBehavior))] 52[SRDescription(nameof(SR.SaveFileDialogExpandedMode))] 63[SRCategory(nameof(SR.CatBehavior))] 65[SRDescription(nameof(SR.SaveFileDialogOverWritePrompt))] 89string.Format(SR.FileDialogCreatePrompt, fileName), 101string.Format(SR.FileDialogOverwritePrompt, fileName), 150throw new InvalidOperationException(string.Format(SR.FileDialogInvalidFileName, FileName));
System\Windows\Forms\Dialogs\MessageBox.cs (4)
55throw new InvalidOperationException(SR.CantShowModalOnNonInteractive); 60throw new ArgumentException(SR.CantShowMBServiceWithOwner, nameof(options)); 65throw new ArgumentException(SR.CantShowMBServiceWithHelp, nameof(options)); 470throw new Win32Exception(lastWin32Error, string.Format(SR.LoadDLLError, Libraries.Shell32));
System\Windows\Forms\Dialogs\TaskDialog\TaskDialog.cs (11)
217throw new InvalidOperationException(string.Format(SR.IllegalCrossThreadCall, nameof(TaskDialog))); 408?? throw new InvalidOperationException(SR.FormOrTaskDialog_NoSyncContextForShowAsync); 553throw new InvalidOperationException(string.Format(SR.TaskDialogInstanceAlreadyShown, nameof(TaskDialog))); 616SR.TaskDialogVisualStylesNotEnabled, 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, 759SR.TaskDialogPageIsAlreadyBound, 770SR.TaskDialogCollectionAlreadyBound, 783SR.TaskDialogControlAlreadyBound, 795throw new InvalidOperationException(SR.TaskDialogTooManyButtonsAdded); 800throw new InvalidOperationException(SR.TaskDialogOnlySingleRadioButtonCanBeChecked); 820throw new InvalidOperationException(SR.TaskDialogCannotShowCustomButtonsAndCommandLinks); 828throw new InvalidOperationException(SR.TaskDialogButtonTextMustNotBeNull); 833throw new InvalidOperationException(SR.TaskDialogRadioButtonTextMustNotBeNull); 839throw 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\Form.ControlCollection.cs (3)
35throw new ArgumentException(SR.MDIContainerMustBeTopLevel, nameof(value)); 41throw new ArgumentException(SR.FormMDIParentAndChild, nameof(value)); 50throw new ArgumentException(SR.FormMDIParentCannotAdd, nameof(value));
System\Windows\Forms\Form.cs (156)
218[SRDescription(nameof(SR.FormAcceptButtonDescr))] 298[SRDescription(nameof(SR.FormActiveMDIChildDescr))] 353[SRDescription(nameof(SR.ControlAllowTransparencyDescr))] 389[SRCategory(nameof(SR.CatLayout))] 390[SRDescription(nameof(SR.FormAutoScaleDescr))] 514[SRCategory(nameof(SR.CatPropertyChanged))] 515[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 527[SRDescription(nameof(SR.ControlAutoSizeModeDescr))] 528[SRCategory(nameof(SR.CatLayout))] 654[SRCategory(nameof(SR.CatAppearance))] 657[SRDescription(nameof(SR.FormBorderStyleDescr))] 710[SRDescription(nameof(SR.FormCancelButtonDescr))] 740[SRCategory(nameof(SR.CatWindowStyle))] 742[SRDescription(nameof(SR.FormControlBoxDescr))] 890[SRCategory(nameof(SR.CatLayout))] 893[SRDescription(nameof(SR.FormDesktopBoundsDescr))] 913[SRCategory(nameof(SR.CatLayout))] 916[SRDescription(nameof(SR.FormDesktopLocationDescr))] 936[SRCategory(nameof(SR.CatBehavior))] 939[SRDescription(nameof(SR.FormDialogResultDescr))] 960[SRCategory(nameof(SR.CatWindowStyle))] 962[SRDescription(nameof(SR.FormHelpButtonDescr))] 987[SRCategory(nameof(SR.CatBehavior))] 988[SRDescription(nameof(SR.FormHelpButtonClickedDescr))] 1000[SRCategory(nameof(SR.CatWindowStyle))] 1001[SRDescription(nameof(SR.FormIconDescr))] 1065[SRCategory(nameof(SR.CatWindowStyle))] 1068[SRDescription(nameof(SR.FormIsMDIChildDescr))] 1084[SRCategory(nameof(SR.CatWindowStyle))] 1086[SRDescription(nameof(SR.FormIsMDIContainerDescr))] 1136[SRDescription(nameof(SR.FormKeyPreviewDescr))] 1171[SRCategory(nameof(SR.CatPropertyChanged))] 1172[SRDescription(nameof(SR.FormOnMaximizedBoundsChangedDescr))] 1182[SRCategory(nameof(SR.CatLayout))] 1184[SRDescription(nameof(SR.FormMaximumSizeDescr))] 1246[SRCategory(nameof(SR.CatPropertyChanged))] 1247[SRDescription(nameof(SR.FormOnMaximumSizeChangedDescr))] 1254[SRCategory(nameof(SR.CatWindowStyle))] 1256[SRDescription(nameof(SR.FormMenuStripDescr))] 1296[SRCategory(nameof(SR.CatLayout))] 1298[SRDescription(nameof(SR.FormMinimumSizeDescr))] 1377[SRCategory(nameof(SR.CatPropertyChanged))] 1378[SRDescription(nameof(SR.FormOnMinimumSizeChangedDescr))] 1389[SRCategory(nameof(SR.CatWindowStyle))] 1391[SRDescription(nameof(SR.FormMaximizeBoxDescr))] 1406[SRCategory(nameof(SR.CatWindowStyle))] 1409[SRDescription(nameof(SR.FormMDIChildrenDescr))] 1424[SRCategory(nameof(SR.CatWindowStyle))] 1426[SRDescription(nameof(SR.FormMdiChildrenMinimizedAnchorBottomDescr))] 1440[SRCategory(nameof(SR.CatWindowStyle))] 1443[SRDescription(nameof(SR.FormMDIParentDescr))] 1463throw new ArgumentException(SR.AddDifferentThreads, nameof(value)); 1480throw new ArgumentException(SR.FormMDIParentAndChild, nameof(value)); 1485throw new ArgumentException(SR.MDIParentNotContainer, nameof(value)); 1537[SRCategory(nameof(SR.CatWindowStyle))] 1539[SRDescription(nameof(SR.FormMinimizeBoxDescr))] 1553[SRCategory(nameof(SR.CatWindowStyle))] 1556[SRDescription(nameof(SR.FormModalDescr))] 1563[SRCategory(nameof(SR.CatWindowStyle))] 1565[SRDescription(nameof(SR.FormOpacityDescr))] 1612[SRCategory(nameof(SR.CatWindowStyle))] 1615[SRDescription(nameof(SR.FormOwnedFormsDescr))] 1621[SRCategory(nameof(SR.CatWindowStyle))] 1624[SRDescription(nameof(SR.FormOwnerDescr))] 1638throw new ArgumentException(SR.NonTopLevelCantHaveOwner, nameof(value)); 1688[SRCategory(nameof(SR.CatAppearance))] 1691[SRDescription(nameof(SR.ControlRightToLeftLayoutDescr))] 1757[SRCategory(nameof(SR.CatWindowStyle))] 1758[SRDescription(nameof(SR.FormScreenCaptureModeDescr))] 1771throw new InvalidOperationException(SR.FormScreenCaptureModeRequiresTopLevel); 1810[SRCategory(nameof(SR.CatWindowStyle))] 1811[SRDescription(nameof(SR.FormShowInTaskbarDescr))] 1835[SRCategory(nameof(SR.CatWindowStyle))] 1836[SRDescription(nameof(SR.FormShowIconDescr))] 1917[SRCategory(nameof(SR.CatWindowStyle))] 1919[SRDescription(nameof(SR.FormSizeGripStyleDescr))] 1946[SRCategory(nameof(SR.CatLayout))] 1948[SRDescription(nameof(SR.FormStartPositionDescr))] 1983[SRCategory(nameof(SR.CatBehavior))] 1988[SRDescription(nameof(SR.ControlTabStopDescr))] 2047throw new ArgumentException(SR.MDIContainerMustBeTopLevel, nameof(value)); 2059[SRCategory(nameof(SR.CatWindowStyle))] 2060[SRDescription(nameof(SR.FormTopMostDescr))] 2082[SRCategory(nameof(SR.CatWindowStyle))] 2083[SRDescription(nameof(SR.FormTransparencyKeyDescr))] 2262[SRCategory(nameof(SR.CatWindowStyle))] 2263[SRDescription(nameof(SR.FormCornerPreferenceDescr))] 2350[SRCategory(nameof(SR.CatWindowStyle))] 2351[SRDescription(nameof(SR.FormBorderColorDescr))] 2410[SRCategory(nameof(SR.CatWindowStyle))] 2411[SRDescription(nameof(SR.FormCaptionBackColorDescr))] 2471[SRCategory(nameof(SR.CatWindowStyle))] 2472[SRDescription(nameof(SR.FormCaptionTextColorDescr))] 2538[SRCategory(nameof(SR.CatLayout))] 2540[SRDescription(nameof(SR.FormWindowStateDescr))] 2610[SRCategory(nameof(SR.CatFocus))] 2611[SRDescription(nameof(SR.FormOnActivateDescr))] 2621[SRCategory(nameof(SR.CatBehavior))] 2622[SRDescription(nameof(SR.FormOnClosingDescr))] 2639[SRCategory(nameof(SR.CatBehavior))] 2640[SRDescription(nameof(SR.FormOnClosedDescr))] 2657[SRCategory(nameof(SR.CatFocus))] 2658[SRDescription(nameof(SR.FormOnDeactivateDescr))] 2668[SRCategory(nameof(SR.CatBehavior))] 2669[SRDescription(nameof(SR.FormOnFormClosingDescr))] 2679[SRCategory(nameof(SR.CatAppearance))] 2680[SRDescription(nameof(SR.FormBorderColorChangedDescr))] 2690[SRCategory(nameof(SR.CatAppearance))] 2691[SRDescription(nameof(SR.FormCaptionBackColorChangedDescr))] 2701[SRCategory(nameof(SR.CatAppearance))] 2702[SRDescription(nameof(SR.FormCaptionTextColorChangedDescr))] 2712[SRCategory(nameof(SR.CatAppearance))] 2713[SRDescription(nameof(SR.FormCornerPreferenceChangedDescr))] 2723[SRCategory(nameof(SR.CatBehavior))] 2724[SRDescription(nameof(SR.FormOnFormClosedDescr))] 2734[SRCategory(nameof(SR.CatBehavior))] 2735[SRDescription(nameof(SR.FormOnLoadDescr))] 2746[SRCategory(nameof(SR.CatLayout))] 2747[SRDescription(nameof(SR.FormOnMDIChildActivateDescr))] 2757[SRCategory(nameof(SR.CatBehavior))] 2758[SRDescription(nameof(SR.FormOnMenuCompleteDescr))] 2769[SRCategory(nameof(SR.CatBehavior))] 2770[SRDescription(nameof(SR.FormOnMenuStartDescr))] 2781[SRCategory(nameof(SR.CatBehavior))] 2782[SRDescription(nameof(SR.FormOnInputLangChangeDescr))] 2793[SRCategory(nameof(SR.CatBehavior))] 2794[SRDescription(nameof(SR.FormOnInputLangChangeRequestDescr))] 2801[SRCategory(nameof(SR.CatPropertyChanged))] 2802[SRDescription(nameof(SR.ControlOnRightToLeftLayoutChangedDescr))] 2812[SRCategory(nameof(SR.CatBehavior))] 2813[SRDescription(nameof(SR.FormOnShownDescr))] 3248throw new InvalidOperationException(string.Format(SR.ClosingWhileCreatingHandle, "Close")); 4564[SRCategory(nameof(SR.CatLayout))] 4565[SRDescription(nameof(SR.FormOnDpiChangedDescr))] 5100[SRCategory(nameof(SR.CatAction))] 5101[SRDescription(nameof(SR.FormOnResizeBeginDescr))] 5111[SRCategory(nameof(SR.CatAction))] 5112[SRDescription(nameof(SR.FormOnResizeEndDescr))] 5170throw new InvalidOperationException(SR.TooManyResumeUpdateMenuHandles); 5510throw new InvalidOperationException(string.Format(SR.OwnsSelfOrOwner, nameof(Show))); 5515throw new InvalidOperationException(string.Format(SR.ShowDialogOnVisible, nameof(Show))); 5520throw new InvalidOperationException(string.Format(SR.ShowDialogOnDisabled, nameof(Show))); 5525throw new InvalidOperationException(string.Format(SR.ShowDialogOnNonTopLevel, nameof(Show))); 5530throw new InvalidOperationException(SR.CantShowModalOnNonInteractive); 5556throw new ArgumentException(string.Format(SR.OwnsSelfOrOwner, nameof(Show)), nameof(owner)); 5670throw new InvalidOperationException(SR.Form_HasAlreadyBeenShownAsync); 5684?? throw new InvalidOperationException(SR.FormOrTaskDialog_NoSyncContextForShowAsync); 5731throw new ArgumentException(string.Format(SR.OwnsSelfOrOwner, nameof(ShowDialog)), nameof(owner)); 5736throw new InvalidOperationException(string.Format(SR.ShowDialogOnVisible, nameof(ShowDialog))); 5741throw new InvalidOperationException(string.Format(SR.ShowDialogOnDisabled, nameof(ShowDialog))); 5746throw new InvalidOperationException(string.Format(SR.ShowDialogOnNonTopLevel, nameof(ShowDialog))); 5751throw new InvalidOperationException(string.Format(SR.ShowDialogOnModal, nameof(ShowDialog))); 5756throw new InvalidOperationException(SR.CantShowModalOnNonInteractive); 5810throw new ArgumentException(string.Format(SR.OwnsSelfOrOwner, nameof(ShowDialog)), nameof(owner)); 5970throw new InvalidOperationException(SR.Form_HasAlreadyBeenShownAsync); 5984?? throw new InvalidOperationException(SR.FormOrTaskDialog_NoSyncContextForShowAsync);
System\Windows\Forms\Form.RevealMode.cs (4)
42[SRCategory(nameof(SR.CatWindowStyle))] 44[SRDescription(nameof(SR.FormFormRevealModeDescr))] 82[SRCategory(nameof(SR.CatPropertyChanged))] 83[SRDescription(nameof(SR.FormOnFormRevealModeChangedDescr))]
System\Windows\Forms\Help\Help.cs (2)
190throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(param), "Integer"), nameof(param)); 199Uri? file = Resolve(url) ?? throw new ArgumentException(string.Format(SR.HelpInvalidURL, url), nameof(url));
System\Windows\Forms\ImageIndexConverter.cs (3)
53if (value is string stringValue && string.Compare(stringValue, SR.toStringNone, true, culture) == 0) 74return SR.toStringNone; 97throw new NotSupportedException(string.Format(SR.ControlNotSupportedInTrimming, nameof(ImageIndexConverter)));
System\Windows\Forms\ImageKeyConverter.cs (2)
89return SR.toStringNone; 93return SR.toStringNone;
System\Windows\Forms\Input\Cursor.cs (9)
41throw new Win32Exception(string.Format(SR.FailedToLoadCursor, Marshal.GetLastWin32Error())); 61throw new ArgumentException(string.Format(SR.InvalidGDIHandle, (typeof(Cursor)).Name), nameof(handle)); 206[SRCategory(nameof(SR.CatData))] 209[SRDescription(nameof(SR.ControlTagDescr))] 430throw new Win32Exception(string.Format(SR.FailedToLoadCursor, Marshal.GetLastWin32Error())); 435throw new ArgumentException(string.Format(SR.InvalidPictureType, nameof(picture), nameof(Cursor)), paramName); 440throw new ArgumentException(SR.InvalidPictureFormat, paramName, e); 452? new InvalidOperationException(SR.InvalidPictureFormat) 453: new FormatException(SR.CursorCannotCovertToBytes);
System\Windows\Forms\Input\CursorConverter.cs (1)
118throw new FormatException(SR.CursorCannotCovertToString);
System\Windows\Forms\Input\InputLanguage.cs (2)
50throw new ArgumentException(SR.ErrorBadInputLanguage, nameof(value)); 111return key.GetMUIString("Layout Display Name", "Layout Text") ?? SR.UnknownInputLanguageLayout;
System\Windows\Forms\Input\InputLanguageChangedEventArgs.cs (1)
20?? throw new ArgumentException(string.Format(SR.InputLanguageCultureNotFound, culture), nameof(culture));
System\Windows\Forms\Input\InputLanguageChangingEventArgs.cs (1)
21?? throw new ArgumentException(string.Format(SR.InputLanguageCultureNotFound, culture), nameof(culture));
System\Windows\Forms\Input\KeysConverter.cs (15)
40AddLocalizedKey(nameof(SR.toStringEnter), Keys.Return); 44AddLocalizedKey(nameof(SR.toStringEnd), Keys.End); 45AddLocalizedKey(nameof(SR.toStringControl), Keys.Control); 48AddLocalizedKey(nameof(SR.toStringAlt), Keys.Alt); 56AddLocalizedKey(nameof(SR.toStringPageDown), Keys.Next); 57AddLocalizedKey(nameof(SR.toStringInsert), Keys.Insert); 58AddLocalizedKey(nameof(SR.toStringHome), Keys.Home); 59AddLocalizedKey(nameof(SR.toStringDelete), Keys.Delete); 60AddLocalizedKey(nameof(SR.toStringShift), Keys.Shift); 61AddLocalizedKey(nameof(SR.toStringPageUp), Keys.Prior); 62AddLocalizedKey(nameof(SR.toStringBack), Keys.Back); 63AddLocalizedKey(nameof(SR.toStringNone), Keys.None); 90string key = SR.ResourceManager.GetString(resourceName, cultureInfo) ?? 91throw new InvalidOperationException(string.Format(SR.ResourceValueNotFound, resourceName)); 185throw new FormatException(SR.KeysConverterInvalidKeyCombination);
System\Windows\Forms\Internal\Formatter.cs (2)
422string stringResId = (value is null) ? SR.Formatter_CantConvertNull : SR.Formatter_CantConvert;
System\Windows\Forms\Internal\ItemArray.EntryEnumerator.cs (3)
41throw new InvalidOperationException(SR.ListEnumVersionMismatch); 82throw new InvalidOperationException(SR.ListEnumVersionMismatch); 97throw new InvalidOperationException(SR.ListEnumCurrentOutOfRange);
System\Windows\Forms\Internal\ReadOnlyControlCollection.cs (3)
30throw new NotSupportedException(SR.ReadonlyControlsCollection); 42throw new NotSupportedException(SR.ReadonlyControlsCollection); 54throw new NotSupportedException(SR.ReadonlyControlsCollection);
System\Windows\Forms\Internal\TypedControlCollection.cs (2)
43throw new NotSupportedException(SR.ReadonlyControlsCollection); 48throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, string.Format(SR.TypedControlCollectionShouldBeOfType, _typeOfControl.Name)), value.GetType().Name);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (16)
106[SRCategory(nameof(SR.CatLayout))] 116throw new ArgumentOutOfRangeException(nameof(value), value, SR.ContainerControlInvalidAutoScaleDimensions); 162[SRCategory(nameof(SR.CatLayout))] 163[SRDescription(nameof(SR.ContainerControlAutoScaleModeDescr))] 204[SRCategory(nameof(SR.CatBehavior))] 205[SRDescription(nameof(SR.ContainerControlAutoValidate))] 236[SRCategory(nameof(SR.CatPropertyChanged))] 237[SRDescription(nameof(SR.ContainerControlOnAutoValidateChangedDescr))] 248[SRDescription(nameof(SR.ContainerControlBindingContextDescr))] 255throw new NotSupportedException(SR.BindingNotSupported); 279[SRCategory(nameof(SR.CatBehavior))] 282[SRDescription(nameof(SR.ContainerControlActiveControlDescr))] 304[SRCategory(nameof(SR.CatLayout))] 359[SRCategory(nameof(SR.CatAppearance))] 362[SRDescription(nameof(SR.ContainerControlParentFormDescr))] 1458throw new ArgumentException(SR.CannotActivateControl, nameof(value));
System\Windows\Forms\Layout\Containers\SplitContainer.cs (48)
22[SRDescription(nameof(SR.DescriptionSplitContainer))] 115[SRCategory(nameof(SR.CatLayout))] 118[SRDescription(nameof(SR.FormAutoScrollDescr))] 164[SRCategory(nameof(SR.CatLayout))] 168[SRDescription(nameof(SR.FormAutoScrollPositionDescr))] 215[SRDescription(nameof(SR.ContainerControlBindingContextDescr))] 234[SRCategory(nameof(SR.CatAppearance))] 236[SRDescription(nameof(SR.SplitterBorderStyleDescr))] 337[SRCategory(nameof(SR.CatLayout))] 338[SRDescription(nameof(SR.SplitContainerFixedPanelDescr))] 379[SRCategory(nameof(SR.CatLayout))] 382[SRDescription(nameof(SR.SplitContainerIsSplitterFixedDescr))] 414[SRCategory(nameof(SR.CatBehavior))] 417[SRDescription(nameof(SR.SplitContainerOrientationDescr))] 475[SRCategory(nameof(SR.CatAppearance))] 476[SRDescription(nameof(SR.SplitContainerPanel1Descr))] 520[SRCategory(nameof(SR.CatLayout))] 522[SRDescription(nameof(SR.SplitContainerPanel1CollapsedDescr))] 546[SRCategory(nameof(SR.CatLayout))] 548[SRDescription(nameof(SR.SplitContainerPanel2CollapsedDescr))] 572[SRCategory(nameof(SR.CatLayout))] 575[SRDescription(nameof(SR.SplitContainerPanel1MinSizeDescr))] 596[SRCategory(nameof(SR.CatAppearance))] 597[SRDescription(nameof(SR.SplitContainerPanel2Descr))] 605[SRCategory(nameof(SR.CatLayout))] 608[SRDescription(nameof(SR.SplitContainerPanel2MinSizeDescr))] 629[SRCategory(nameof(SR.CatLayout))] 632[SRDescription(nameof(SR.SplitContainerSplitterDistanceDescr))] 664throw new InvalidOperationException(SR.SplitterDistanceNotAllowed); 685throw new InvalidOperationException(SR.SplitterDistanceNotAllowed); 738[SRCategory(nameof(SR.CatLayout))] 741[SRDescription(nameof(SR.SplitContainerSplitterIncrementDescr))] 759[SRCategory(nameof(SR.CatLayout))] 760[SRDescription(nameof(SR.SplitContainerSplitterRectangleDescr))] 776[SRCategory(nameof(SR.CatLayout))] 777[SRDescription(nameof(SR.SplitContainerSplitterWidthDescr))] 815[SRCategory(nameof(SR.CatBehavior))] 818[SRDescription(nameof(SR.ControlTabStopDescr))] 892[SRCategory(nameof(SR.CatBehavior))] 893[SRDescription(nameof(SR.SplitterSplitterMovingDescr))] 900[SRCategory(nameof(SR.CatBehavior))] 901[SRDescription(nameof(SR.SplitterSplitterMovedDescr))] 1261throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(Panel1MinSize), value)); 1268throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(Panel1MinSize), value)); 1290throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(Panel2MinSize), value.ToString())); 1297throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(Panel2MinSize), value)); 1319throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(SplitterWidth), value)); 1326throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(SplitterWidth), value));
System\Windows\Forms\Layout\Containers\SplitContainer.SplitContainerTypedControlCollection.cs (2)
26throw new NotSupportedException(SR.ReadonlyControlsCollection); 48throw new NotSupportedException(SR.ReadonlyControlsCollection);
System\Windows\Forms\Layout\LayoutEngine.cs (1)
14throw new NotSupportedException(string.Format(SR.LayoutEngineUnsupportedType, obj.GetType()));
System\Windows\Forms\Layout\TableLayout.cs (2)
259throw new ArgumentException(SR.TableLayoutPanelFullDesc); 264throw new ArgumentException(SR.TableLayoutPanelSpanDesc);
System\Windows\Forms\MDI\MDIClient.ControlCollection.cs (2)
46throw new ArgumentException(SR.MDIChildAddToNonMDIParent, nameof(value)); 51throw new ArgumentException(SR.AddDifferentThreads, nameof(value));
System\Windows\Forms\MDI\MDIClient.cs (3)
295throw new InvalidOperationException(SR.ErrorSettingWindowRegion); 300throw new InvalidOperationException(SR.ErrorSettingWindowRegion); 305throw new InvalidOperationException(SR.ErrorSettingWindowRegion);
System\Windows\Forms\MDI\MdiControlStrip.SystemMenuItem.cs (1)
13AccessibleName = SR.MDIChildSystemMenuItemAccessibleName;
System\Windows\Forms\MDI\MDIWindowDialog.cs (1)
88throw new NotSupportedException(string.Format(SR.ControlNotSupportedInTrimming, nameof(MdiWindowDialog)));
System\Windows\Forms\MDI\MdiWindowListStrip.cs (1)
141Text = SR.MDIMenuMoreWindows
System\Windows\Forms\NativeWindow.cs (5)
390throw new InvalidOperationException(SR.HandleAlreadyExists); 457throw new OutOfMemoryException(SR.ErrorCreatingHandle, e); 472throw new Win32Exception(lastWin32Error, SR.ErrorCreatingHandle); 779throw new InvalidOperationException(SR.ApplicationCannotChangeApplicationExceptionMode); 784throw new InvalidOperationException(SR.ApplicationCannotChangeThreadExceptionMode);
System\Windows\Forms\NativeWindow.WindowClass.cs (1)
147throw new Win32Exception(Marshal.GetLastWin32Error(), SR.InvalidWndClsName);
System\Windows\Forms\NotifyIcon.cs (39)
16[SRDescription(nameof(SR.DescriptionNotifyIcon))] 78[SRCategory(nameof(SR.CatAppearance))] 81[SRDescription(nameof(SR.NotifyIconBalloonTipTextDescr))] 102[SRCategory(nameof(SR.CatAppearance))] 104[SRDescription(nameof(SR.NotifyIconBalloonTipIconDescr))] 126[SRCategory(nameof(SR.CatAppearance))] 129[SRDescription(nameof(SR.NotifyIconBalloonTipTitleDescr))] 148[SRCategory(nameof(SR.CatAction))] 149[SRDescription(nameof(SR.NotifyIconOnBalloonTipClickedDescr))] 160[SRCategory(nameof(SR.CatAction))] 161[SRDescription(nameof(SR.NotifyIconOnBalloonTipClosedDescr))] 172[SRCategory(nameof(SR.CatAction))] 173[SRDescription(nameof(SR.NotifyIconOnBalloonTipShownDescr))] 181[SRCategory(nameof(SR.CatBehavior))] 182[SRDescription(nameof(SR.NotifyIconMenuDescr))] 200[SRCategory(nameof(SR.CatAppearance))] 203[SRDescription(nameof(SR.NotifyIconIconDescr))] 224[SRCategory(nameof(SR.CatAppearance))] 228[SRDescription(nameof(SR.NotifyIconTextDescr))] 244throw new ArgumentOutOfRangeException(nameof(Text), value, SR.TrayIcon_TextTooLong); 259[SRCategory(nameof(SR.CatBehavior))] 262[SRDescription(nameof(SR.NotifyIconVisDescr))] 279[SRCategory(nameof(SR.CatData))] 282[SRDescription(nameof(SR.ControlTagDescr))] 300[SRCategory(nameof(SR.CatAction))] 301[SRDescription(nameof(SR.ControlOnClickDescr))] 311[SRCategory(nameof(SR.CatAction))] 312[SRDescription(nameof(SR.ControlOnDoubleClickDescr))] 322[SRCategory(nameof(SR.CatAction))] 323[SRDescription(nameof(SR.NotifyIconMouseClickDescr))] 333[SRCategory(nameof(SR.CatAction))] 334[SRDescription(nameof(SR.NotifyIconMouseDoubleClickDescr))] 345[SRCategory(nameof(SR.CatMouse))] 346[SRDescription(nameof(SR.ControlOnMouseDownDescr))] 357[SRCategory(nameof(SR.CatMouse))] 358[SRDescription(nameof(SR.ControlOnMouseMoveDescr))] 370[SRCategory(nameof(SR.CatMouse))] 371[SRDescription(nameof(SR.ControlOnMouseUpDescr))] 551throw new ArgumentException(SR.NotifyIconEmptyOrNullTipText);
System\Windows\Forms\OLE\Clipboard.cs (3)
51throw new ExternalException(SR.ClipboardOperationFailed, (int)result); 64throw new ExternalException(SR.ClipboardOperationFailed, (int)result); 78throw new ExternalException(SR.ClipboardOperationFailed, (int)result);
System\Windows\Forms\OLE\DataObjectExtensions.cs (1)
18SR.ITypeDataObject_Not_Implemented,
System\Windows\Forms\OLE\WinFormsOleServices.cs (2)
32throw new ThreadStateException(SR.ThreadMustBeSTA); 154format = autoConvert ? DataFormatNames.Bitmap : throw new NotSupportedException(SR.DataObjectDibNotSupported);
System\Windows\Forms\Panels\FlowLayoutPanel.cs (5)
13[SRDescription(nameof(SR.DescriptionFlowLayoutPanel))] 25[SRDescription(nameof(SR.FlowPanelFlowDirectionDescr))] 27[SRCategory(nameof(SR.CatLayout))] 39[SRDescription(nameof(SR.FlowPanelWrapContentsDescr))] 41[SRCategory(nameof(SR.CatLayout))]
System\Windows\Forms\Panels\FlowLayoutSettings.cs (4)
19[SRDescription(nameof(SR.FlowPanelFlowDirectionDescr))] 21[SRCategory(nameof(SR.CatLayout))] 32[SRDescription(nameof(SR.FlowPanelWrapContentsDescr))] 34[SRCategory(nameof(SR.CatLayout))]
System\Windows\Forms\Panels\Panel.cs (7)
18[SRDescription(nameof(SR.DescriptionPanel))] 47[SRCategory(nameof(SR.CatPropertyChanged))] 48[SRDescription(nameof(SR.ControlOnAutoSizeChangedDescr))] 60[SRDescription(nameof(SR.ControlAutoSizeModeDescr))] 61[SRCategory(nameof(SR.CatLayout))] 94[SRCategory(nameof(SR.CatAppearance))] 97[SRDescription(nameof(SR.PanelBorderStyleDescr))]
System\Windows\Forms\Panels\SplitterPanel.cs (6)
118[SRCategory(nameof(SR.CatLayout))] 122[SRDescription(nameof(SR.ControlHeightDescr))] 126set => throw new NotSupportedException(SR.SplitContainerPanelHeight); 269[SRCategory(nameof(SR.CatLayout))] 273[SRDescription(nameof(SR.ControlWidthDescr))] 277set => throw new NotSupportedException(SR.SplitContainerPanelWidth);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (27)
21[SRDescription(nameof(SR.DescriptionTableLayoutPanel))] 55throw new NotSupportedException(SR.TableLayoutSettingSettingsIsNotSupported); 74[SRCategory(nameof(SR.CatAppearance))] 75[SRDescription(nameof(SR.TableLayoutPanelCellBorderStyleDescr))] 99[SRDescription(nameof(SR.ControlControlsDescr))] 107[SRDescription(nameof(SR.GridPanelColumnsDescr))] 108[SRCategory(nameof(SR.CatLayout))] 126[SRDescription(nameof(SR.TableLayoutPanelGrowStyleDescr))] 127[SRCategory(nameof(SR.CatLayout))] 140[SRDescription(nameof(SR.GridPanelRowsDescr))] 141[SRCategory(nameof(SR.CatLayout))] 150[SRDescription(nameof(SR.GridPanelRowStylesDescr))] 152[SRCategory(nameof(SR.CatLayout))] 158[SRDescription(nameof(SR.GridPanelColumnStylesDescr))] 160[SRCategory(nameof(SR.CatLayout))] 179[SRDescription(nameof(SR.GridPanelGetColumnSpanDescr))] 181[SRCategory(nameof(SR.CatLayout))] 193[SRDescription(nameof(SR.GridPanelGetRowSpanDescr))] 195[SRCategory(nameof(SR.CatLayout))] 208[SRDescription(nameof(SR.GridPanelRowDescr))] 209[SRCategory(nameof(SR.CatLayout))] 223[SRDescription(nameof(SR.GridPanelCellPositionDescr))] 224[SRCategory(nameof(SR.CatLayout))] 236[SRDescription(nameof(SR.GridPanelColumnDescr))] 237[SRCategory(nameof(SR.CatLayout))] 306[SRCategory(nameof(SR.CatAppearance))] 307[SRDescription(nameof(SR.TableLayoutPanelOnPaintCellDescr))]
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPositionTypeConverter.cs (3)
52SR.TextParseFailedFormat, 88throw new ArgumentException(SR.PropertyValueInvalidEntry, nameof(propertyValues), invalidCast); 92throw new ArgumentException(SR.PropertyValueInvalidEntry, nameof(propertyValues), nullRef);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (20)
64[SRCategory(nameof(SR.CatAppearance))] 65[SRDescription(nameof(SR.TableLayoutPanelCellBorderStyleDescr))] 90[SRDescription(nameof(SR.GridPanelColumnsDescr))] 91[SRCategory(nameof(SR.CatLayout))] 116[SRDescription(nameof(SR.GridPanelRowsDescr))] 117[SRCategory(nameof(SR.CatLayout))] 137[SRDescription(nameof(SR.GridPanelRowStylesDescr))] 139[SRCategory(nameof(SR.CatLayout))] 156[SRDescription(nameof(SR.GridPanelColumnStylesDescr))] 158[SRCategory(nameof(SR.CatLayout))] 180[SRDescription(nameof(SR.TableLayoutPanelGrowStyleDescr))] 181[SRCategory(nameof(SR.CatLayout))] 313[SRDescription(nameof(SR.GridPanelRowDescr))] 314[SRCategory(nameof(SR.CatLayout))] 348[SRDescription(nameof(SR.TableLayoutSettingsGetCellPositionDescr))] 349[SRCategory(nameof(SR.CatLayout))] 361[SRDescription(nameof(SR.TableLayoutSettingsSetCellPositionDescr))] 362[SRCategory(nameof(SR.CatLayout))] 374[SRDescription(nameof(SR.GridPanelColumnDescr))] 375[SRCategory(nameof(SR.CatLayout))]
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (1)
78throw new InvalidOperationException(SR.TableLayoutSettingsConverterNoName);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutStyleCollection.cs (5)
33throw new ArgumentException(string.Format(SR.InvalidArgumentType, nameof(style), typeof(TableLayoutStyle)), nameof(style)); 48throw new ArgumentException(string.Format(SR.InvalidArgumentType, nameof(style), typeof(TableLayoutStyle)), nameof(style)); 65throw new ArgumentException(string.Format(SR.InvalidArgumentType, nameof(value), typeof(TableLayoutStyle)), nameof(value)); 90throw new ArgumentException(string.Format(SR.InvalidArgumentType, nameof(style), typeof(TableLayoutStyle)), nameof(style)); 143throw new ArgumentException(string.Format(SR.OnlyOneControl, style.GetType().Name), nameof(style));
System\Windows\Forms\Printing\PageSetupDialog.cs (23)
16[SRDescription(nameof(SR.DescriptionPageSetupDialog))] 34[SRCategory(nameof(SR.CatBehavior))] 36[SRDescription(nameof(SR.PSDallowMarginsDescr))] 43[SRCategory(nameof(SR.CatBehavior))] 45[SRDescription(nameof(SR.PSDallowOrientationDescr))] 52[SRCategory(nameof(SR.CatBehavior))] 54[SRDescription(nameof(SR.PSDallowPaperDescr))] 60[SRCategory(nameof(SR.CatBehavior))] 62[SRDescription(nameof(SR.PSDallowPrinterDescr))] 68[SRCategory(nameof(SR.CatData))] 70[SRDescription(nameof(SR.PDdocumentDescr))] 90[SRDescription(nameof(SR.PSDenableMetricDescr))] 99[SRCategory(nameof(SR.CatData))] 100[SRDescription(nameof(SR.PSDminMarginsDescr))] 110[SRCategory(nameof(SR.CatData))] 114[SRDescription(nameof(SR.PSDpageSettingsDescr))] 128[SRCategory(nameof(SR.CatData))] 132[SRDescription(nameof(SR.PSDprinterSettingsDescr))] 146[SRCategory(nameof(SR.CatBehavior))] 148[SRDescription(nameof(SR.PSDshowHelpDescr))] 154[SRCategory(nameof(SR.CatBehavior))] 156[SRDescription(nameof(SR.PSDshowNetworkDescr))] 268throw new ArgumentException(SR.PSDcantShowWithoutPage);
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.BackgroundThread.cs (1)
91SR.PrintControllerWithStatusDialog_NowPrinting,
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.cs (1)
18: this(underlyingController, SR.PrintControllerWithStatusDialog_DialogTitlePrint)
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (3)
29if (SR.RTL != "RTL_False") 49Text = SR.PrintControllerWithStatusDialog_Cancel, 87_messageLabel.Text = SR.PrintControllerWithStatusDialog_Canceling;
System\Windows\Forms\Printing\PrintDialog.cs (25)
15[SRDescription(nameof(SR.DescriptionPrintDialog))] 39[SRDescription(nameof(SR.PDallowCurrentPageDescr))] 45[SRCategory(nameof(SR.CatBehavior))] 47[SRDescription(nameof(SR.PDallowPagesDescr))] 53[SRCategory(nameof(SR.CatBehavior))] 55[SRDescription(nameof(SR.PDallowPrintToFileDescr))] 61[SRCategory(nameof(SR.CatBehavior))] 63[SRDescription(nameof(SR.PDallowSelectionDescr))] 70[SRCategory(nameof(SR.CatData))] 72[SRDescription(nameof(SR.PDdocumentDescr))] 90[SRCategory(nameof(SR.CatData))] 94[SRDescription(nameof(SR.PDprinterSettingsDescr))] 112[SRCategory(nameof(SR.CatBehavior))] 114[SRDescription(nameof(SR.PDprintToFileDescr))] 120[SRCategory(nameof(SR.CatBehavior))] 122[SRDescription(nameof(SR.PDshowHelpDescr))] 128[SRCategory(nameof(SR.CatBehavior))] 130[SRDescription(nameof(SR.PDshowNetworkDescr))] 144[SRDescription(nameof(SR.PDuseEXDialog))] 275throw new ArgumentException(string.Format(SR.PDpageOutOfRange, "FromPage")); 281throw new ArgumentException(string.Format(SR.PDpageOutOfRange, "ToPage")); 286throw new ArgumentException(string.Format(SR.PDpageOutOfRange, "FromPage")); 389throw new ArgumentException(string.Format(SR.PDpageOutOfRange, "FromPage")); 395throw new ArgumentException(string.Format(SR.PDpageOutOfRange, "ToPage")); 400throw new ArgumentException(string.Format(SR.PDpageOutOfRange, "FromPage"));
System\Windows\Forms\Printing\PrintPreviewControl.cs (29)
17[SRDescription(nameof(SR.DescriptionPrintPreviewControl))] 68AccessibleName = SR.HScrollBarDefaultAccessibleName, 82AccessibleName = SR.VScrollBarDefaultAccessibleName, 97[SRCategory(nameof(SR.CatBehavior))] 99[SRDescription(nameof(SR.PrintPreviewAntiAliasDescr))] 109[SRCategory(nameof(SR.CatBehavior))] 111[SRDescription(nameof(SR.PrintPreviewAutoZoomDescr))] 128[SRCategory(nameof(SR.CatBehavior))] 129[SRDescription(nameof(SR.PrintPreviewZoomDescr))] 138throw new ArgumentException(SR.PrintPreviewControlZoomNegative); 150[SRCategory(nameof(SR.CatBehavior))] 152[SRDescription(nameof(SR.PrintPreviewDocumentDescr))] 167[SRDescription(nameof(SR.PrintPreviewRowsDescr))] 168[SRCategory(nameof(SR.CatBehavior))] 185[SRCategory(nameof(SR.CatLayout))] 186[SRDescription(nameof(SR.PrintPreviewColumnsDescr))] 203[SRDescription(nameof(SR.PrintPreviewStartPageDescr))] 204[SRCategory(nameof(SR.CatBehavior))] 233[SRCategory(nameof(SR.CatPropertyChanged))] 234[SRDescription(nameof(SR.RadioButtonOnStartPageChangedDescr))] 252[SRCategory(nameof(SR.CatAppearance))] 255[SRDescription(nameof(SR.ControlRightToLeftDescr))] 403[SRCategory(nameof(SR.CatLayout))] 407[SRDescription(nameof(SR.ControlWithScrollbarsVirtualSizeDescr))] 421[SRCategory(nameof(SR.CatLayout))] 424[SRDescription(nameof(SR.ControlWithScrollbarsPositionDescr))] 537SR.PrintControllerWithStatusDialog_DialogTitlePreview); 630string message = isExceptionPrinting ? SR.PrintPreviewExceptionPrinting : SR.PrintPreviewNoPages;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (8)
18[SRDescription(nameof(SR.DescriptionPrintPreviewDialog))] 655[SRCategory(nameof(SR.CatBehavior))] 657[SRDescription(nameof(SR.PrintPreviewAntiAliasDescr))] 681[SRCategory(nameof(SR.CatBehavior))] 683[SRDescription(nameof(SR.PrintPreviewDocumentDescr))] 702[SRCategory(nameof(SR.CatBehavior))] 703[SRDescription(nameof(SR.PrintPreviewPrintPreviewControlDescr))] 1061internal override bool ShouldSerializeText() => !Text.Equals(SR.PrintPreviewDialog_PrintPreview);
System\Windows\Forms\Rendering\GdiCache.cs (1)
73throw new InvalidOperationException(string.Format(SR.InvalidHdcType, type));
System\Windows\Forms\Rendering\TextRenderer.cs (1)
374throw new ArgumentOutOfRangeException(nameof(flags), SR.TextFormatFlagsModifyStringNotAllowed);
System\Windows\Forms\Scrolling\HScrollBar.cs (1)
10[SRDescription(nameof(SR.DescriptionHScrollBar))]
System\Windows\Forms\Scrolling\ScrollableControl.cs (16)
69[SRCategory(nameof(SR.CatLayout))] 72[SRDescription(nameof(SR.FormAutoScrollDescr))] 91[SRCategory(nameof(SR.CatLayout))] 93[SRDescription(nameof(SR.FormAutoScrollMarginDescr))] 101throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(AutoScrollMargin), value)); 111[SRCategory(nameof(SR.CatLayout))] 114[SRDescription(nameof(SR.FormAutoScrollPositionDescr))] 132[SRCategory(nameof(SR.CatLayout))] 134[SRDescription(nameof(SR.FormAutoScrollMinSizeDescr))] 241[SRCategory(nameof(SR.CatLayout))] 242[SRDescription(nameof(SR.ScrollableControlHorizontalScrollDescr))] 259[SRCategory(nameof(SR.CatLayout))] 260[SRDescription(nameof(SR.ScrollableControlVerticalScrollDescr))] 857throw new InvalidOperationException(SR.ScrollableControlActiveControlParentNull); 911[SRCategory(nameof(SR.CatAction))] 912[SRDescription(nameof(SR.ScrollBarOnScrollDescr))]
System\Windows\Forms\Scrolling\ScrollableControl.DockPaddingEdgesConverter.cs (5)
43[SRDescription(nameof(SR.PaddingAllDescr))] 97[SRDescription(nameof(SR.PaddingBottomDescr))] 120[SRDescription(nameof(SR.PaddingLeftDescr))] 143[SRDescription(nameof(SR.PaddingRightDescr))] 166[SRDescription(nameof(SR.PaddingTopDescr))]
System\Windows\Forms\Scrolling\ScrollBar.cs (17)
197[SRCategory(nameof(SR.CatBehavior))] 199[SRDescription(nameof(SR.ScrollBarLargeChangeDescr))] 226[SRCategory(nameof(SR.CatBehavior))] 228[SRDescription(nameof(SR.ScrollBarMaximumDescr))] 256[SRCategory(nameof(SR.CatBehavior))] 258[SRDescription(nameof(SR.ScrollBarMinimumDescr))] 287[SRCategory(nameof(SR.CatBehavior))] 289[SRDescription(nameof(SR.ScrollBarSmallChangeDescr))] 343[SRCategory(nameof(SR.CatBehavior))] 346[SRDescription(nameof(SR.ScrollBarValueDescr))] 356throw new ArgumentOutOfRangeException(nameof(value), string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(Minimum)}'", $"'{nameof(Maximum)}'")); 374[SRCategory(nameof(SR.CatBehavior))] 378[SRDescription(nameof(SR.ControlDpiChangeScale))] 448[SRCategory(nameof(SR.CatAction))] 449[SRDescription(nameof(SR.ScrollBarOnScrollDescr))] 461[SRCategory(nameof(SR.CatAction))] 462[SRDescription(nameof(SR.valueChangedEventDescr))]
System\Windows\Forms\Scrolling\ScrollProperties.cs (15)
38[SRCategory(nameof(SR.CatBehavior))] 40[SRDescription(nameof(SR.ScrollBarEnableDescr))] 69[SRCategory(nameof(SR.CatBehavior))] 71[SRDescription(nameof(SR.ScrollBarLargeChangeDescr))] 99[SRCategory(nameof(SR.CatBehavior))] 101[SRDescription(nameof(SR.ScrollBarMaximumDescr))] 135[SRCategory(nameof(SR.CatBehavior))] 137[SRDescription(nameof(SR.ScrollBarMinimumDescr))] 181[SRCategory(nameof(SR.CatBehavior))] 183[SRDescription(nameof(SR.ScrollBarSmallChangeDescr))] 210[SRCategory(nameof(SR.CatBehavior))] 213[SRDescription(nameof(SR.ScrollBarValueDescr))] 223throw new ArgumentOutOfRangeException(nameof(value), string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(Minimum)}'", $"'{nameof(Maximum)}'")); 236[SRCategory(nameof(SR.CatBehavior))] 238[SRDescription(nameof(SR.ScrollBarVisibleDescr))]
System\Windows\Forms\Scrolling\VScrollBar.cs (1)
12[SRDescription(nameof(SR.DescriptionVScrollBar))]
System\Windows\Forms\SendKeys\SendKeys.cs (14)
232throw new SecurityException(SR.SendKeysHookFailed); 406throw new ArgumentException(string.Format(SR.InvalidSendKeysString, keys)); 440throw new ArgumentException(SR.SendKeysKeywordDelimError); 457throw new ArgumentException(SR.SendKeysKeywordDelimError); 474throw new ArgumentException(SR.SendKeysKeywordDelimError); 479throw new ArgumentException(SR.InvalidSendKeysRepeat); 516throw new ArgumentException(string.Format(SR.InvalidSendKeysKeyword, keys[(i + 1)..j])); 526throw new ArgumentException(string.Format(SR.InvalidSendKeysString, keys)); 537throw new ArgumentException(string.Format(SR.InvalidSendKeysString, keys)); 548throw new ArgumentException(string.Format(SR.InvalidSendKeysString, keys)); 567throw new ArgumentException(SR.SendKeysNestingError); 590throw new ArgumentException(string.Format(SR.InvalidSendKeysString, keys)); 618throw new ArgumentException(SR.SendKeysGroupDelimError); 912throw new InvalidOperationException(SR.SendKeysNoMessageLoop);
System\Windows\Forms\SuspendPaintingScope.cs (1)
160?? throw new InvalidOperationException(SR.ControlMutationExtensionsLayoutSuspensionRequiresControl);
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))] 843throw new InvalidOperationException(SR.ToolTipAddFailed); 1014[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)
201throw new InvalidOperationException(SR.WindowSubclassHandlerWndProcIsNotExceptedOne);