Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- Point3DIndependentAnimationStorage.cs
- Thread.cs
- DesignerWidgets.cs
- WindowShowOrOpenTracker.cs
- EditingCoordinator.cs
- SQLDouble.cs
- SqlDataSourceRefreshSchemaForm.cs
- GenerateTemporaryTargetAssembly.cs
- ToolStripControlHost.cs
- Events.cs
- Request.cs
- CommandField.cs
- HwndStylusInputProvider.cs
- RectAnimationBase.cs
- XmlNodeList.cs
- XslNumber.cs
- NegatedConstant.cs
- QueryContext.cs
- Error.cs
- WorkflowServiceInstance.cs
- TagPrefixAttribute.cs
- DocumentGridPage.cs
- SystemUnicastIPAddressInformation.cs
- TextAdaptor.cs
- _NegoStream.cs
- SystemIcmpV4Statistics.cs
- BitmapEffectDrawing.cs
- Mouse.cs
- UserThread.cs
- OuterGlowBitmapEffect.cs
- SmtpReplyReaderFactory.cs
- CodeTypeMemberCollection.cs
- CodeGenHelper.cs
- WebControlParameterProxy.cs
- XslTransform.cs
- CheckedListBox.cs
- messageonlyhwndwrapper.cs
- SiteMapNode.cs
- UrlMappingCollection.cs
- SchemaElementLookUpTableEnumerator.cs
- KeyPressEvent.cs
- Site.cs
- ToolStripDropDownClosingEventArgs.cs
- TextBoxRenderer.cs
- SystemInformation.cs
- XmlSchemaComplexContent.cs
- DesignSurfaceCollection.cs
- StylusEditingBehavior.cs
- DataAdapter.cs
- Rotation3D.cs
- COM2PropertyDescriptor.cs
- EventLogPermissionAttribute.cs
- MethodBuilder.cs
- SqlRewriteScalarSubqueries.cs
- TypefaceMetricsCache.cs
- TreeNode.cs
- FilterQuery.cs
- FrameworkElementFactory.cs
- Visual3DCollection.cs
- RtType.cs
- SerialReceived.cs
- HashAlgorithm.cs
- DeferredElementTreeState.cs
- FilterElement.cs
- CompilerErrorCollection.cs
- XmlSerializerAssemblyAttribute.cs
- ImpersonationContext.cs
- CounterCreationDataCollection.cs
- InlineCollection.cs
- XsdDataContractImporter.cs
- SqlFacetAttribute.cs
- ISCIIEncoding.cs
- GifBitmapDecoder.cs
- PermissionRequestEvidence.cs
- SqlTypesSchemaImporter.cs
- BindingCompleteEventArgs.cs
- CompositeActivityTypeDescriptor.cs
- KeyGesture.cs
- CodeFieldReferenceExpression.cs
- PathStreamGeometryContext.cs
- ConnectAlgorithms.cs
- CounterCreationData.cs
- EdmComplexPropertyAttribute.cs
- DefaultSection.cs
- DefaultWorkflowTransactionService.cs
- ListItemCollection.cs
- MultiView.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- ExpressionNormalizer.cs
- PngBitmapDecoder.cs
- IntPtr.cs
- ConnectionInterfaceCollection.cs
- MarkerProperties.cs
- LogSwitch.cs
- TaiwanLunisolarCalendar.cs
- Annotation.cs
- Pair.cs
- SkewTransform.cs
- QilNode.cs
- EnlistmentState.cs