Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Documents / BlockCollection.cs / 1305600 / 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
- VarRefManager.cs
- DataStreams.cs
- ListViewItemSelectionChangedEvent.cs
- RecordBuilder.cs
- NetworkCredential.cs
- ButtonAutomationPeer.cs
- TypographyProperties.cs
- ExpressionEvaluator.cs
- DataGridViewCellValueEventArgs.cs
- ItemsChangedEventArgs.cs
- RequestQueryParser.cs
- XmlExpressionDumper.cs
- RawStylusInputCustomDataList.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- ThicknessConverter.cs
- updateconfighost.cs
- ProtocolsConfigurationEntry.cs
- RequestCache.cs
- TreeNodeMouseHoverEvent.cs
- XmlElementCollection.cs
- FixedSOMPageElement.cs
- PseudoWebRequest.cs
- DataGridViewColumnConverter.cs
- OdbcPermission.cs
- SqlComparer.cs
- FormClosingEvent.cs
- ButtonColumn.cs
- Accessible.cs
- BitmapEffectGroup.cs
- TreeNodeConverter.cs
- SoapBinding.cs
- SortKey.cs
- wgx_commands.cs
- SQLDecimal.cs
- SortedDictionary.cs
- SqlTriggerContext.cs
- RenderData.cs
- PeerNameRegistration.cs
- StrongNameUtility.cs
- SimpleType.cs
- SmtpClient.cs
- Math.cs
- TogglePatternIdentifiers.cs
- DataGridViewCellEventArgs.cs
- HashHelpers.cs
- BmpBitmapDecoder.cs
- StoreContentChangedEventArgs.cs
- RegexFCD.cs
- StreamingContext.cs
- XmlIlVisitor.cs
- FormViewInsertEventArgs.cs
- CommonObjectSecurity.cs
- WebControlsSection.cs
- objectresult_tresulttype.cs
- DataGridRowEventArgs.cs
- DesignerSerializationOptionsAttribute.cs
- Restrictions.cs
- ItemCheckedEvent.cs
- WsatEtwTraceListener.cs
- EncoderBestFitFallback.cs
- NetCodeGroup.cs
- Span.cs
- FakeModelItemImpl.cs
- LicenseProviderAttribute.cs
- HeaderedContentControl.cs
- PageCopyCount.cs
- OleDbConnectionFactory.cs
- SystemException.cs
- SqlProviderServices.cs
- StorageTypeMapping.cs
- FontStretchConverter.cs
- DropTarget.cs
- WhitespaceRuleLookup.cs
- GeneratedView.cs
- RegexTree.cs
- MetricEntry.cs
- ArraySortHelper.cs
- TreeViewDataItemAutomationPeer.cs
- EntityCommandCompilationException.cs
- WindowsIdentity.cs
- AccessViolationException.cs
- XmlDocumentFragment.cs
- StorageTypeMapping.cs
- RoleGroupCollection.cs
- LogicalExpr.cs
- _ListenerResponseStream.cs
- CodeTypeMemberCollection.cs
- StructuredTypeEmitter.cs
- SmtpCommands.cs
- MissingMethodException.cs
- DefaultDialogButtons.cs
- WmiEventSink.cs
- XmlCollation.cs
- SecurityPermission.cs
- PermissionSetTriple.cs
- CredentialCache.cs
- EmptyQuery.cs
- StringAnimationUsingKeyFrames.cs
- RealProxy.cs
- DataColumnPropertyDescriptor.cs