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
- HelpKeywordAttribute.cs
- UdpMessageProperty.cs
- UInt64.cs
- HtmlWindowCollection.cs
- MobileControlsSectionHandler.cs
- DataTrigger.cs
- MailMessage.cs
- XmlUtil.cs
- ImageClickEventArgs.cs
- WeakHashtable.cs
- TaskFormBase.cs
- CompilationRelaxations.cs
- TypeAccessException.cs
- CollectionDataContract.cs
- sqlinternaltransaction.cs
- WebPartConnectionsCancelEventArgs.cs
- AttributeCollection.cs
- MimeParameters.cs
- EmptyElement.cs
- NotCondition.cs
- NameObjectCollectionBase.cs
- ClassValidator.cs
- Or.cs
- ArgIterator.cs
- Matrix3DStack.cs
- HistoryEventArgs.cs
- InternalMappingException.cs
- FileDetails.cs
- DataGridViewBand.cs
- SpecialFolderEnumConverter.cs
- WindowsListViewItemStartMenu.cs
- DataDesignUtil.cs
- TypeDescriptionProvider.cs
- ChannelBinding.cs
- ISAPIRuntime.cs
- QueuePathDialog.cs
- log.cs
- Viewport3DAutomationPeer.cs
- BindingOperations.cs
- WebHttpDispatchOperationSelector.cs
- ManagedFilter.cs
- EncryptedData.cs
- BackStopAuthenticationModule.cs
- Rijndael.cs
- DataRowComparer.cs
- ProcessHostMapPath.cs
- XmlText.cs
- ReservationCollection.cs
- XmlSerializer.cs
- FreezableOperations.cs
- OLEDB_Enum.cs
- MenuItem.cs
- DLinqTableProvider.cs
- EvidenceTypeDescriptor.cs
- DataShape.cs
- MiniMapControl.xaml.cs
- FileDataSource.cs
- DataServiceBehavior.cs
- Cloud.cs
- XslUrlEditor.cs
- EntryIndex.cs
- ExpandSegmentCollection.cs
- GZipStream.cs
- OlePropertyStructs.cs
- RecognizerStateChangedEventArgs.cs
- HtmlSelectionListAdapter.cs
- SmtpReplyReader.cs
- CodeValidator.cs
- Point3DCollection.cs
- SkewTransform.cs
- VarRemapper.cs
- ListViewDeleteEventArgs.cs
- LayoutEditorPart.cs
- SystemDropShadowChrome.cs
- LoadedOrUnloadedOperation.cs
- SplitterPanel.cs
- BitmapCache.cs
- ExpandedWrapper.cs
- AttributeCollection.cs
- HyperLinkStyle.cs
- WeakEventManager.cs
- ShadowGlyph.cs
- DbRetry.cs
- TreeNodeBindingCollection.cs
- CngKeyBlobFormat.cs
- DbProviderServices.cs
- WindowsScrollBarBits.cs
- OdbcConnectionStringbuilder.cs
- FixedHyperLink.cs
- AuthorizationRule.cs
- _CacheStreams.cs
- ContextQuery.cs
- SelectorItemAutomationPeer.cs
- CodeAccessSecurityEngine.cs
- EasingKeyFrames.cs
- StdValidatorsAndConverters.cs
- VersionValidator.cs
- ItemCheckedEvent.cs
- FixedSOMTableCell.cs
- AutoGeneratedField.cs