Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- TimeIntervalCollection.cs
- RoutingBehavior.cs
- GeneratedView.cs
- LogAppendAsyncResult.cs
- ApplicationDirectoryMembershipCondition.cs
- VerificationAttribute.cs
- ResourcePermissionBase.cs
- DbParameterHelper.cs
- CultureSpecificCharacterBufferRange.cs
- XamlWriter.cs
- Base64Encoder.cs
- LinqDataSourceContextData.cs
- SecurityTokenProvider.cs
- WorkflowDesignerMessageFilter.cs
- CompilerLocalReference.cs
- ObjectQuery.cs
- DataProtection.cs
- ResourcePermissionBaseEntry.cs
- ProfileProvider.cs
- AssemblyBuilder.cs
- TextEditorSelection.cs
- DesignerHelpers.cs
- FileDialog_Vista.cs
- RotationValidation.cs
- GridPatternIdentifiers.cs
- DataGridViewEditingControlShowingEventArgs.cs
- ClientTargetSection.cs
- DefaultTextStore.cs
- DataColumnMapping.cs
- COMException.cs
- _NetworkingPerfCounters.cs
- MergeFailedEvent.cs
- DesignerVerb.cs
- SqlXml.cs
- TableCellCollection.cs
- RangeValidator.cs
- XPathExpr.cs
- DataGridViewLinkCell.cs
- PrimitiveList.cs
- OrderingInfo.cs
- ChtmlPageAdapter.cs
- SqlUDTStorage.cs
- EntitySqlQueryBuilder.cs
- TableChangeProcessor.cs
- ErrorInfoXmlDocument.cs
- OutputCacheProfile.cs
- Asn1IntegerConverter.cs
- ParseHttpDate.cs
- FormatException.cs
- CollectionChangedEventManager.cs
- ActiveXHelper.cs
- AnnotationStore.cs
- ProxyElement.cs
- Sql8ExpressionRewriter.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- _ScatterGatherBuffers.cs
- MdbDataFileEditor.cs
- FormatVersion.cs
- Scene3D.cs
- TextReader.cs
- TextServicesPropertyRanges.cs
- ToolBarButtonDesigner.cs
- Adorner.cs
- PageRouteHandler.cs
- Internal.cs
- DBSqlParserTable.cs
- MediaScriptCommandRoutedEventArgs.cs
- EventRecordWrittenEventArgs.cs
- DiffuseMaterial.cs
- ArrangedElement.cs
- SchemaImporterExtensionElement.cs
- TextBoxAutoCompleteSourceConverter.cs
- AssemblyCacheEntry.cs
- DirectoryRedirect.cs
- AutomationProperties.cs
- ContextMenuStripActionList.cs
- TypeConverter.cs
- _MultipleConnectAsync.cs
- DescendentsWalker.cs
- BitmapData.cs
- DataRelation.cs
- PageTheme.cs
- DesignerWebPartChrome.cs
- Variant.cs
- ContextMarshalException.cs
- Light.cs
- BamlVersionHeader.cs
- AssociatedControlConverter.cs
- ADMembershipUser.cs
- SystemWebSectionGroup.cs
- UnauthorizedWebPart.cs
- TextSearch.cs
- DataGridViewColumnStateChangedEventArgs.cs
- CustomErrorCollection.cs
- ToolStripDropDownButton.cs
- WinEventTracker.cs
- Version.cs
- ThreadStateException.cs
- InlineObject.cs
- SoapUnknownHeader.cs