Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TableSectionStyle.cs
- MenuItemBindingCollection.cs
- TransactionContextManager.cs
- DataChangedEventManager.cs
- TimerEventSubscriptionCollection.cs
- Tuple.cs
- HandleTable.cs
- SortExpressionBuilder.cs
- UnmanagedBitmapWrapper.cs
- AliasExpr.cs
- ParseElementCollection.cs
- SlotInfo.cs
- IISMapPath.cs
- UnsafeNativeMethods.cs
- HashHelper.cs
- ServicePoint.cs
- TextContainerHelper.cs
- StagingAreaInputItem.cs
- HandlerBase.cs
- LoginView.cs
- HttpCachePolicyElement.cs
- MemberInfoSerializationHolder.cs
- ScrollViewer.cs
- RemoteWebConfigurationHost.cs
- SiteMapProvider.cs
- Msec.cs
- HtmlInputControl.cs
- ChangePassword.cs
- Speller.cs
- _CommandStream.cs
- ValueUnavailableException.cs
- FixedHyperLink.cs
- DateTime.cs
- PropertyHelper.cs
- WindowsContainer.cs
- HttpBindingExtension.cs
- ProfileModule.cs
- ContractMapping.cs
- DispatchRuntime.cs
- TimeSpanStorage.cs
- LinkedResourceCollection.cs
- RequestDescription.cs
- DropShadowBitmapEffect.cs
- WizardPanelChangingEventArgs.cs
- TextDecorationCollection.cs
- Thumb.cs
- PointAnimation.cs
- AnnotationObservableCollection.cs
- WebConfigurationHost.cs
- ModuleElement.cs
- FixedSOMLineRanges.cs
- HandledEventArgs.cs
- TypeConverterHelper.cs
- PageEventArgs.cs
- SocketAddress.cs
- XmlAttributeCache.cs
- BinaryParser.cs
- StatusCommandUI.cs
- ServicePoint.cs
- Certificate.cs
- DesignerCommandSet.cs
- ApplicationSecurityInfo.cs
- BlockUIContainer.cs
- IUnknownConstantAttribute.cs
- ParallelEnumerableWrapper.cs
- PropertyGrid.cs
- WebPartEditorOkVerb.cs
- SchemaLookupTable.cs
- SqlDependency.cs
- FormatControl.cs
- CompoundFileIOPermission.cs
- JsonEnumDataContract.cs
- ModuleConfigurationInfo.cs
- XPathSingletonIterator.cs
- VectorCollectionConverter.cs
- DataGridViewDataErrorEventArgs.cs
- basevalidator.cs
- ImageResources.Designer.cs
- XPathNodePointer.cs
- WebPartConnectionsEventArgs.cs
- autovalidator.cs
- KeyValueInternalCollection.cs
- IPAddress.cs
- InvokeMemberBinder.cs
- FamilyCollection.cs
- SystemUdpStatistics.cs
- ControlBuilder.cs
- LogAppendAsyncResult.cs
- SinglePhaseEnlistment.cs
- EmptyImpersonationContext.cs
- WebRequestModuleElementCollection.cs
- TileBrush.cs
- NetworkAddressChange.cs
- wmiutil.cs
- PasswordBoxAutomationPeer.cs
- QuotedPairReader.cs
- _IPv4Address.cs
- SmiEventSink_Default.cs
- ReceiveActivityDesigner.cs
- Bidi.cs