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
- SparseMemoryStream.cs
- XNodeSchemaApplier.cs
- FlowNode.cs
- SchemaEntity.cs
- AssemblyBuilder.cs
- CodeTypeMember.cs
- ExpandoClass.cs
- ReadOnlyDataSource.cs
- TableItemPattern.cs
- MobileUserControl.cs
- LogExtentCollection.cs
- OptimizerPatterns.cs
- TimelineCollection.cs
- Enum.cs
- RtfControls.cs
- DEREncoding.cs
- StreamReader.cs
- DataServiceCollectionOfT.cs
- ExtendedProtectionPolicy.cs
- XmlTextAttribute.cs
- DefaultMemberAttribute.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- TextParaLineResult.cs
- IProducerConsumerCollection.cs
- GifBitmapDecoder.cs
- XsdBuilder.cs
- JournalNavigationScope.cs
- Thickness.cs
- DebuggerAttributes.cs
- HostProtectionPermission.cs
- DataGridViewRowPostPaintEventArgs.cs
- TypeConverterHelper.cs
- TableLayoutPanelCellPosition.cs
- AutoGeneratedField.cs
- CustomWebEventKey.cs
- FixedSOMPage.cs
- PrimaryKeyTypeConverter.cs
- AudioLevelUpdatedEventArgs.cs
- CodeAttributeDeclarationCollection.cs
- TranslateTransform.cs
- LinkLabel.cs
- ExceptionValidationRule.cs
- FirstMatchCodeGroup.cs
- RemotingServices.cs
- XmlSchemaRedefine.cs
- StateRuntime.cs
- ProofTokenCryptoHandle.cs
- VectorCollectionValueSerializer.cs
- AuthorizationSection.cs
- HttpProfileBase.cs
- PeerInvitationResponse.cs
- WebControlAdapter.cs
- BaseValidatorDesigner.cs
- ObjectTag.cs
- RtfNavigator.cs
- CollaborationHelperFunctions.cs
- FormsAuthenticationUser.cs
- OleDbSchemaGuid.cs
- ContentIterators.cs
- DataGridViewRow.cs
- SQLInt64.cs
- AssociationEndMember.cs
- ValueTable.cs
- SecurityManager.cs
- ToolStripItem.cs
- CodeMemberProperty.cs
- AutomationElementIdentifiers.cs
- PrincipalPermissionMode.cs
- SubqueryRules.cs
- XmlSchemaObject.cs
- SHA1Cng.cs
- SplitterPanel.cs
- SynchronizedCollection.cs
- FileLoadException.cs
- XmlSchemaDocumentation.cs
- WsdlServiceChannelBuilder.cs
- ToolStripProgressBar.cs
- unsafeIndexingFilterStream.cs
- ViewPort3D.cs
- RsaEndpointIdentity.cs
- ExpressionSelection.cs
- TerminatorSinks.cs
- RSACryptoServiceProvider.cs
- Bitmap.cs
- DrawingContext.cs
- BitConverter.cs
- DataBinding.cs
- Point3DAnimationBase.cs
- SocketAddress.cs
- complextypematerializer.cs
- ObjectDataSourceStatusEventArgs.cs
- JsonFormatGeneratorStatics.cs
- DataStreams.cs
- TypeDefinition.cs
- DesignerLoader.cs
- Path.cs
- IItemContainerGenerator.cs
- RectIndependentAnimationStorage.cs
- ThreadExceptionEvent.cs
- SystemWebSectionGroup.cs