Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Documents / ListItemCollection.cs / 1305600 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CryptoApi.cs
- DataObjectMethodAttribute.cs
- InstanceHandleConflictException.cs
- KeyValuePair.cs
- thaishape.cs
- BindingCompleteEventArgs.cs
- activationcontext.cs
- SafeNativeMethods.cs
- ACE.cs
- TableCellCollection.cs
- ProviderBase.cs
- MenuScrollingVisibilityConverter.cs
- Utils.cs
- WindowsListView.cs
- ObjectItemAssemblyLoader.cs
- RelationshipEndCollection.cs
- RangeBase.cs
- XhtmlBasicTextBoxAdapter.cs
- ClientSession.cs
- StandardToolWindows.cs
- ModelFunction.cs
- Scheduler.cs
- NullReferenceException.cs
- AdCreatedEventArgs.cs
- RoleManagerSection.cs
- StreamInfo.cs
- GridViewSortEventArgs.cs
- MarkupCompilePass1.cs
- ObjectQueryProvider.cs
- ParameterCollection.cs
- OleDbStruct.cs
- TransformedBitmap.cs
- InstanceContext.cs
- CacheDependency.cs
- InvalidDataContractException.cs
- CodePageEncoding.cs
- PersonalizationProviderCollection.cs
- InplaceBitmapMetadataWriter.cs
- SortDescription.cs
- FixedDocumentSequencePaginator.cs
- ContentPlaceHolder.cs
- ConnectionPointCookie.cs
- SHA384Managed.cs
- WebConfigurationHostFileChange.cs
- IntegrationExceptionEventArgs.cs
- SupportingTokenSecurityTokenResolver.cs
- Statements.cs
- HMAC.cs
- FactoryGenerator.cs
- CreateUserWizardDesigner.cs
- FixUp.cs
- UnsafeNativeMethods.cs
- Debug.cs
- RadioButtonDesigner.cs
- ControlAdapter.cs
- UserNameSecurityTokenProvider.cs
- CompiledQuery.cs
- IncomingWebRequestContext.cs
- FontNamesConverter.cs
- RectangleConverter.cs
- NavigateEvent.cs
- PeerNameResolver.cs
- BehaviorDragDropEventArgs.cs
- ValueUnavailableException.cs
- CmsUtils.cs
- DataGridViewColumn.cs
- Int32RectValueSerializer.cs
- CodeParameterDeclarationExpressionCollection.cs
- ThemeableAttribute.cs
- _BufferOffsetSize.cs
- ObjectNavigationPropertyMapping.cs
- WindowsFormsHost.cs
- SignatureDescription.cs
- HtmlUtf8RawTextWriter.cs
- connectionpool.cs
- NamespaceDecl.cs
- ProtocolsSection.cs
- CompilerInfo.cs
- HttpMethodConstraint.cs
- SerializeAbsoluteContext.cs
- StagingAreaInputItem.cs
- DistributedTransactionPermission.cs
- Point3D.cs
- NTAccount.cs
- UIElementAutomationPeer.cs
- CustomWebEventKey.cs
- UpdateException.cs
- XmlSchemaNotation.cs
- SystemColors.cs
- DataGridViewCellConverter.cs
- _SSPISessionCache.cs
- RegexRunnerFactory.cs
- DataGridTableCollection.cs
- UIntPtr.cs
- TileBrush.cs
- DBSchemaRow.cs
- SharedStatics.cs
- WebHttpSecurity.cs
- ProviderUtil.cs
- TrackingStringDictionary.cs