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
- ListViewDeleteEventArgs.cs
- GridLength.cs
- WindowsUpDown.cs
- KeyMatchBuilder.cs
- TypeNameConverter.cs
- ILGen.cs
- xdrvalidator.cs
- ProjectionPlan.cs
- PasswordBox.cs
- Operator.cs
- CfgRule.cs
- CategoryNameCollection.cs
- ReferencedAssembly.cs
- ConsoleCancelEventArgs.cs
- TextElementEditingBehaviorAttribute.cs
- Hyperlink.cs
- Throw.cs
- OlePropertyStructs.cs
- EntryWrittenEventArgs.cs
- XmlSchemaInclude.cs
- XmlILCommand.cs
- TreeNode.cs
- FixedSOMTextRun.cs
- XmlReaderSettings.cs
- CreateUserWizard.cs
- SetUserLanguageRequest.cs
- DrawToolTipEventArgs.cs
- OdbcStatementHandle.cs
- Transactions.cs
- KerberosTokenFactoryCredential.cs
- NativeMethods.cs
- FixedSOMImage.cs
- ToolBarButtonClickEvent.cs
- TimeStampChecker.cs
- SecurityPermission.cs
- XmlWriterSettings.cs
- COM2IDispatchConverter.cs
- ViewGenResults.cs
- CodeLabeledStatement.cs
- DataGridRow.cs
- ProxyFragment.cs
- DateTimeFormatInfoScanner.cs
- ScrollChrome.cs
- Listbox.cs
- RadioButtonAutomationPeer.cs
- MessageSecurityOverTcpElement.cs
- VariableQuery.cs
- InputReferenceExpression.cs
- SynchronizationValidator.cs
- Timer.cs
- OlePropertyStructs.cs
- RsaElement.cs
- WmlValidationSummaryAdapter.cs
- IOThreadTimer.cs
- SafeProcessHandle.cs
- ConfigurationSectionGroup.cs
- TextRange.cs
- DescendentsWalkerBase.cs
- ConnectionPointCookie.cs
- UnsafeNativeMethods.cs
- SmiEventSink_DeferedProcessing.cs
- DrawingCollection.cs
- RadioButtonBaseAdapter.cs
- ResourcePart.cs
- DrawingBrush.cs
- DefaultIfEmptyQueryOperator.cs
- _NegoStream.cs
- DrawingBrush.cs
- OleDbParameterCollection.cs
- SystemFonts.cs
- PointValueSerializer.cs
- ComponentEvent.cs
- PickBranch.cs
- TemplateEditingFrame.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- ByteConverter.cs
- MenuEventArgs.cs
- PropertyPath.cs
- Bitmap.cs
- TrackBar.cs
- MailWebEventProvider.cs
- ExtensibleClassFactory.cs
- ToolStripDropDownClosedEventArgs.cs
- XmlNullResolver.cs
- DirectionalLight.cs
- DataIdProcessor.cs
- WCFBuildProvider.cs
- ConnectionManagementSection.cs
- FtpWebResponse.cs
- SettingsPropertyNotFoundException.cs
- AmbientLight.cs
- DataGridViewAdvancedBorderStyle.cs
- TdsValueSetter.cs
- CompositeDispatchFormatter.cs
- InputLanguageProfileNotifySink.cs
- WindowsUpDown.cs
- SchemaImporterExtensionsSection.cs
- dataobject.cs
- MenuItemBinding.cs
- BatchServiceHost.cs