Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- CodeEntryPointMethod.cs
- ComboBox.cs
- ProcessHostConfigUtils.cs
- MetadataArtifactLoaderComposite.cs
- ReaderOutput.cs
- LambdaCompiler.Generated.cs
- WebBrowserNavigatedEventHandler.cs
- FontDifferentiator.cs
- TreeNodeEventArgs.cs
- SystemException.cs
- DocumentPageViewAutomationPeer.cs
- WebPartDeleteVerb.cs
- HealthMonitoringSection.cs
- ProfileEventArgs.cs
- HandlerFactoryCache.cs
- HighlightVisual.cs
- SamlSerializer.cs
- HttpListener.cs
- TagPrefixAttribute.cs
- Calendar.cs
- NavigationPropertyEmitter.cs
- XmlILCommand.cs
- DataGridItemEventArgs.cs
- RefExpr.cs
- DropSourceBehavior.cs
- CodeCompileUnit.cs
- PointKeyFrameCollection.cs
- TemplateXamlParser.cs
- AnonymousIdentificationModule.cs
- OracleRowUpdatedEventArgs.cs
- SqlTopReducer.cs
- DataGridAddNewRow.cs
- Label.cs
- DataControlButton.cs
- Parallel.cs
- Dispatcher.cs
- SoapReflectionImporter.cs
- DtdParser.cs
- IndentedWriter.cs
- SoapSchemaMember.cs
- RemoteArgument.cs
- DesignerWidgets.cs
- WindowsComboBox.cs
- ParentUndoUnit.cs
- ItemAutomationPeer.cs
- DashStyles.cs
- PrintPreviewDialog.cs
- GraphicsPathIterator.cs
- Separator.cs
- WebPartTransformer.cs
- XsdCachingReader.cs
- InlineCategoriesDocument.cs
- ObjectStateManagerMetadata.cs
- DBConcurrencyException.cs
- securitymgrsite.cs
- ViewLoader.cs
- FileLevelControlBuilderAttribute.cs
- ASCIIEncoding.cs
- NamedElement.cs
- TextRangeEdit.cs
- ToolBarOverflowPanel.cs
- LinkTarget.cs
- TextEditorTyping.cs
- webeventbuffer.cs
- ListDictionaryInternal.cs
- ParserHooks.cs
- SystemIcmpV6Statistics.cs
- IApplicationTrustManager.cs
- DoubleAnimationClockResource.cs
- FlowchartDesigner.xaml.cs
- ScaleTransform.cs
- ImagingCache.cs
- Keywords.cs
- RC2CryptoServiceProvider.cs
- WindowsToolbarAsMenu.cs
- NativeMethods.cs
- Bookmark.cs
- FileDialog_Vista.cs
- DriveNotFoundException.cs
- PropertyTab.cs
- Main.cs
- PublishLicense.cs
- XsltQilFactory.cs
- ControlBuilderAttribute.cs
- TextAction.cs
- EntityDataSourceWizardForm.cs
- WebPartEventArgs.cs
- _TransmitFileOverlappedAsyncResult.cs
- SiteMapDesignerDataSourceView.cs
- HttpValueCollection.cs
- ViewPort3D.cs
- MissingManifestResourceException.cs
- PeerCollaborationPermission.cs
- SettingsAttributes.cs
- RightsManagementEncryptedStream.cs
- Marshal.cs
- AdornerDecorator.cs
- ScrollBar.cs
- ToolStripSplitStackLayout.cs
- LiteralLink.cs