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
- RtfToXamlReader.cs
- SoapParser.cs
- DebugManager.cs
- AccessDataSourceView.cs
- BindingRestrictions.cs
- EventMappingSettingsCollection.cs
- XmlAnyElementAttributes.cs
- SubMenuStyleCollection.cs
- SafeNativeMethods.cs
- CatalogZoneAutoFormat.cs
- Logging.cs
- StreamSecurityUpgradeInitiatorAsyncResult.cs
- RijndaelManaged.cs
- DataTableExtensions.cs
- ContentPresenter.cs
- WebPartDisplayMode.cs
- EventMap.cs
- ElementInit.cs
- XmlObjectSerializerReadContextComplexJson.cs
- RootAction.cs
- RewritingValidator.cs
- TraceUtility.cs
- TypeUnloadedException.cs
- MDIClient.cs
- WebPartZoneCollection.cs
- GenericWebPart.cs
- ArcSegment.cs
- ProviderBase.cs
- Calendar.cs
- SolidColorBrush.cs
- VisualCollection.cs
- WindowPatternIdentifiers.cs
- ProxyHelper.cs
- HealthMonitoringSectionHelper.cs
- SubstitutionDesigner.cs
- ProtectedProviderSettings.cs
- FixUpCollection.cs
- TreeNodeCollection.cs
- SqlDataSourceConfigureFilterForm.cs
- ImageConverter.cs
- AutomationProperties.cs
- WebPartConnectVerb.cs
- ConnectionManagementElementCollection.cs
- TrackingProfile.cs
- ClientApiGenerator.cs
- BuildResultCache.cs
- ServiceHttpModule.cs
- DbProviderFactoriesConfigurationHandler.cs
- StylusButtonEventArgs.cs
- BitmapEffectGroup.cs
- DrawListViewItemEventArgs.cs
- HttpModuleAction.cs
- XhtmlStyleClass.cs
- HtmlTableRowCollection.cs
- BinHexDecoder.cs
- PackageDigitalSignatureManager.cs
- IntPtr.cs
- DiagnosticsConfiguration.cs
- SourceChangedEventArgs.cs
- QueryResult.cs
- ChannelSinkStacks.cs
- ReadOnlyDictionary.cs
- StrokeNodeOperations2.cs
- AuthorizationRule.cs
- SrgsElement.cs
- BasicExpressionVisitor.cs
- KernelTypeValidation.cs
- WhitespaceRule.cs
- WinInet.cs
- PointCollection.cs
- Vector3D.cs
- IImplicitResourceProvider.cs
- Buffer.cs
- EditorZoneBase.cs
- UpdatePanel.cs
- WebRequestModuleElement.cs
- ParameterCollection.cs
- AdRotator.cs
- ControlAdapter.cs
- InvalidFilterCriteriaException.cs
- WindowsListViewGroupHelper.cs
- HtmlTernaryTree.cs
- smtppermission.cs
- CodeEntryPointMethod.cs
- ArgIterator.cs
- PartialClassGenerationTask.cs
- ClockGroup.cs
- Trace.cs
- PostBackTrigger.cs
- LocalValueEnumerator.cs
- XsltQilFactory.cs
- IdentitySection.cs
- xmlglyphRunInfo.cs
- CompiledXpathExpr.cs
- SchemaExporter.cs
- Query.cs
- TemplateControlParser.cs
- ServicesUtilities.cs
- Matrix3DStack.cs
- LinkArea.cs