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
- ReflectPropertyDescriptor.cs
- XmlIlVisitor.cs
- DatePickerAutomationPeer.cs
- CodeLinePragma.cs
- LogLogRecordEnumerator.cs
- BufferBuilder.cs
- UIElement.cs
- PrimitiveCodeDomSerializer.cs
- SQLSingleStorage.cs
- contentDescriptor.cs
- SymbolTable.cs
- QilStrConcatenator.cs
- DefaultHttpHandler.cs
- BitmapEffectGroup.cs
- StaticResourceExtension.cs
- DateTimeOffset.cs
- AttachedPropertyMethodSelector.cs
- DbConnectionPoolGroup.cs
- WaitHandle.cs
- Table.cs
- ConfigXmlElement.cs
- WindowsEditBoxRange.cs
- ElementAction.cs
- InvalidDataException.cs
- AdRotatorDesigner.cs
- ModelService.cs
- AsyncOperation.cs
- DataGridCellClipboardEventArgs.cs
- AmbientLight.cs
- WorkflowMessageEventArgs.cs
- IQueryable.cs
- AccessDataSource.cs
- CellTreeNodeVisitors.cs
- ClientEventManager.cs
- BidOverLoads.cs
- ReceiveMessageContent.cs
- ScrollViewer.cs
- TextServicesManager.cs
- SignedXmlDebugLog.cs
- DataRelationPropertyDescriptor.cs
- LineMetrics.cs
- ConfigurationHandlersInstallComponent.cs
- RoutedEvent.cs
- Vertex.cs
- Tuple.cs
- XmlEncoding.cs
- SimpleRecyclingCache.cs
- WebPartCloseVerb.cs
- StringCollection.cs
- ToolStripPanelCell.cs
- ClientSponsor.cs
- Button.cs
- Viewport3DAutomationPeer.cs
- TableLayoutPanelCodeDomSerializer.cs
- ProviderException.cs
- ObsoleteAttribute.cs
- RowToParametersTransformer.cs
- MemberAccessException.cs
- GridViewUpdateEventArgs.cs
- AVElementHelper.cs
- UIElement.cs
- Int32Animation.cs
- FastEncoderStatics.cs
- DefinitionBase.cs
- DataContext.cs
- Int32KeyFrameCollection.cs
- SchemaType.cs
- UInt16Converter.cs
- Vector3DAnimationUsingKeyFrames.cs
- CommandDevice.cs
- PassportIdentity.cs
- HtmlTable.cs
- SiteMapDataSource.cs
- XmlChildNodes.cs
- PointIndependentAnimationStorage.cs
- XmlObjectSerializerReadContext.cs
- XamlSerializerUtil.cs
- Model3DGroup.cs
- MatrixTransform.cs
- ThreadExceptionDialog.cs
- ToolCreatedEventArgs.cs
- ListViewTableRow.cs
- GridErrorDlg.cs
- FocusChangedEventArgs.cs
- bindurihelper.cs
- UdpChannelFactory.cs
- NativeMethodsCLR.cs
- MessagingActivityHelper.cs
- dtdvalidator.cs
- UDPClient.cs
- UserUseLicenseDictionaryLoader.cs
- SystemWebCachingSectionGroup.cs
- Timer.cs
- MultitargetingHelpers.cs
- DataGridViewSortCompareEventArgs.cs
- BaseCollection.cs
- CodeExporter.cs
- TypeHelpers.cs
- HopperCache.cs
- Light.cs