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
- ComponentResourceManager.cs
- ping.cs
- StyleCollection.cs
- CookielessHelper.cs
- CountAggregationOperator.cs
- Vector3DCollectionValueSerializer.cs
- PerformanceCountersBase.cs
- TreeViewTemplateSelector.cs
- BooleanExpr.cs
- XmlNodeReader.cs
- AxisAngleRotation3D.cs
- ObjectSet.cs
- TreeBuilder.cs
- CodeTryCatchFinallyStatement.cs
- AssociatedControlConverter.cs
- DataGridViewRowCancelEventArgs.cs
- AuthenticationSection.cs
- ListItemsPage.cs
- CanonicalFormWriter.cs
- TypeLibConverter.cs
- XmlWriterDelegator.cs
- WebPartMenu.cs
- BaseTransportHeaders.cs
- DynamicDiscoveryDocument.cs
- PipelineModuleStepContainer.cs
- VarRemapper.cs
- CompositeDesignerAccessibleObject.cs
- NamedElement.cs
- PropertyChangeTracker.cs
- EdgeProfileValidation.cs
- WebReferenceOptions.cs
- PrinterSettings.cs
- Model3DCollection.cs
- XmlCollation.cs
- TypeGeneratedEventArgs.cs
- XmlImplementation.cs
- Transform.cs
- SemanticResultKey.cs
- QilValidationVisitor.cs
- EffectiveValueEntry.cs
- ClockGroup.cs
- IsolatedStoragePermission.cs
- NamedPermissionSet.cs
- ImageSourceConverter.cs
- Binding.cs
- XhtmlTextWriter.cs
- RoleGroup.cs
- DrawingImage.cs
- RenamedEventArgs.cs
- SqlXml.cs
- SelectionHighlightInfo.cs
- SqlRewriteScalarSubqueries.cs
- RedistVersionInfo.cs
- DesignOnlyAttribute.cs
- InstalledFontCollection.cs
- mactripleDES.cs
- PhysicalAddress.cs
- EntityCommandDefinition.cs
- ShaderEffect.cs
- TemplateBindingExpressionConverter.cs
- WebBrowserContainer.cs
- SerializationHelper.cs
- MemberAccessException.cs
- DefaultValueAttribute.cs
- InternalPermissions.cs
- ObjectListSelectEventArgs.cs
- DataGridViewElement.cs
- ListItemsCollectionEditor.cs
- LabelEditEvent.cs
- Menu.cs
- DataGrid.cs
- EastAsianLunisolarCalendar.cs
- ThemeInfoAttribute.cs
- QueryCacheKey.cs
- TypeConverterMarkupExtension.cs
- WebPartTransformer.cs
- TriState.cs
- SchemaMerger.cs
- ExpressionPrinter.cs
- KeyValueConfigurationCollection.cs
- URLAttribute.cs
- recordstate.cs
- GlobalItem.cs
- CancelEventArgs.cs
- SourceChangedEventArgs.cs
- XmlToDatasetMap.cs
- cryptoapiTransform.cs
- GenericEnumConverter.cs
- Mapping.cs
- CompilationPass2TaskInternal.cs
- DataGridViewBand.cs
- HtmlImage.cs
- AmbientProperties.cs
- PointHitTestParameters.cs
- Timer.cs
- DataGridViewHitTestInfo.cs
- _ListenerAsyncResult.cs
- Token.cs
- OwnerDrawPropertyBag.cs
- EdgeModeValidation.cs