Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OleDbFactory.cs
- VirtualPathProvider.cs
- UnknownWrapper.cs
- ProviderException.cs
- PathSegment.cs
- EventMap.cs
- MetadataSource.cs
- SplashScreen.cs
- ComponentResourceManager.cs
- AutomationAttributeInfo.cs
- SkewTransform.cs
- DataSourceXmlSubItemAttribute.cs
- ListBoxItemAutomationPeer.cs
- FixedDocument.cs
- XmlSiteMapProvider.cs
- Decimal.cs
- Exceptions.cs
- PasswordRecoveryDesigner.cs
- TextBoxLine.cs
- SqlUserDefinedTypeAttribute.cs
- SharedPerformanceCounter.cs
- Msec.cs
- ProviderSettingsCollection.cs
- SqlCaseSimplifier.cs
- RelatedEnd.cs
- Vector3DCollection.cs
- Common.cs
- SymbolMethod.cs
- LineGeometry.cs
- XPathDocumentNavigator.cs
- DefaultTextStoreTextComposition.cs
- TypeBuilder.cs
- SharedStream.cs
- WCFModelStrings.Designer.cs
- pingexception.cs
- SubtreeProcessor.cs
- DeferredElementTreeState.cs
- AssemblyBuilder.cs
- XsdBuildProvider.cs
- XmlFormatWriterGenerator.cs
- NetMsmqBindingCollectionElement.cs
- MetadataItemSerializer.cs
- IncrementalHitTester.cs
- GridToolTip.cs
- XmlSchemaObjectTable.cs
- ArcSegment.cs
- ServiceElement.cs
- MessageAction.cs
- InstanceData.cs
- SQLGuid.cs
- DesignerTransaction.cs
- ParameterCollection.cs
- DefaultParameterValueAttribute.cs
- HtmlInputControl.cs
- URL.cs
- AdornedElementPlaceholder.cs
- Executor.cs
- ReadOnlyNameValueCollection.cs
- PriorityChain.cs
- WebPartZoneBase.cs
- TextAutomationPeer.cs
- PartialList.cs
- Assembly.cs
- LinqDataView.cs
- HwndTarget.cs
- RadioButtonRenderer.cs
- SeverityFilter.cs
- SessionSymmetricTransportSecurityProtocolFactory.cs
- SystemIcons.cs
- LinqDataSourceContextData.cs
- ConsoleTraceListener.cs
- TemplateControl.cs
- SecureStringHasher.cs
- TemplateField.cs
- ImageAttributes.cs
- TrustLevelCollection.cs
- HebrewNumber.cs
- RowToFieldTransformer.cs
- TableRowsCollectionEditor.cs
- Module.cs
- AttachInfo.cs
- ScrollBarAutomationPeer.cs
- Control.cs
- ActivityBuilder.cs
- AnnotationResourceCollection.cs
- DataGridAutoFormat.cs
- ObjectStateEntry.cs
- CellParagraph.cs
- XamlPathDataSerializer.cs
- FormatException.cs
- IERequestCache.cs
- Int64KeyFrameCollection.cs
- ChtmlTextWriter.cs
- HealthMonitoringSection.cs
- FixedFlowMap.cs
- InheritanceContextChangedEventManager.cs
- SqlConnectionStringBuilder.cs
- HtmlFormWrapper.cs
- SplineKeyFrames.cs
- MetaDataInfo.cs