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
- DataBindingCollectionConverter.cs
- CachingHintValidation.cs
- CompareInfo.cs
- CircleEase.cs
- LineServicesCallbacks.cs
- ResourcesBuildProvider.cs
- DPCustomTypeDescriptor.cs
- XmlSchemaInfo.cs
- PrimitiveSchema.cs
- ResolveCriteriaCD1.cs
- Vector3DAnimationBase.cs
- DesigntimeLicenseContext.cs
- AuthenticationModulesSection.cs
- CopyAttributesAction.cs
- QueryableDataSourceView.cs
- FunctionQuery.cs
- TypeUtils.cs
- ListViewTableRow.cs
- DataTemplateKey.cs
- FontStyle.cs
- XamlParser.cs
- XmlSubtreeReader.cs
- DataProtection.cs
- SHA1CryptoServiceProvider.cs
- MimeBasePart.cs
- TdsEnums.cs
- WorkItem.cs
- AxisAngleRotation3D.cs
- CatalogPartCollection.cs
- TemplateBamlTreeBuilder.cs
- DataGridToolTip.cs
- PasswordBoxAutomationPeer.cs
- SortableBindingList.cs
- _AuthenticationState.cs
- AncestorChangedEventArgs.cs
- DataGridRelationshipRow.cs
- IndexerNameAttribute.cs
- DataGridViewHeaderCell.cs
- ProcessMessagesAsyncResult.cs
- MemberCollection.cs
- TcpHostedTransportConfiguration.cs
- MediaPlayer.cs
- ComboBoxAutomationPeer.cs
- FloatUtil.cs
- CqlQuery.cs
- PhysicalFontFamily.cs
- ChannelSinkStacks.cs
- BrushConverter.cs
- XmlSchema.cs
- ObjectContextServiceProvider.cs
- SystemInfo.cs
- BCLDebug.cs
- SQLDouble.cs
- TwoPhaseCommit.cs
- Int16Storage.cs
- PointLight.cs
- ListControl.cs
- DataBoundControlHelper.cs
- ConsoleKeyInfo.cs
- DSASignatureDeformatter.cs
- TraceEventCache.cs
- PageOrientation.cs
- RegularExpressionValidator.cs
- SettingsPropertyWrongTypeException.cs
- HiddenFieldDesigner.cs
- StartUpEventArgs.cs
- TextBox.cs
- ProcessInfo.cs
- CatalogZoneDesigner.cs
- OracleTimeSpan.cs
- JsonCollectionDataContract.cs
- DataKeyArray.cs
- EasingKeyFrames.cs
- HostingEnvironmentSection.cs
- ValidatingPropertiesEventArgs.cs
- UpdateProgress.cs
- MethodToken.cs
- ConsumerConnectionPointCollection.cs
- ParagraphVisual.cs
- ProcessModelSection.cs
- OleDbSchemaGuid.cs
- WindowsImpersonationContext.cs
- BitConverter.cs
- ControlUtil.cs
- RemotingAttributes.cs
- SimpleWebHandlerParser.cs
- DefaultAssemblyResolver.cs
- CodeDelegateCreateExpression.cs
- EnumDataContract.cs
- SizeAnimationBase.cs
- CurrencyManager.cs
- __ComObject.cs
- ObjectDataSourceView.cs
- ErrorLog.cs
- WindowsSysHeader.cs
- Deserializer.cs
- FunctionMappingTranslator.cs
- WebPartManager.cs
- BCryptHashAlgorithm.cs
- _OverlappedAsyncResult.cs