Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- storepermissionattribute.cs
- ADConnectionHelper.cs
- OperationDescriptionCollection.cs
- PeerNodeTraceRecord.cs
- GlyphTypeface.cs
- DataGridViewSelectedCellCollection.cs
- TextEndOfLine.cs
- FixedSOMTextRun.cs
- Comparer.cs
- pingexception.cs
- ListViewItem.cs
- OpCellTreeNode.cs
- StringReader.cs
- ComponentRenameEvent.cs
- ProcessHostServerConfig.cs
- DbParameterHelper.cs
- Binding.cs
- SortQuery.cs
- RoleGroup.cs
- MetadataItem.cs
- RegexBoyerMoore.cs
- CornerRadius.cs
- IOThreadScheduler.cs
- EventArgs.cs
- GB18030Encoding.cs
- InternalBufferManager.cs
- BStrWrapper.cs
- GridViewAutoFormat.cs
- CheckBoxBaseAdapter.cs
- AutoCompleteStringCollection.cs
- MobileControlDesigner.cs
- ISO2022Encoding.cs
- ComponentManagerBroker.cs
- QilReplaceVisitor.cs
- UnsafeNetInfoNativeMethods.cs
- SessionPageStateSection.cs
- LazyTextWriterCreator.cs
- Rect3DConverter.cs
- sqlstateclientmanager.cs
- DataGridCell.cs
- InplaceBitmapMetadataWriter.cs
- wgx_exports.cs
- ErrorHandlingReceiver.cs
- XmlSerializationWriter.cs
- ItemCheckEvent.cs
- COM2ExtendedTypeConverter.cs
- BinarySerializer.cs
- Drawing.cs
- PropertyGridView.cs
- UnsafeNativeMethods.cs
- Token.cs
- EventHandlerList.cs
- FormattedTextSymbols.cs
- __Filters.cs
- RouteData.cs
- GrammarBuilderDictation.cs
- ObjectListCommand.cs
- ParameterEditorUserControl.cs
- OleDbMetaDataFactory.cs
- RoleGroupCollection.cs
- ErrorFormatter.cs
- HMAC.cs
- BooleanToVisibilityConverter.cs
- storepermissionattribute.cs
- SafeCoTaskMem.cs
- HMACRIPEMD160.cs
- DeleteIndexBinder.cs
- Track.cs
- XmlSchemaComplexContentRestriction.cs
- EdmFunctions.cs
- SweepDirectionValidation.cs
- TabRenderer.cs
- SqlTransaction.cs
- BitmapCodecInfoInternal.cs
- InputLanguage.cs
- HttpRequest.cs
- StrokeIntersection.cs
- RuntimeCompatibilityAttribute.cs
- CommentEmitter.cs
- EdmFunctionAttribute.cs
- PostBackOptions.cs
- DataKeyArray.cs
- QilInvokeLateBound.cs
- QuotedPrintableStream.cs
- BaseContextMenu.cs
- PrivilegedConfigurationManager.cs
- CustomAttributeSerializer.cs
- InstanceHandleConflictException.cs
- FontStretch.cs
- KerberosTicketHashIdentifierClause.cs
- FacetEnabledSchemaElement.cs
- ToolStripControlHost.cs
- DbParameterHelper.cs
- XmlSiteMapProvider.cs
- MethodBuilderInstantiation.cs
- SingleResultAttribute.cs
- DependencyPropertyConverter.cs
- Assembly.cs
- UriScheme.cs
- CompositionTarget.cs