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
- RepeaterItem.cs
- InvalidAsynchronousStateException.cs
- ExpressionPrefixAttribute.cs
- TreeViewItem.cs
- MostlySingletonList.cs
- PathSegment.cs
- OrderedDictionary.cs
- PropertyStore.cs
- PropertyValueChangedEvent.cs
- RequestResponse.cs
- DbConnectionPoolIdentity.cs
- Line.cs
- HttpHandlerAction.cs
- Parameter.cs
- Rijndael.cs
- DesignTimeParseData.cs
- RegexWriter.cs
- ResourcePool.cs
- TdsParserSessionPool.cs
- XmlBinaryReader.cs
- EventHandlersDesigner.cs
- ManifestResourceInfo.cs
- RawStylusSystemGestureInputReport.cs
- DiscoveryExceptionDictionary.cs
- SerialPinChanges.cs
- RoleGroupCollection.cs
- WebBaseEventKeyComparer.cs
- HostProtectionException.cs
- X509Extension.cs
- TemplatedWizardStep.cs
- SqlNodeAnnotations.cs
- RangeValidator.cs
- HttpConfigurationSystem.cs
- Scripts.cs
- EditorPartCollection.cs
- DataSourceControl.cs
- SoapInteropTypes.cs
- AliasGenerator.cs
- PreloadedPackages.cs
- RuntimeHandles.cs
- AsyncWaitHandle.cs
- BuildProvidersCompiler.cs
- ClientRoleProvider.cs
- ManipulationPivot.cs
- SmtpDateTime.cs
- SizeKeyFrameCollection.cs
- NameSpaceExtractor.cs
- sqlcontext.cs
- DSACryptoServiceProvider.cs
- securestring.cs
- X509Utils.cs
- TemplateControlParser.cs
- UICuesEvent.cs
- GeneralTransformGroup.cs
- QuaternionRotation3D.cs
- XPathDocumentBuilder.cs
- TypeSystemHelpers.cs
- RIPEMD160.cs
- DESCryptoServiceProvider.cs
- VarRemapper.cs
- VisualBasicExpressionConverter.cs
- TrustSection.cs
- MatrixAnimationUsingPath.cs
- ByteStack.cs
- PointHitTestResult.cs
- UserPersonalizationStateInfo.cs
- HtmlTernaryTree.cs
- SamlAuthorityBinding.cs
- BaseComponentEditor.cs
- InternalConfigRoot.cs
- UdpMessageProperty.cs
- DetailsViewRowCollection.cs
- QueryOptionExpression.cs
- PlatformCulture.cs
- ListBindingHelper.cs
- Hashtable.cs
- CachedCompositeFamily.cs
- SettingsProperty.cs
- IndexObject.cs
- DBParameter.cs
- FamilyCollection.cs
- RepeaterItemEventArgs.cs
- WebServiceHandler.cs
- AnnotationAdorner.cs
- WinEventWrap.cs
- Int32Rect.cs
- DataGridViewColumn.cs
- Control.cs
- loginstatus.cs
- DBCommandBuilder.cs
- VSWCFServiceContractGenerator.cs
- DecoderNLS.cs
- ThrowHelper.cs
- ReferencedAssembly.cs
- RestHandlerFactory.cs
- RuntimeDelegateArgument.cs
- ResourceBinder.cs
- WrapPanel.cs
- BinaryMethodMessage.cs
- RegexStringValidatorAttribute.cs