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
- Point3DCollection.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- AsyncDataRequest.cs
- ListBindableAttribute.cs
- MLangCodePageEncoding.cs
- PropertyFilter.cs
- CreateUserWizard.cs
- QilCloneVisitor.cs
- DataRowCollection.cs
- DecoderExceptionFallback.cs
- ComboBox.cs
- XmlSchemaSequence.cs
- Debug.cs
- ClientFormsIdentity.cs
- SizeValueSerializer.cs
- _UriTypeConverter.cs
- XMLSchema.cs
- ItemCheckedEvent.cs
- X509CertificateClaimSet.cs
- AsyncCodeActivity.cs
- ParentQuery.cs
- _PooledStream.cs
- CustomCredentialPolicy.cs
- UdpDuplexChannel.cs
- DefaultHttpHandler.cs
- ThreadAttributes.cs
- TemplateNameScope.cs
- PeerName.cs
- PrivilegedConfigurationManager.cs
- ClockGroup.cs
- UrlMappingCollection.cs
- DesignerFrame.cs
- EntityProviderServices.cs
- SafeRegistryKey.cs
- WebScriptServiceHost.cs
- ByteKeyFrameCollection.cs
- AliasedSlot.cs
- PassportAuthentication.cs
- BasicBrowserDialog.designer.cs
- TypeFieldSchema.cs
- StaticExtensionConverter.cs
- SessionPageStateSection.cs
- JavaScriptString.cs
- ToolStripDropDownItem.cs
- HttpCacheVaryByContentEncodings.cs
- EntityContainerRelationshipSet.cs
- PersonalizationDictionary.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- oledbmetadatacolumnnames.cs
- RegexCompiler.cs
- StickyNoteAnnotations.cs
- HandlerWithFactory.cs
- TextEffect.cs
- ScriptIgnoreAttribute.cs
- DocumentOrderComparer.cs
- CodeTypeParameterCollection.cs
- MetadataItem_Static.cs
- TrustSection.cs
- GridViewCancelEditEventArgs.cs
- WebPageTraceListener.cs
- MessageSecurityOverHttpElement.cs
- Int16Storage.cs
- XmlUtil.cs
- SafeFindHandle.cs
- PlanCompiler.cs
- UnsafeNativeMethods.cs
- MediaEntryAttribute.cs
- Knowncolors.cs
- Event.cs
- WebPartMinimizeVerb.cs
- TypeLibConverter.cs
- ValidatorCollection.cs
- SerializerWriterEventHandlers.cs
- TextWriterTraceListener.cs
- PackWebRequest.cs
- DockPanel.cs
- OrElse.cs
- ValidationService.cs
- UIElement.cs
- UIElementAutomationPeer.cs
- GenericTypeParameterBuilder.cs
- JumpPath.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- RectIndependentAnimationStorage.cs
- Point3DCollection.cs
- PropertyChangingEventArgs.cs
- ThrowHelper.cs
- WebConfigurationManager.cs
- IdentityNotMappedException.cs
- IDictionary.cs
- LoginUtil.cs
- Metafile.cs
- Speller.cs
- RuleSetDialog.cs
- StackOverflowException.cs
- TypedRowGenerator.cs
- DataGridViewCellStyle.cs
- FileAuthorizationModule.cs
- XmlUtil.cs
- MarkupObject.cs