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
- TemplateBindingExtensionConverter.cs
- SrgsElementFactory.cs
- OptimalBreakSession.cs
- BulletChrome.cs
- Point3DAnimationUsingKeyFrames.cs
- XmlNodeReader.cs
- EndPoint.cs
- ContourSegment.cs
- ReadOnlyNameValueCollection.cs
- CodeGeneratorOptions.cs
- SrgsOneOf.cs
- ProcessManager.cs
- WizardStepCollectionEditor.cs
- EDesignUtil.cs
- AppDomainFactory.cs
- _TimerThread.cs
- LicenseProviderAttribute.cs
- ToolboxItemFilterAttribute.cs
- XMLDiffLoader.cs
- DynamicArgumentDesigner.xaml.cs
- PageBreakRecord.cs
- SpecularMaterial.cs
- TemplateEditingService.cs
- ConstrainedDataObject.cs
- TableRowCollection.cs
- Control.cs
- ExpressionBindingCollection.cs
- String.cs
- ProcessThreadCollection.cs
- VisualProxy.cs
- DataGridViewSelectedRowCollection.cs
- SqlErrorCollection.cs
- QuotedPairReader.cs
- LinqDataSourceUpdateEventArgs.cs
- RowParagraph.cs
- DifferencingCollection.cs
- Tuple.cs
- CompilerGlobalScopeAttribute.cs
- FtpCachePolicyElement.cs
- RestClientProxyHandler.cs
- BaseDataList.cs
- SoapAttributeOverrides.cs
- WsatStrings.cs
- ParenthesizePropertyNameAttribute.cs
- FileChangesMonitor.cs
- TransportSecurityBindingElement.cs
- CodeObjectCreateExpression.cs
- KeyedHashAlgorithm.cs
- HebrewCalendar.cs
- ListChangedEventArgs.cs
- DataError.cs
- MetadataCacheItem.cs
- DoubleCollectionConverter.cs
- ConfigXmlCDataSection.cs
- DiscreteKeyFrames.cs
- SerializationFieldInfo.cs
- TextRenderer.cs
- ContainerAction.cs
- XmlSchemaObjectCollection.cs
- TransformerConfigurationWizardBase.cs
- TranslateTransform.cs
- KnownBoxes.cs
- DetailsViewDeletedEventArgs.cs
- HtmlControl.cs
- ListItemCollection.cs
- PerformanceCounterPermissionAttribute.cs
- XmlTypeMapping.cs
- BinaryNode.cs
- EncryptedType.cs
- BaseTemplateBuildProvider.cs
- HttpCacheVaryByContentEncodings.cs
- PrimaryKeyTypeConverter.cs
- AttachedAnnotation.cs
- PageTheme.cs
- CompiledQuery.cs
- StateMachineWorkflowInstance.cs
- HttpCookiesSection.cs
- Invariant.cs
- ExecutedRoutedEventArgs.cs
- NumericExpr.cs
- DbException.cs
- ObjectStateEntry.cs
- SoapIncludeAttribute.cs
- XmlWrappingReader.cs
- LogAppendAsyncResult.cs
- HttpCacheParams.cs
- _TransmitFileOverlappedAsyncResult.cs
- CultureSpecificStringDictionary.cs
- VisualTreeUtils.cs
- SeparatorAutomationPeer.cs
- StringBuilder.cs
- StorageComplexPropertyMapping.cs
- ImageKeyConverter.cs
- EmptyEnumerable.cs
- DataFieldEditor.cs
- IteratorFilter.cs
- Rijndael.cs
- LoginNameDesigner.cs
- DataTableMapping.cs
- FontResourceCache.cs