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
- StickyNoteContentControl.cs
- LinqDataSourceUpdateEventArgs.cs
- Panel.cs
- SizeFConverter.cs
- ActivityExecutorSurrogate.cs
- ListBox.cs
- JoinGraph.cs
- TemplateBuilder.cs
- SimpleApplicationHost.cs
- OnOperation.cs
- DataStreamFromComStream.cs
- NotFiniteNumberException.cs
- XmlValidatingReader.cs
- ZipIORawDataFileBlock.cs
- CompositeCollection.cs
- SpeakProgressEventArgs.cs
- FlowDocumentPaginator.cs
- DescendentsWalker.cs
- Pipe.cs
- XpsS0ValidatingLoader.cs
- CaseKeyBox.ViewModel.cs
- UpdatePanelControlTrigger.cs
- DataGridComponentEditor.cs
- FixUpCollection.cs
- SQLRoleProvider.cs
- Internal.cs
- WindowsRichEdit.cs
- AsyncResult.cs
- PageContentCollection.cs
- MethodResolver.cs
- CqlErrorHelper.cs
- DependencyPropertyHelper.cs
- SerializationException.cs
- ProviderIncompatibleException.cs
- SR.Designer.cs
- DataGridViewCellConverter.cs
- DummyDataSource.cs
- EntityConnectionStringBuilderItem.cs
- ListSortDescription.cs
- Style.cs
- SizeAnimationClockResource.cs
- XmlSerializerAssemblyAttribute.cs
- ObjectDataSourceEventArgs.cs
- IteratorDescriptor.cs
- Menu.cs
- SecurityKeyIdentifierClause.cs
- UpdatePanelControlTrigger.cs
- ColumnWidthChangingEvent.cs
- BitmapSizeOptions.cs
- StatusBarAutomationPeer.cs
- HandlerBase.cs
- ZipArchive.cs
- SchemaNames.cs
- LocatorPart.cs
- DllNotFoundException.cs
- CacheMemory.cs
- ColorConvertedBitmap.cs
- ValueTable.cs
- DesignTimeHTMLTextWriter.cs
- FormViewDeletedEventArgs.cs
- DPAPIProtectedConfigurationProvider.cs
- SubstitutionDesigner.cs
- FrameworkElement.cs
- XmlTypeAttribute.cs
- KeyToListMap.cs
- FixedFindEngine.cs
- HttpCookieCollection.cs
- PropertyGrid.cs
- DatagridviewDisplayedBandsData.cs
- DispatchChannelSink.cs
- TraceRecords.cs
- DeclarationUpdate.cs
- RefExpr.cs
- Debug.cs
- ColumnCollection.cs
- Action.cs
- IgnoreDeviceFilterElementCollection.cs
- XmlHelper.cs
- DragEvent.cs
- HandlerMappingMemo.cs
- ButtonBaseAutomationPeer.cs
- XmlSchemas.cs
- WinCategoryAttribute.cs
- SharedPersonalizationStateInfo.cs
- BindingExpression.cs
- ClassHandlersStore.cs
- Button.cs
- HttpPostedFileBase.cs
- XmlHierarchicalDataSourceView.cs
- SkewTransform.cs
- PackageRelationshipCollection.cs
- GeneralTransform3DGroup.cs
- RightsManagementSuppressedStream.cs
- RecordManager.cs
- ActivationServices.cs
- IUnknownConstantAttribute.cs
- NetworkStream.cs
- NotFiniteNumberException.cs
- ContextQuery.cs
- PreviousTrackingServiceAttribute.cs