Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WinForms / System / WinForms / Design / DataGridColumnCollectionEditor.cs / 1 / DataGridColumnCollectionEditor.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms.Design { using System; using System.ComponentModel.Design; internal class DataGridColumnCollectionEditor : CollectionEditor { // FxCop made me add this constructor public DataGridColumnCollectionEditor(Type type) : base(type) {} ////// /// Retrieves the data types this collection can contain. The default /// implementation looks inside of the collection for the Item property /// and returns the returning datatype of the item. Do not call this /// method directly. Instead, use the ItemTypes property. Use this /// method to override the default implementation. /// protected override Type[] CreateNewItemTypes() { return new Type[] { typeof(DataGridTextBoxColumn), typeof(DataGridBoolColumn) }; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- NameTable.cs
- DocumentApplication.cs
- NodeInfo.cs
- ping.cs
- InfiniteTimeSpanConverter.cs
- ContextStaticAttribute.cs
- SafeFileMappingHandle.cs
- TreeViewImageIndexConverter.cs
- DateTimeConverter2.cs
- SimpleTypesSurrogate.cs
- XsltCompileContext.cs
- GenericWebPart.cs
- DataTemplate.cs
- WebPartMinimizeVerb.cs
- CustomAttributeFormatException.cs
- ErrorsHelper.cs
- TypeConverters.cs
- XPathParser.cs
- TimeoutException.cs
- FormDocumentDesigner.cs
- Faults.cs
- FixedPosition.cs
- StatusBar.cs
- XmlEncodedRawTextWriter.cs
- TransformGroup.cs
- Random.cs
- xdrvalidator.cs
- MultiDataTrigger.cs
- CustomAttribute.cs
- IntMinMaxAggregationOperator.cs
- PointCollection.cs
- HelpEvent.cs
- ServiceManagerHandle.cs
- XmlWriterTraceListener.cs
- BuildManager.cs
- ObjectQueryExecutionPlan.cs
- DesignerEditorPartChrome.cs
- NativeRecognizer.cs
- PieceNameHelper.cs
- TabControlEvent.cs
- EastAsianLunisolarCalendar.cs
- PeerNeighborManager.cs
- AutomationElementIdentifiers.cs
- HatchBrush.cs
- ResXResourceSet.cs
- StaticContext.cs
- HyperLinkColumn.cs
- HtmlEncodedRawTextWriter.cs
- Vector.cs
- HttpUnhandledOperationInvoker.cs
- ValueProviderWrapper.cs
- Int32Converter.cs
- CallSiteOps.cs
- MessageQueueAccessControlEntry.cs
- UpdatePanel.cs
- SafeCryptoHandles.cs
- RenderOptions.cs
- AutoResetEvent.cs
- JapaneseCalendar.cs
- QilDataSource.cs
- DataObjectFieldAttribute.cs
- WebPartManager.cs
- CustomErrorsSectionWrapper.cs
- WindowsListViewGroupHelper.cs
- ApplicationServicesHostFactory.cs
- AutoResetEvent.cs
- _DomainName.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- FrameSecurityDescriptor.cs
- StringArrayConverter.cs
- ZipIOLocalFileHeader.cs
- EntityDescriptor.cs
- DataObjectPastingEventArgs.cs
- XPathMultyIterator.cs
- MsmqActivation.cs
- PeerTransportElement.cs
- HtmlTableRow.cs
- HMACSHA384.cs
- _UncName.cs
- CommandArguments.cs
- ContextProperty.cs
- OleDbTransaction.cs
- RoutingBehavior.cs
- FileNotFoundException.cs
- DataGridViewColumnCollection.cs
- RequestTimeoutManager.cs
- bidPrivateBase.cs
- TypographyProperties.cs
- Context.cs
- RuleEngine.cs
- BaseValidator.cs
- SEHException.cs
- ConnectionManagementSection.cs
- ToolStripPanelCell.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- QueryConverter.cs
- DataGridViewComboBoxCell.cs
- SettingsAttributes.cs
- IteratorFilter.cs
- RowUpdatingEventArgs.cs