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
- SchemaAttDef.cs
- BaseCodeDomTreeGenerator.cs
- DocumentEventArgs.cs
- CompilerHelpers.cs
- safesecurityhelperavalon.cs
- GridViewDeletedEventArgs.cs
- StateMachineAction.cs
- TextViewDesigner.cs
- _SpnDictionary.cs
- Int64.cs
- BackoffTimeoutHelper.cs
- NativeMethods.cs
- invalidudtexception.cs
- ProcessHostMapPath.cs
- UrlPath.cs
- EntityClientCacheKey.cs
- SystemEvents.cs
- QuaternionValueSerializer.cs
- MILUtilities.cs
- ControlEvent.cs
- RichTextBoxAutomationPeer.cs
- ProtocolViolationException.cs
- Directory.cs
- StopStoryboard.cs
- ExtensionWindow.cs
- XPathCompileException.cs
- LocationSectionRecord.cs
- XmlEntity.cs
- SequenceFullException.cs
- MetadataHelper.cs
- Constraint.cs
- Size3DValueSerializer.cs
- WindowHideOrCloseTracker.cs
- EncoderFallback.cs
- ResourceIDHelper.cs
- ProjectionNode.cs
- HttpAsyncResult.cs
- CalendarButton.cs
- Token.cs
- PropertyTabAttribute.cs
- MemberListBinding.cs
- ACE.cs
- Regex.cs
- ContainerFilterService.cs
- ValueTable.cs
- XPathSingletonIterator.cs
- AlgoModule.cs
- PeerMaintainer.cs
- ManifestBasedResourceGroveler.cs
- RadioButton.cs
- MessageSmuggler.cs
- TreeNodeConverter.cs
- LogLogRecordHeader.cs
- HMACSHA384.cs
- UriParserTemplates.cs
- NamedPipeChannelListener.cs
- CategoryNameCollection.cs
- DispatchRuntime.cs
- HtmlTable.cs
- Margins.cs
- ActiveXMessageFormatter.cs
- AppDomainCompilerProxy.cs
- HttpServerChannel.cs
- TTSEvent.cs
- ColorAnimation.cs
- QueryAccessibilityHelpEvent.cs
- NumericPagerField.cs
- XsltException.cs
- PrintPageEvent.cs
- CookieHandler.cs
- WebPartZone.cs
- Guid.cs
- IPipelineRuntime.cs
- SoapAttributeOverrides.cs
- PriorityQueue.cs
- SocketCache.cs
- WebPartChrome.cs
- JulianCalendar.cs
- HtmlInputCheckBox.cs
- OdbcInfoMessageEvent.cs
- UnaryNode.cs
- Lease.cs
- NavigationWindowAutomationPeer.cs
- __Filters.cs
- AsymmetricAlgorithm.cs
- Vertex.cs
- DetailsViewDeleteEventArgs.cs
- UnmanagedMemoryStreamWrapper.cs
- RegexNode.cs
- UpdateRecord.cs
- ReferenceCountedObject.cs
- SmtpNegotiateAuthenticationModule.cs
- FamilyTypefaceCollection.cs
- IgnorePropertiesAttribute.cs
- HtmlTextViewAdapter.cs
- ResourceManager.cs
- BinaryObjectWriter.cs
- ModelService.cs
- EventRoute.cs
- VirtualPathUtility.cs