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
- DragDropManager.cs
- ListViewPagedDataSource.cs
- MenuScrollingVisibilityConverter.cs
- EventLogHandle.cs
- RSAPKCS1SignatureDeformatter.cs
- XmlSchemaParticle.cs
- PlacementWorkspace.cs
- Pointer.cs
- SmtpNetworkElement.cs
- Types.cs
- FixedTextContainer.cs
- ExpandedWrapper.cs
- TextPenaltyModule.cs
- OTFRasterizer.cs
- documentation.cs
- ToggleButton.cs
- BuildManagerHost.cs
- Pair.cs
- PropertyGeneratedEventArgs.cs
- UTF32Encoding.cs
- CodeCatchClauseCollection.cs
- LicenseException.cs
- DesignBindingValueUIHandler.cs
- FontSourceCollection.cs
- RawStylusInputCustomData.cs
- ReflectionUtil.cs
- TextElement.cs
- XsltInput.cs
- OutputCacheSettingsSection.cs
- ViewPort3D.cs
- SortQuery.cs
- WrapPanel.cs
- RoleGroupCollection.cs
- FormatSettings.cs
- ToolStripMenuItemDesigner.cs
- DrawingContextDrawingContextWalker.cs
- SafeTokenHandle.cs
- TreePrinter.cs
- ObjectViewListener.cs
- BindingMemberInfo.cs
- MSAAEventDispatcher.cs
- Inflater.cs
- MetroSerializationManager.cs
- EnumConverter.cs
- OdbcParameter.cs
- RadioButtonList.cs
- Delegate.cs
- Helpers.cs
- ListViewUpdateEventArgs.cs
- HostDesigntimeLicenseContext.cs
- LogSwitch.cs
- TypeConverterHelper.cs
- XmlBinaryReader.cs
- MarkupCompiler.cs
- DataViewSettingCollection.cs
- ReadContentAsBinaryHelper.cs
- MappedMetaModel.cs
- Composition.cs
- ContainerAction.cs
- MissingSatelliteAssemblyException.cs
- SkipQueryOptionExpression.cs
- JournalEntryStack.cs
- ColumnPropertiesGroup.cs
- DirectoryInfo.cs
- TransactionException.cs
- ProgressChangedEventArgs.cs
- OwnerDrawPropertyBag.cs
- JsonGlobals.cs
- FixedSOMContainer.cs
- ReadingWritingEntityEventArgs.cs
- LayoutDump.cs
- FlowLayoutPanel.cs
- MetricEntry.cs
- XmlLoader.cs
- Double.cs
- EntityDataSourceViewSchema.cs
- Stream.cs
- CorrelationRequestContext.cs
- TrailingSpaceComparer.cs
- WindowsStreamSecurityBindingElement.cs
- SmtpNtlmAuthenticationModule.cs
- OdbcConnectionStringbuilder.cs
- WebPartAddingEventArgs.cs
- SectionVisual.cs
- OutputCacheProfile.cs
- DrawingServices.cs
- RemoteWebConfigurationHostServer.cs
- BuildDependencySet.cs
- UTF32Encoding.cs
- ProfileSection.cs
- CodeObjectCreateExpression.cs
- Point3DAnimation.cs
- MSG.cs
- SignalGate.cs
- CircleHotSpot.cs
- PerformanceCountersElement.cs
- NetworkInformationException.cs
- Internal.cs
- PersonalizationProviderHelper.cs
- SignatureToken.cs