Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Framework / System / Windows / Documents / BlockCollection.cs / 1 / BlockCollection.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // // Description: Collection of Block elements // Collection of Block elements - elements allowed as children // of FlowDocument, Section, ListItem, TableCell, Floater and Figure. // //--------------------------------------------------------------------------- namespace System.Windows.Documents { using MS.Internal; // Invariant ////// Collection of Block elements - elements allowed as children /// of FlowDocument, Section, ListItem, TableCell, Floater and Figure. /// public class BlockCollection : TextElementCollection{ //------------------------------------------------------------------- // // Constructors // //------------------------------------------------------------------- #region Constructors // Constructor is internal. We allow BlockCollection creation only from inside owning elements such as FlowDocument or TextElement. // Note that when a SiblingBlocks collection is created for a Block, the owner of collection is that member Block object. // Flag isOwnerParent indicates whether owner is a parent or a member of the collection. internal BlockCollection(DependencyObject owner, bool isOwnerParent) : base(owner, isOwnerParent) { } #endregion Constructors //-------------------------------------------------------------------- // // Public Properties // //------------------------------------------------------------------- #region Public Properties /// /// Returns a first Block of this collection /// public Block FirstBlock { get { return this.FirstChild; } } ////// Returns a last Block of this collection /// public Block LastBlock { 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 Block elements // Collection of Block elements - elements allowed as children // of FlowDocument, Section, ListItem, TableCell, Floater and Figure. // //--------------------------------------------------------------------------- namespace System.Windows.Documents { using MS.Internal; // Invariant ////// Collection of Block elements - elements allowed as children /// of FlowDocument, Section, ListItem, TableCell, Floater and Figure. /// public class BlockCollection : TextElementCollection{ //------------------------------------------------------------------- // // Constructors // //------------------------------------------------------------------- #region Constructors // Constructor is internal. We allow BlockCollection creation only from inside owning elements such as FlowDocument or TextElement. // Note that when a SiblingBlocks collection is created for a Block, the owner of collection is that member Block object. // Flag isOwnerParent indicates whether owner is a parent or a member of the collection. internal BlockCollection(DependencyObject owner, bool isOwnerParent) : base(owner, isOwnerParent) { } #endregion Constructors //-------------------------------------------------------------------- // // Public Properties // //------------------------------------------------------------------- #region Public Properties /// /// Returns a first Block of this collection /// public Block FirstBlock { get { return this.FirstChild; } } ////// Returns a last Block of this collection /// public Block LastBlock { 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
- IteratorFilter.cs
- RelationshipSet.cs
- Transform.cs
- RoleManagerSection.cs
- DataGridViewSelectedCellCollection.cs
- CommandEventArgs.cs
- PixelFormatConverter.cs
- DesignerDataConnection.cs
- ThemeableAttribute.cs
- EdmComplexTypeAttribute.cs
- TargetParameterCountException.cs
- RelatedCurrencyManager.cs
- KeyGestureValueSerializer.cs
- TraceListeners.cs
- BmpBitmapEncoder.cs
- HttpListenerException.cs
- WebPartTransformer.cs
- ContractMapping.cs
- DateRangeEvent.cs
- HttpClientCertificate.cs
- GridItemCollection.cs
- SlipBehavior.cs
- Hashtable.cs
- PathParser.cs
- COSERVERINFO.cs
- RepeaterItem.cs
- EventProvider.cs
- ClearCollection.cs
- CodeIterationStatement.cs
- BooleanProjectedSlot.cs
- TabletDevice.cs
- HtmlElementErrorEventArgs.cs
- RegexWorker.cs
- ProfileEventArgs.cs
- WinEventTracker.cs
- WebPartEventArgs.cs
- XmlSchema.cs
- GenericEnumConverter.cs
- ObservableCollection.cs
- XmlQuerySequence.cs
- EventManager.cs
- WebPartUserCapability.cs
- TailPinnedEventArgs.cs
- Maps.cs
- ColumnClickEvent.cs
- Section.cs
- NullableIntSumAggregationOperator.cs
- MethodBuilder.cs
- StreamWriter.cs
- ScrollProperties.cs
- InplaceBitmapMetadataWriter.cs
- EdmItemError.cs
- PriorityQueue.cs
- WebRequestModulesSection.cs
- SettingsProviderCollection.cs
- ArgIterator.cs
- TheQuery.cs
- StreamGeometry.cs
- RelationalExpressions.cs
- SBCSCodePageEncoding.cs
- XsltContext.cs
- DataGridViewBindingCompleteEventArgs.cs
- GridView.cs
- SiteMapSection.cs
- SafeEventLogWriteHandle.cs
- EventMappingSettingsCollection.cs
- DataServiceExpressionVisitor.cs
- GridViewCellAutomationPeer.cs
- WebPartConnectionsDisconnectVerb.cs
- ActiveXHost.cs
- DockPanel.cs
- SystemUnicastIPAddressInformation.cs
- ImageFormatConverter.cs
- DataSourceCacheDurationConverter.cs
- GridViewCommandEventArgs.cs
- ToolboxItemFilterAttribute.cs
- XmlParserContext.cs
- CodeAccessSecurityEngine.cs
- EngineSite.cs
- MultiView.cs
- ToolStripItemGlyph.cs
- TypeEnumerableViewSchema.cs
- DependencyObjectPropertyDescriptor.cs
- RowUpdatedEventArgs.cs
- WebContext.cs
- cookieexception.cs
- DefaultWorkflowTransactionService.cs
- DataBoundControlAdapter.cs
- AmbiguousMatchException.cs
- XComponentModel.cs
- DataGridViewCellLinkedList.cs
- GenericUriParser.cs
- ConfigurationElement.cs
- InstanceKey.cs
- TextServicesDisplayAttribute.cs
- FixedDocument.cs
- ISAPIWorkerRequest.cs
- HandleCollector.cs
- NativeMethods.cs
- FunctionDescription.cs