Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Evaluator.cs
- HandleCollector.cs
- FaultPropagationRecord.cs
- ObjectQueryExecutionPlan.cs
- AutomationElementCollection.cs
- HtmlTernaryTree.cs
- XmlSchemas.cs
- BamlRecordWriter.cs
- BamlRecords.cs
- RegexBoyerMoore.cs
- DataGridRow.cs
- TextEffectCollection.cs
- StringDictionaryWithComparer.cs
- OrderByExpression.cs
- EditCommandColumn.cs
- EdmRelationshipRoleAttribute.cs
- UrlMapping.cs
- OdbcConnectionOpen.cs
- mongolianshape.cs
- Form.cs
- AstNode.cs
- TagNameToTypeMapper.cs
- ConfigurationFileMap.cs
- _SSPIWrapper.cs
- ISCIIEncoding.cs
- EntityWithChangeTrackerStrategy.cs
- CodeTypeReferenceCollection.cs
- CompoundFileDeflateTransform.cs
- ListDictionaryInternal.cs
- UnescapedXmlDiagnosticData.cs
- Crc32Helper.cs
- PropertyToken.cs
- FixedPosition.cs
- PackageRelationshipCollection.cs
- AsyncStreamReader.cs
- RadioButtonBaseAdapter.cs
- QuaternionAnimation.cs
- CharStorage.cs
- counter.cs
- DetailsViewDeleteEventArgs.cs
- DataSourceXmlClassAttribute.cs
- LineBreakRecord.cs
- TextEndOfParagraph.cs
- SHA1CryptoServiceProvider.cs
- COM2ExtendedBrowsingHandler.cs
- SQLResource.cs
- DoubleKeyFrameCollection.cs
- CurrencyManager.cs
- XamlTemplateSerializer.cs
- BaseParagraph.cs
- IdentifierCollection.cs
- Geometry.cs
- DbDataAdapter.cs
- NavigatingCancelEventArgs.cs
- ConfigXmlCDataSection.cs
- DynamicQueryStringParameter.cs
- StagingAreaInputItem.cs
- ImageClickEventArgs.cs
- VirtualDirectoryMapping.cs
- Substitution.cs
- ToolStripLocationCancelEventArgs.cs
- ReaderWriterLock.cs
- Floater.cs
- Matrix3D.cs
- Stack.cs
- ByteStack.cs
- SapiRecoContext.cs
- KnowledgeBase.cs
- GatewayIPAddressInformationCollection.cs
- ScaleTransform3D.cs
- FontUnit.cs
- WebPartActionVerb.cs
- IteratorFilter.cs
- MemberInitExpression.cs
- DecoderReplacementFallback.cs
- BooleanToVisibilityConverter.cs
- Set.cs
- SectionRecord.cs
- _ProxyChain.cs
- DesignerProperties.cs
- HWStack.cs
- SplineKeyFrames.cs
- ArgumentException.cs
- QueryCacheManager.cs
- ObjectIDGenerator.cs
- BamlTreeMap.cs
- TabPage.cs
- Decimal.cs
- BaseCodePageEncoding.cs
- InternalConfigEventArgs.cs
- HandlerFactoryCache.cs
- ColorInterpolationModeValidation.cs
- RegionIterator.cs
- WeakRefEnumerator.cs
- InstanceKeyCollisionException.cs
- DataRowCollection.cs
- HierarchicalDataBoundControl.cs
- WebPartVerbCollection.cs
- TypeDependencyAttribute.cs
- DynamicValueConverter.cs