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
- ContractHandle.cs
- HttpTransportManager.cs
- StrokeRenderer.cs
- RequestCachePolicy.cs
- PieceNameHelper.cs
- XslAstAnalyzer.cs
- EntityDataSourceChangingEventArgs.cs
- FunctionNode.cs
- ZoneIdentityPermission.cs
- DataMemberFieldEditor.cs
- TreeBuilderBamlTranslator.cs
- SpellerError.cs
- ToolStripDropDownMenu.cs
- ArgumentException.cs
- ChangeTracker.cs
- CompareValidator.cs
- RsaKeyIdentifierClause.cs
- TreeViewHitTestInfo.cs
- DataGridViewRowPrePaintEventArgs.cs
- PartBasedPackageProperties.cs
- GridViewRow.cs
- EventWaitHandle.cs
- HwndSourceKeyboardInputSite.cs
- BufferModesCollection.cs
- WebServiceHostFactory.cs
- filewebresponse.cs
- DynamicQueryableWrapper.cs
- MulticastOption.cs
- COM2ExtendedBrowsingHandler.cs
- FileVersionInfo.cs
- PersonalizationEntry.cs
- PointAnimationClockResource.cs
- EncoderReplacementFallback.cs
- webeventbuffer.cs
- LogWriteRestartAreaState.cs
- HiddenField.cs
- SharedStatics.cs
- AsyncPostBackErrorEventArgs.cs
- OneWayChannelListener.cs
- DockAndAnchorLayout.cs
- _PooledStream.cs
- DispatcherOperation.cs
- XmlText.cs
- HttpChannelBindingToken.cs
- IdentityReference.cs
- AccessDataSource.cs
- PropertyGridCommands.cs
- DataServices.cs
- peersecuritysettings.cs
- DataGridViewCellFormattingEventArgs.cs
- StylusSystemGestureEventArgs.cs
- ExtensionFile.cs
- BrushConverter.cs
- documentsequencetextpointer.cs
- DBConnectionString.cs
- EncoderNLS.cs
- ScaleTransform.cs
- HttpCachePolicyBase.cs
- DeviceContext2.cs
- GridViewEditEventArgs.cs
- InheritablePropertyChangeInfo.cs
- SiteMap.cs
- SchemaNames.cs
- NullEntityWrapper.cs
- CoreSwitches.cs
- SvcMapFile.cs
- CodeTypeDeclaration.cs
- XamlVector3DCollectionSerializer.cs
- Util.cs
- ZipIOCentralDirectoryFileHeader.cs
- DbConnectionPool.cs
- ZipPackage.cs
- ConfigurationStrings.cs
- GlyphShapingProperties.cs
- DocumentApplicationJournalEntry.cs
- DataBindingHandlerAttribute.cs
- WebPermission.cs
- IFlowDocumentViewer.cs
- SlotInfo.cs
- XmlSchemaSimpleTypeRestriction.cs
- SoapMessage.cs
- IndexedGlyphRun.cs
- WrappedIUnknown.cs
- WebResourceAttribute.cs
- TemplateBindingExtension.cs
- XmlNullResolver.cs
- TextSimpleMarkerProperties.cs
- ReadOnlyPropertyMetadata.cs
- TrackPointCollection.cs
- ToolBarPanel.cs
- ConstructorBuilder.cs
- URL.cs
- Base64Encoder.cs
- PageCodeDomTreeGenerator.cs
- SqlMethods.cs
- ToolStripControlHost.cs
- FrameworkElementAutomationPeer.cs
- KeyGestureValueSerializer.cs
- NamespaceDecl.cs
- Setter.cs