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
- ObjectDataSourceDisposingEventArgs.cs
- _ShellExpression.cs
- ChannelServices.cs
- SystemWebSectionGroup.cs
- SecurityTokenContainer.cs
- WpfWebRequestHelper.cs
- HtmlInputRadioButton.cs
- EventItfInfo.cs
- control.ime.cs
- wgx_render.cs
- RepeaterItemCollection.cs
- ReadOnlyHierarchicalDataSourceView.cs
- Point3DCollection.cs
- GPPOINTF.cs
- PropertyIDSet.cs
- KeyEvent.cs
- SkinIDTypeConverter.cs
- DotExpr.cs
- HtmlGenericControl.cs
- DataSourceControlBuilder.cs
- FixedDSBuilder.cs
- SystemIPInterfaceStatistics.cs
- EdmValidator.cs
- HttpListenerException.cs
- xmlformatgeneratorstatics.cs
- Rfc2898DeriveBytes.cs
- FixedSOMTable.cs
- UnmanagedMemoryStreamWrapper.cs
- CommonGetThemePartSize.cs
- HashCodeCombiner.cs
- XmlDataSourceNodeDescriptor.cs
- Container.cs
- WorkflowDesignerMessageFilter.cs
- FastEncoderStatics.cs
- WindowsScroll.cs
- EncryptedData.cs
- DescriptionAttribute.cs
- BlurEffect.cs
- URLIdentityPermission.cs
- SourceInterpreter.cs
- SubtreeProcessor.cs
- XmlSchemaSimpleType.cs
- WebContentFormatHelper.cs
- Drawing.cs
- ProgressBar.cs
- OleDbConnectionInternal.cs
- ProxyWebPartConnectionCollection.cs
- ScrollableControlDesigner.cs
- PermissionListSet.cs
- ImageKeyConverter.cs
- HtmlEmptyTagControlBuilder.cs
- PreloadHost.cs
- ImageListStreamer.cs
- EntityCommandExecutionException.cs
- ImportedNamespaceContextItem.cs
- ChtmlFormAdapter.cs
- MenuEventArgs.cs
- SiteOfOriginPart.cs
- Rfc2898DeriveBytes.cs
- CompressEmulationStream.cs
- StorageEntityContainerMapping.cs
- StickyNoteAnnotations.cs
- ArgIterator.cs
- QueryableDataSourceEditData.cs
- ManagedWndProcTracker.cs
- ListViewEditEventArgs.cs
- Label.cs
- FormatterServices.cs
- ClosureBinding.cs
- ReferencedType.cs
- SharedStatics.cs
- SourceLineInfo.cs
- DriveNotFoundException.cs
- TypedReference.cs
- ParenthesizePropertyNameAttribute.cs
- CodeEventReferenceExpression.cs
- MimeTypeAttribute.cs
- RadioButton.cs
- TextRangeEditLists.cs
- DynamicDataExtensions.cs
- StateDesigner.Layouts.cs
- SqlFunctionAttribute.cs
- ReceiveCompletedEventArgs.cs
- BitmapEffectGroup.cs
- ValidationErrorEventArgs.cs
- RoutedEventValueSerializer.cs
- DataGridViewCellValidatingEventArgs.cs
- TdsParserStaticMethods.cs
- RawStylusActions.cs
- HyperLinkField.cs
- StateMachineWorkflowInstance.cs
- DiscoveryServerProtocol.cs
- ComponentCache.cs
- PointLight.cs
- ColorEditor.cs
- DataSourceCache.cs
- AccessText.cs
- CriticalHandle.cs
- DropTarget.cs
- Rule.cs