Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / System / ComponentModel / IItemProperties.cs / 1305600 / IItemProperties.cs
//---------------------------------------------------------------------------- // //// Copyright (C) 2007 by Microsoft Corporation. All rights reserved. // // // // Description: Editing functionality for collection views. // // See spec at http://sharepoint/sites/wpftsv/Documents/DataGrid/DataGrid_CollectionView.mht // //--------------------------------------------------------------------------- using System; using System.Collections.ObjectModel; // ReadOnlyCollectionnamespace System.ComponentModel { /// /// IItemProperties is an interface that a collection view /// can implement to expose information about the properties available on /// items in the underlying collection. /// public interface IItemProperties { ////// Returns information about the properties available on items in the /// underlying collection. This information may come from a schema, from /// a type descriptor, from a representative item, or from some other source /// known to the view. /// ReadOnlyCollectionItemProperties { get; } } /// /// Information about a property. Returned by public class ItemPropertyInfo { ////// Creates a new instance of ItemPropertyInfo. public ItemPropertyInfo(string name, Type type, object descriptor) { _name = name; _type = type; _descriptor = descriptor; } ///The property's name. public string Name { get { return _name; } } ///The property's type. public Type PropertyType { get { return _type; } } ///More information about the property. This may be null, /// the view is unable to provide any more information. Or it may be /// an object that describes the property, such as a PropertyDescriptor, /// a PropertyInfo, or the like. /// public object Descriptor { get { return _descriptor; } } string _name; Type _type; object _descriptor; } } // 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
- TypeDependencyAttribute.cs
- ResourceDictionaryCollection.cs
- StateBag.cs
- SelfIssuedAuthRSACryptoProvider.cs
- Scanner.cs
- ToolStripPanel.cs
- StateRuntime.cs
- RichTextBox.cs
- Options.cs
- ObjectAnimationBase.cs
- ToolStripMenuItem.cs
- AutomationElementCollection.cs
- Opcode.cs
- RootBuilder.cs
- TreeNodeEventArgs.cs
- TypeListConverter.cs
- CodeDomComponentSerializationService.cs
- Number.cs
- EntityClassGenerator.cs
- odbcmetadatacolumnnames.cs
- CollectionViewGroup.cs
- InvalidPrinterException.cs
- ShapeTypeface.cs
- MailSettingsSection.cs
- CustomErrorCollection.cs
- autovalidator.cs
- DynamicDataResources.Designer.cs
- SchemaAttDef.cs
- AndMessageFilterTable.cs
- IItemContainerGenerator.cs
- ProofTokenCryptoHandle.cs
- CustomBinding.cs
- PKCS1MaskGenerationMethod.cs
- RequestTimeoutManager.cs
- NumericUpDown.cs
- CultureMapper.cs
- NumericUpDownAccelerationCollection.cs
- __ConsoleStream.cs
- SettingsAttributeDictionary.cs
- Rotation3DAnimationBase.cs
- CustomSignedXml.cs
- ListViewGroupItemCollection.cs
- CodeBlockBuilder.cs
- AttachmentService.cs
- MemberRestriction.cs
- TextRunTypographyProperties.cs
- DLinqAssociationProvider.cs
- ExpressionBuilderCollection.cs
- InvokerUtil.cs
- ListViewItemEventArgs.cs
- ToolStripScrollButton.cs
- TextTreeFixupNode.cs
- DBConcurrencyException.cs
- TemplatePartAttribute.cs
- GestureRecognitionResult.cs
- XmlNodeComparer.cs
- Collection.cs
- Material.cs
- SqlDelegatedTransaction.cs
- CodeAttributeDeclaration.cs
- ComponentCommands.cs
- BasicExpandProvider.cs
- SqlSupersetValidator.cs
- HtmlElementEventArgs.cs
- DesignerTransactionCloseEvent.cs
- ConnectionPoolManager.cs
- TimelineGroup.cs
- ContentType.cs
- InstancePersistenceCommand.cs
- SecurityCriticalDataForSet.cs
- RangeValidator.cs
- DSASignatureFormatter.cs
- CompressEmulationStream.cs
- DataContext.cs
- XsdValidatingReader.cs
- DbDataReader.cs
- SQLStringStorage.cs
- ConfigurationErrorsException.cs
- WebPartsPersonalizationAuthorization.cs
- SessionEndingCancelEventArgs.cs
- Point3DAnimationBase.cs
- ConstNode.cs
- SqlTriggerContext.cs
- WpfXamlLoader.cs
- CredentialCache.cs
- ExtensibleClassFactory.cs
- Shape.cs
- InputMethodStateChangeEventArgs.cs
- StrokeRenderer.cs
- SafeThemeHandle.cs
- EntityStoreSchemaFilterEntry.cs
- RestHandlerFactory.cs
- SystemTcpStatistics.cs
- AttachInfo.cs
- CodeChecksumPragma.cs
- PolyQuadraticBezierSegment.cs
- BamlLocalizableResourceKey.cs
- DataBinder.cs
- OperationResponse.cs
- EntityConnectionStringBuilder.cs