Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- RootBrowserWindowProxy.cs
- TouchFrameEventArgs.cs
- RenderTargetBitmap.cs
- SecurityContext.cs
- StatusBarAutomationPeer.cs
- DSACryptoServiceProvider.cs
- SqlCacheDependency.cs
- PropagatorResult.cs
- SchemaCollectionPreprocessor.cs
- CapabilitiesAssignment.cs
- ObjectFullSpanRewriter.cs
- ReadOnlyNameValueCollection.cs
- EntityDataSourceWrapperCollection.cs
- TextEditorSelection.cs
- ValidationEventArgs.cs
- IMembershipProvider.cs
- FormsAuthenticationUser.cs
- WaitHandleCannotBeOpenedException.cs
- LayoutUtils.cs
- CodeEntryPointMethod.cs
- ConfigXmlDocument.cs
- MouseEventArgs.cs
- WindowsPrincipal.cs
- StringFormat.cs
- _ProxyChain.cs
- SoapCommonClasses.cs
- UIElement.cs
- TabPageDesigner.cs
- ToolStripStatusLabel.cs
- StateDesigner.Helpers.cs
- EventBuilder.cs
- PreviewKeyDownEventArgs.cs
- DataTableMappingCollection.cs
- EventProviderWriter.cs
- AudioLevelUpdatedEventArgs.cs
- XamlUtilities.cs
- XmlDictionaryString.cs
- _SSPISessionCache.cs
- CodeAttachEventStatement.cs
- CancelAsyncOperationRequest.cs
- EnumBuilder.cs
- PropertyConverter.cs
- PhoneCall.cs
- ContextMarshalException.cs
- AuthenticationModuleElementCollection.cs
- ThicknessConverter.cs
- EndEvent.cs
- ConfigXmlElement.cs
- XmlSchemaSimpleContentRestriction.cs
- EdmEntityTypeAttribute.cs
- DoubleIndependentAnimationStorage.cs
- LogicalExpressionTypeConverter.cs
- FrameworkTextComposition.cs
- SamlAuthenticationClaimResource.cs
- MetafileEditor.cs
- StringValueSerializer.cs
- SQLByteStorage.cs
- IPPacketInformation.cs
- ReaderContextStackData.cs
- StringSource.cs
- InfoCardArgumentException.cs
- XmlProcessingInstruction.cs
- DecimalKeyFrameCollection.cs
- AutomationElementCollection.cs
- UInt32.cs
- GreenMethods.cs
- ServiceModelPerformanceCounters.cs
- DescriptionAttribute.cs
- ImageMap.cs
- EdmToObjectNamespaceMap.cs
- RegionData.cs
- SynchronizationContext.cs
- TableCell.cs
- ConfigXmlComment.cs
- CustomValidator.cs
- XsltLoader.cs
- smtpconnection.cs
- BlockExpression.cs
- MouseActionValueSerializer.cs
- TypeBrowser.xaml.cs
- DCSafeHandle.cs
- tabpagecollectioneditor.cs
- XmlILAnnotation.cs
- TriggerActionCollection.cs
- SHA1CryptoServiceProvider.cs
- DataGridColumn.cs
- StorageEntityTypeMapping.cs
- LassoSelectionBehavior.cs
- Script.cs
- cookie.cs
- ExpressionBuilderContext.cs
- HttpRuntimeSection.cs
- SubtreeProcessor.cs
- ScrollableControl.cs
- DesignTimeHTMLTextWriter.cs
- ItemChangedEventArgs.cs
- SafeRightsManagementPubHandle.cs
- LogicalTreeHelper.cs
- TextRangeAdaptor.cs
- OdbcParameter.cs