Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- PermissionAttributes.cs
- SamlAuthenticationClaimResource.cs
- Substitution.cs
- JsonReader.cs
- BindingCompleteEventArgs.cs
- DataSvcMapFile.cs
- mediaeventshelper.cs
- EventLogInternal.cs
- AlphaSortedEnumConverter.cs
- CachedFontFace.cs
- ReadOnlyHierarchicalDataSource.cs
- ChangeNode.cs
- Parser.cs
- WebConfigurationManager.cs
- ProfileGroupSettingsCollection.cs
- TreeIterator.cs
- InternalResources.cs
- ThicknessKeyFrameCollection.cs
- TimeIntervalCollection.cs
- ToolBarButton.cs
- DataStreams.cs
- TableItemPattern.cs
- recordstatescratchpad.cs
- RepeaterCommandEventArgs.cs
- securitycriticaldata.cs
- OleDbEnumerator.cs
- SoapMessage.cs
- ActivityDesignerResources.cs
- SynchronizationLockException.cs
- DropSource.cs
- ISCIIEncoding.cs
- AspNetSynchronizationContext.cs
- StatusBar.cs
- UrlPath.cs
- ColorTransformHelper.cs
- DependencyObjectType.cs
- SiteMapDataSource.cs
- Html32TextWriter.cs
- Scene3D.cs
- TypeGenericEnumerableViewSchema.cs
- _IPv4Address.cs
- ScrollChrome.cs
- SpotLight.cs
- TableCellCollection.cs
- TrackPointCollection.cs
- OrthographicCamera.cs
- OutKeywords.cs
- VisualState.cs
- IERequestCache.cs
- Paragraph.cs
- DispatcherObject.cs
- AuthenticationModulesSection.cs
- DataTableCollection.cs
- PropertyGroupDescription.cs
- XmlQueryContext.cs
- RemoteWebConfigurationHostServer.cs
- PathFigure.cs
- Ports.cs
- SqlEnums.cs
- streamingZipPartStream.cs
- VirtualizedItemPattern.cs
- GPPOINT.cs
- VectorKeyFrameCollection.cs
- RenderingEventArgs.cs
- WindowsTab.cs
- WorkflowOperationContext.cs
- HttpServerProtocol.cs
- invalidudtexception.cs
- DbParameterHelper.cs
- DataServiceResponse.cs
- SpellerStatusTable.cs
- ProxyAssemblyNotLoadedException.cs
- DataTableCollection.cs
- Button.cs
- DependencyProperty.cs
- XamlDesignerSerializationManager.cs
- PathFigureCollection.cs
- CuspData.cs
- XmlSchemaAny.cs
- HtmlInputPassword.cs
- DataServiceProviderMethods.cs
- HttpHeaderCollection.cs
- ExpressionNode.cs
- __TransparentProxy.cs
- RenderData.cs
- UnsafeMethods.cs
- WebInvokeAttribute.cs
- MatchAttribute.cs
- MessageFilterException.cs
- HtmlTernaryTree.cs
- Models.cs
- DataGridViewComboBoxCell.cs
- EdmToObjectNamespaceMap.cs
- TemplateXamlParser.cs
- SQLConvert.cs
- MultiAsyncResult.cs
- CollectionsUtil.cs
- ThumbAutomationPeer.cs
- CryptoApi.cs
- HttpRequestTraceRecord.cs