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
- StaticExtensionConverter.cs
- ExpressionPrefixAttribute.cs
- ErrorHandlerModule.cs
- TreeNodeStyleCollection.cs
- NumericPagerField.cs
- HttpWebResponse.cs
- MetadataProperty.cs
- ContourSegment.cs
- UnauthorizedWebPart.cs
- SqlDataSource.cs
- RealProxy.cs
- ListViewDeletedEventArgs.cs
- UnsafeNativeMethods.cs
- AnimationStorage.cs
- SafeSecurityHandles.cs
- TextFormatterImp.cs
- EventSinkHelperWriter.cs
- AesManaged.cs
- Logging.cs
- GcHandle.cs
- SemanticResultValue.cs
- CodeCommentStatementCollection.cs
- DoubleLink.cs
- XmlSchemaSimpleTypeList.cs
- ToolBar.cs
- WorkerRequest.cs
- MetadataUtil.cs
- X509Certificate2Collection.cs
- XmlEnumAttribute.cs
- DataGridColumnFloatingHeader.cs
- MenuItemBinding.cs
- SafeHandle.cs
- TypeDescriptorContext.cs
- DesignerForm.cs
- BroadcastEventHelper.cs
- ShapeTypeface.cs
- ActivityDelegate.cs
- DataColumnCollection.cs
- OleAutBinder.cs
- FreezableDefaultValueFactory.cs
- CapabilitiesPattern.cs
- QueryPageSettingsEventArgs.cs
- Pointer.cs
- ToolstripProfessionalRenderer.cs
- CaseCqlBlock.cs
- FileNameEditor.cs
- ValidatedControlConverter.cs
- EventLogSession.cs
- WebBrowsableAttribute.cs
- TraceLog.cs
- CodeDelegateInvokeExpression.cs
- FilterElement.cs
- ValueProviderWrapper.cs
- AccessDataSourceView.cs
- ScriptControl.cs
- XmlValueConverter.cs
- WebResourceAttribute.cs
- MonthCalendar.cs
- ContractListAdapter.cs
- ImageConverter.cs
- WorkflowClientDeliverMessageWrapper.cs
- SpnEndpointIdentityExtension.cs
- WorkflowApplication.cs
- GlyphingCache.cs
- ContentTypeSettingDispatchMessageFormatter.cs
- MemberPath.cs
- Quaternion.cs
- XmlSchemaCollection.cs
- DesignTimeTemplateParser.cs
- KnownTypeDataContractResolver.cs
- RoleService.cs
- DBSchemaTable.cs
- CodeStatementCollection.cs
- TypeUnloadedException.cs
- HttpCachePolicy.cs
- PopupEventArgs.cs
- SequentialUshortCollection.cs
- SafeEventLogWriteHandle.cs
- SamlConditions.cs
- WCFBuildProvider.cs
- ControlAdapter.cs
- DropTarget.cs
- OdbcConnectionFactory.cs
- TraceHandlerErrorFormatter.cs
- DiscoveryDocumentLinksPattern.cs
- DecimalConstantAttribute.cs
- CurrentTimeZone.cs
- TimeSpanConverter.cs
- LinqDataSourceContextData.cs
- EntityTypeBase.cs
- EventHandlerList.cs
- ValidationHelpers.cs
- Trigger.cs
- SessionState.cs
- RootAction.cs
- SizeConverter.cs
- BindingExpressionBase.cs
- PagesSection.cs
- SystemInformation.cs
- WindowsTab.cs