Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- SafeRightsManagementSessionHandle.cs
- HMACRIPEMD160.cs
- ClusterSafeNativeMethods.cs
- CodeVariableReferenceExpression.cs
- NetMsmqBindingElement.cs
- TemplateBuilder.cs
- GroupBoxRenderer.cs
- UpdatableWrapper.cs
- SortedList.cs
- SpStreamWrapper.cs
- ServiceOperation.cs
- KeyValuePair.cs
- CommandDesigner.cs
- TimeSpan.cs
- MetadataItem.cs
- webbrowsersite.cs
- TimeSpanConverter.cs
- PolicyFactory.cs
- TdsParserSafeHandles.cs
- SpnegoTokenProvider.cs
- WindowsBrush.cs
- KeyedCollection.cs
- AuthenticationModuleElement.cs
- NonClientArea.cs
- PropertyRecord.cs
- XmlSignatureManifest.cs
- PtsHost.cs
- LinkUtilities.cs
- NotificationContext.cs
- StrokeSerializer.cs
- NotImplementedException.cs
- DataGridViewButtonColumn.cs
- WebPartRestoreVerb.cs
- XmlQuerySequence.cs
- NameValuePermission.cs
- BrowserCapabilitiesFactory.cs
- TCPListener.cs
- ReliableRequestSessionChannel.cs
- Figure.cs
- Buffer.cs
- TypeUnloadedException.cs
- DetailsViewInsertedEventArgs.cs
- Automation.cs
- ObjectParameter.cs
- WindowsTooltip.cs
- NameObjectCollectionBase.cs
- CharEnumerator.cs
- CharacterHit.cs
- ICollection.cs
- RemotingAttributes.cs
- WebAdminConfigurationHelper.cs
- SystemIcmpV4Statistics.cs
- CompositeTypefaceMetrics.cs
- ConfigXmlElement.cs
- SimpleColumnProvider.cs
- FragmentQueryKB.cs
- XmlSchemaSimpleContentExtension.cs
- DoubleCollectionValueSerializer.cs
- StrongNameKeyPair.cs
- CopyOnWriteList.cs
- GenerateTemporaryTargetAssembly.cs
- FlowLayoutSettings.cs
- Transform3DGroup.cs
- PropertyInfoSet.cs
- ReadOnlyPermissionSet.cs
- XhtmlTextWriter.cs
- CalendarData.cs
- ToolStripCodeDomSerializer.cs
- HtmlGenericControl.cs
- ObjectListItem.cs
- InvalidDataException.cs
- OperationCanceledException.cs
- MapPathBasedVirtualPathProvider.cs
- FormViewPagerRow.cs
- SecUtil.cs
- XamlWriter.cs
- SafeNativeMethodsOther.cs
- TabControlEvent.cs
- WebPartZone.cs
- Triplet.cs
- TraceContextEventArgs.cs
- HashCodeCombiner.cs
- BitVector32.cs
- TransformGroup.cs
- ConnectionPointCookie.cs
- DataObjectFieldAttribute.cs
- UserControl.cs
- StateMachineWorkflowDesigner.cs
- VisualCollection.cs
- DurationConverter.cs
- ManualResetEvent.cs
- RequestQueryProcessor.cs
- Stroke.cs
- safex509handles.cs
- DataServiceStreamProviderWrapper.cs
- UrlMappingCollection.cs
- ToolStripDropDownClosedEventArgs.cs
- ObjectDataSourceStatusEventArgs.cs
- IIS7UserPrincipal.cs
- GregorianCalendar.cs