Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Framework / System / Windows / Documents / ListItemCollection.cs / 1 / ListItemCollection.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // // Description: Collection of ListItem elements // //--------------------------------------------------------------------------- namespace System.Windows.Documents { using MS.Internal; // Invariant ////// Collection of ListItem elements /// public class ListItemCollection : TextElementCollection{ //------------------------------------------------------------------- // // Constructors // //------------------------------------------------------------------- #region Constructors // This kind of collection is suposed to be created by owning List elements only. // Note that when a SiblingListItems collection is created for a ListItem, the owner of collection is that member ListItem object. // Flag isOwnerParent indicates whether owner is a parent or a member of the collection. internal ListItemCollection(DependencyObject owner, bool isOwnerParent) : base(owner, isOwnerParent) { } #endregion Constructors //-------------------------------------------------------------------- // // Public Properties // //------------------------------------------------------------------- #region Public Properties /// /// Returns a first ListItem of this collection /// public ListItem FirstListItem { get { return this.FirstChild; } } ////// Returns a last ListItem of this collection /// public ListItem LastListItem { get { return this.LastChild; } } #endregion Public Properties } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // // Description: Collection of ListItem elements // //--------------------------------------------------------------------------- namespace System.Windows.Documents { using MS.Internal; // Invariant ////// Collection of ListItem elements /// public class ListItemCollection : TextElementCollection{ //------------------------------------------------------------------- // // Constructors // //------------------------------------------------------------------- #region Constructors // This kind of collection is suposed to be created by owning List elements only. // Note that when a SiblingListItems collection is created for a ListItem, the owner of collection is that member ListItem object. // Flag isOwnerParent indicates whether owner is a parent or a member of the collection. internal ListItemCollection(DependencyObject owner, bool isOwnerParent) : base(owner, isOwnerParent) { } #endregion Constructors //-------------------------------------------------------------------- // // Public Properties // //------------------------------------------------------------------- #region Public Properties /// /// Returns a first ListItem of this collection /// public ListItem FirstListItem { get { return this.FirstChild; } } ////// Returns a last ListItem of this collection /// public ListItem LastListItem { get { return this.LastChild; } } #endregion Public Properties } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ListViewSortEventArgs.cs
- ServerProtocol.cs
- ListViewSelectEventArgs.cs
- BitmapSource.cs
- IDQuery.cs
- KeyNotFoundException.cs
- MemberJoinTreeNode.cs
- DiscreteKeyFrames.cs
- PropertyEntry.cs
- StyleSheetDesigner.cs
- DispatchChannelSink.cs
- DataGridCell.cs
- SapiRecoInterop.cs
- CollectionView.cs
- CancellationHandler.cs
- StorageAssociationTypeMapping.cs
- DataSourceHelper.cs
- HwndProxyElementProvider.cs
- TypefaceMetricsCache.cs
- XamlReader.cs
- MD5CryptoServiceProvider.cs
- ConfigurationValue.cs
- ProtocolsSection.cs
- WindowsScrollBar.cs
- ELinqQueryState.cs
- ProviderConnectionPoint.cs
- XmlSchemaFacet.cs
- ConnectionPoint.cs
- ColumnResult.cs
- CodeAttributeArgument.cs
- ViewBox.cs
- PageRanges.cs
- DrawingContext.cs
- KeyPullup.cs
- TypeAccessException.cs
- storepermissionattribute.cs
- DataGridItemCollection.cs
- MessageSecurityException.cs
- RubberbandSelector.cs
- NetworkStream.cs
- TokenBasedSet.cs
- RealizationContext.cs
- SqlUserDefinedTypeAttribute.cs
- ClientSession.cs
- StylusPointProperty.cs
- Camera.cs
- Boolean.cs
- Ops.cs
- StorageEntityTypeMapping.cs
- Transform3D.cs
- CurrencyManager.cs
- FormatterServices.cs
- BufferModesCollection.cs
- SamlConditions.cs
- ADMembershipProvider.cs
- HttpSocketManager.cs
- XmlWriterSettings.cs
- DoubleAverageAggregationOperator.cs
- DefaultTextStoreTextComposition.cs
- CodeTypeDeclaration.cs
- OutOfMemoryException.cs
- RelationshipNavigation.cs
- HttpHeaderCollection.cs
- PlaceHolder.cs
- EnglishPluralizationService.cs
- LicenseProviderAttribute.cs
- WebResourceUtil.cs
- PeekCompletedEventArgs.cs
- XmlQueryType.cs
- HttpContext.cs
- PeerName.cs
- MessagePropertyVariants.cs
- DbProviderFactories.cs
- ColorAnimationUsingKeyFrames.cs
- ListenerElementsCollection.cs
- AppAction.cs
- TextElement.cs
- ViewGenerator.cs
- SaveFileDialog.cs
- PriorityChain.cs
- ListBindingConverter.cs
- CommonDialog.cs
- ContentHostHelper.cs
- TextRenderer.cs
- GradientStopCollection.cs
- UserPreferenceChangingEventArgs.cs
- LabelDesigner.cs
- MaskInputRejectedEventArgs.cs
- ZipIOExtraFieldZip64Element.cs
- HashCodeCombiner.cs
- RowUpdatingEventArgs.cs
- ScrollBar.cs
- DeferrableContentConverter.cs
- SessionPageStatePersister.cs
- DbParameterHelper.cs
- XsltCompileContext.cs
- Conditional.cs
- BehaviorEditorPart.cs
- X509ChainElement.cs
- KnownColorTable.cs