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
- ModelPerspective.cs
- XmlWrappingReader.cs
- ScriptManagerProxy.cs
- StringToken.cs
- PerformanceCountersElement.cs
- MethodImplAttribute.cs
- _ListenerAsyncResult.cs
- DataServices.cs
- Point4DConverter.cs
- XsltFunctions.cs
- ScriptReferenceBase.cs
- XmlIgnoreAttribute.cs
- MainMenu.cs
- LinkedResource.cs
- CommandBindingCollection.cs
- Visual.cs
- X509CertificateCollection.cs
- RowToFieldTransformer.cs
- DataGridCellsPresenter.cs
- RadialGradientBrush.cs
- RelatedPropertyManager.cs
- NotImplementedException.cs
- HTMLTextWriter.cs
- MsmqIntegrationInputChannel.cs
- SharedHttpsTransportManager.cs
- DataGridViewRowsAddedEventArgs.cs
- TCEAdapterGenerator.cs
- CodePrimitiveExpression.cs
- ClientBuildManagerCallback.cs
- HtmlWindow.cs
- CodeTypeReferenceExpression.cs
- CorrelationService.cs
- AccessDataSource.cs
- ServiceReflector.cs
- ExplicitDiscriminatorMap.cs
- NotifyInputEventArgs.cs
- Debugger.cs
- RichTextBoxConstants.cs
- CompositeCollectionView.cs
- AlphaSortedEnumConverter.cs
- MsmqIntegrationSecurityElement.cs
- CodeConditionStatement.cs
- SignedInfo.cs
- parserscommon.cs
- Resources.Designer.cs
- BamlWriter.cs
- ObjectSet.cs
- XMLSchema.cs
- MethodSignatureGenerator.cs
- DbRetry.cs
- Latin1Encoding.cs
- ControlIdConverter.cs
- Visual3D.cs
- WebRequest.cs
- PathGeometry.cs
- Drawing.cs
- EpmContentDeSerializer.cs
- HtmlEmptyTagControlBuilder.cs
- PropertyGroupDescription.cs
- ClockController.cs
- CodeSnippetExpression.cs
- M3DUtil.cs
- VectorAnimationBase.cs
- SchemaEntity.cs
- Rect3D.cs
- ClrProviderManifest.cs
- WindowsAuthenticationModule.cs
- ListSortDescriptionCollection.cs
- Baml6Assembly.cs
- WebResourceAttribute.cs
- QueryGenerator.cs
- TypeValidationEventArgs.cs
- OledbConnectionStringbuilder.cs
- EncoderParameter.cs
- WebPartMinimizeVerb.cs
- PropertyIDSet.cs
- HtmlLink.cs
- UnsafeNativeMethods.cs
- XmlComplianceUtil.cs
- ButtonFieldBase.cs
- SemanticAnalyzer.cs
- SqlLiftWhereClauses.cs
- FormattedText.cs
- XamlSerializer.cs
- AdRotator.cs
- CustomAttribute.cs
- NotSupportedException.cs
- ReferenceConverter.cs
- AuthenticationException.cs
- BStrWrapper.cs
- SupportsEventValidationAttribute.cs
- AssemblyCache.cs
- ComponentEvent.cs
- ClientFormsAuthenticationCredentials.cs
- HtmlEncodedRawTextWriter.cs
- FrameworkElement.cs
- GenericAuthenticationEventArgs.cs
- WriteFileContext.cs
- remotingproxy.cs
- TransactionOptions.cs