Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------------- // // 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
- ADRoleFactory.cs
- CustomDictionarySources.cs
- PlainXmlSerializer.cs
- AuthStoreRoleProvider.cs
- XamlGridLengthSerializer.cs
- WriterOutput.cs
- _DynamicWinsockMethods.cs
- DeviceContexts.cs
- SqlTypeConverter.cs
- StringCollection.cs
- ContentTextAutomationPeer.cs
- HTMLTagNameToTypeMapper.cs
- HttpValueCollection.cs
- XmlSchemaCompilationSettings.cs
- ParserContext.cs
- XmlSchemaSimpleTypeList.cs
- ContactManager.cs
- NameSpaceExtractor.cs
- _RequestCacheProtocol.cs
- XmlNavigatorStack.cs
- QueryRewriter.cs
- HtmlDocument.cs
- XXXInfos.cs
- CodeTryCatchFinallyStatement.cs
- TextFormatterImp.cs
- InputLanguageSource.cs
- ConvertersCollection.cs
- EntityContainer.cs
- FunctionImportElement.cs
- RIPEMD160Managed.cs
- ObjectStateEntryDbDataRecord.cs
- MultiTrigger.cs
- DefinitionBase.cs
- CheckBox.cs
- Effect.cs
- ListBoxItemWrapperAutomationPeer.cs
- DataRowComparer.cs
- LocatorManager.cs
- LineGeometry.cs
- ValidationEventArgs.cs
- DrawingAttributesDefaultValueFactory.cs
- DataSourceDescriptorCollection.cs
- StringToken.cs
- BoolLiteral.cs
- DataReaderContainer.cs
- SHA256Managed.cs
- SynchronizedRandom.cs
- BulletedList.cs
- SafeRightsManagementPubHandle.cs
- GridViewRowCollection.cs
- ObjectConverter.cs
- MethodExecutor.cs
- PeerSecurityHelpers.cs
- IdentityHolder.cs
- Bidi.cs
- HtmlTextArea.cs
- GiveFeedbackEvent.cs
- EnumBuilder.cs
- ControlBuilderAttribute.cs
- MessagePropertyAttribute.cs
- FastEncoderWindow.cs
- EventQueueState.cs
- Int16Storage.cs
- MimeWriter.cs
- HttpListenerPrefixCollection.cs
- WindowsRichEdit.cs
- CounterSet.cs
- ManipulationInertiaStartingEventArgs.cs
- BitmapEffectDrawing.cs
- XmlIgnoreAttribute.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- SiteMapHierarchicalDataSourceView.cs
- WindowsPrincipal.cs
- FloatUtil.cs
- StrokeCollection2.cs
- MetadataArtifactLoaderFile.cs
- TiffBitmapDecoder.cs
- NumberFormatInfo.cs
- BrowserDefinitionCollection.cs
- BrushValueSerializer.cs
- MissingMethodException.cs
- DeclarativeCatalogPart.cs
- _Win32.cs
- JapaneseCalendar.cs
- Sequence.cs
- PrintPageEvent.cs
- Vector3D.cs
- ToolStripSystemRenderer.cs
- DoubleIndependentAnimationStorage.cs
- WebPartCancelEventArgs.cs
- IEnumerable.cs
- ListViewContainer.cs
- WeakKeyDictionary.cs
- ObjectTag.cs
- Utils.cs
- TableLayoutStyleCollection.cs
- ConfigsHelper.cs
- ProfileEventArgs.cs
- TextDpi.cs
- PeerHopCountAttribute.cs