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
- BaseAsyncResult.cs
- WpfPayload.cs
- SystemTcpStatistics.cs
- TemplateControlParser.cs
- RegistryConfigurationProvider.cs
- XmlSchemaComplexContentExtension.cs
- DocumentPageView.cs
- MailAddressCollection.cs
- LineSegment.cs
- ServerType.cs
- AssociatedControlConverter.cs
- ProjectionNode.cs
- EntityException.cs
- PinnedBufferMemoryStream.cs
- XmlSchemaComplexContentExtension.cs
- Camera.cs
- CompatibleIComparer.cs
- IImplicitResourceProvider.cs
- MarshalByValueComponent.cs
- ReferenceConverter.cs
- SpanIndex.cs
- RewritingSimplifier.cs
- RuleConditionDialog.cs
- HandleRef.cs
- Page.cs
- PlatformNotSupportedException.cs
- DataTablePropertyDescriptor.cs
- MenuCommands.cs
- Repeater.cs
- ObjectAnimationUsingKeyFrames.cs
- XmlSerializationWriter.cs
- RenderData.cs
- StringValueSerializer.cs
- XmlSerializerFactory.cs
- BinaryCommonClasses.cs
- MailHeaderInfo.cs
- SchemaSetCompiler.cs
- RealProxy.cs
- URL.cs
- DecimalConstantAttribute.cs
- StreamReader.cs
- HttpCachePolicyElement.cs
- ItemContainerGenerator.cs
- PagesSection.cs
- UpdateTranslator.cs
- DateTimeUtil.cs
- GroupBox.cs
- AssemblyName.cs
- SelectionListComponentEditor.cs
- DataShape.cs
- ComponentGlyph.cs
- PeerInvitationResponse.cs
- BasicExpandProvider.cs
- PersonalizationStateQuery.cs
- HtmlLink.cs
- ExpandableObjectConverter.cs
- x509store.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- SmtpCommands.cs
- RegularExpressionValidator.cs
- GeneralTransform2DTo3D.cs
- TableNameAttribute.cs
- SqlDependency.cs
- CredentialSelector.cs
- TemplateLookupAction.cs
- WebPartConnectVerb.cs
- MenuItemBinding.cs
- DecoderFallback.cs
- AdornedElementPlaceholder.cs
- StylusPointDescription.cs
- AsyncResult.cs
- Vector3DCollection.cs
- SpeechRecognitionEngine.cs
- Models.cs
- Msec.cs
- DecoratedNameAttribute.cs
- GenericTypeParameterBuilder.cs
- BinaryParser.cs
- Queue.cs
- RadialGradientBrush.cs
- Clause.cs
- XmlDataSourceView.cs
- SafeHandle.cs
- Line.cs
- PageTheme.cs
- controlskin.cs
- PhysicalFontFamily.cs
- RoleGroup.cs
- TreeView.cs
- CommandCollectionEditor.cs
- TreeNodeEventArgs.cs
- PageStatePersister.cs
- ExplicitDiscriminatorMap.cs
- MetricEntry.cs
- DocumentViewerHelper.cs
- HttpListener.cs
- KerberosSecurityTokenAuthenticator.cs
- XmlNodeChangedEventManager.cs
- RsaSecurityTokenAuthenticator.cs
- GeometryCollection.cs