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
- ContainerFilterService.cs
- AdapterUtil.cs
- UserInitiatedNavigationPermission.cs
- TableProviderWrapper.cs
- Point.cs
- TimeSpanValidator.cs
- AttachedAnnotationChangedEventArgs.cs
- WmlLiteralTextAdapter.cs
- GACMembershipCondition.cs
- MulticastDelegate.cs
- OrderedDictionaryStateHelper.cs
- AutomationElementIdentifiers.cs
- Funcletizer.cs
- ResourceDefaultValueAttribute.cs
- Header.cs
- Rect3D.cs
- PropertySet.cs
- EpmCustomContentWriterNodeData.cs
- DataBindingsDialog.cs
- URLMembershipCondition.cs
- ComponentDispatcherThread.cs
- TextInfo.cs
- PagedDataSource.cs
- _ConnectOverlappedAsyncResult.cs
- ProfileGroupSettingsCollection.cs
- PreservationFileReader.cs
- BitStack.cs
- WindowsStartMenu.cs
- TransformerInfoCollection.cs
- ImageButton.cs
- BufferedGraphicsContext.cs
- RemoteCryptoRsaServiceProvider.cs
- DataTableTypeConverter.cs
- Brush.cs
- DeflateEmulationStream.cs
- srgsitem.cs
- ContentValidator.cs
- CodeMethodInvokeExpression.cs
- ContentDisposition.cs
- XmlSchemaSimpleContent.cs
- HitTestParameters.cs
- SystemEvents.cs
- DataGridViewTextBoxEditingControl.cs
- SchemaTypeEmitter.cs
- ButtonFieldBase.cs
- GradientStopCollection.cs
- ListViewUpdatedEventArgs.cs
- DoubleAnimationUsingPath.cs
- GradientBrush.cs
- __ComObject.cs
- CaretElement.cs
- CustomPopupPlacement.cs
- documentsequencetextpointer.cs
- CAGDesigner.cs
- SiteMembershipCondition.cs
- SqlMethodTransformer.cs
- HtmlInputText.cs
- OrderedDictionary.cs
- PolicyStatement.cs
- FormatStringEditor.cs
- unitconverter.cs
- XmlNavigatorStack.cs
- LockedAssemblyCache.cs
- ColorBlend.cs
- HttpHandlerAction.cs
- UserControlBuildProvider.cs
- RuntimeHandles.cs
- UrlPath.cs
- MiniConstructorInfo.cs
- RecipientIdentity.cs
- JsonQueryStringConverter.cs
- RegistrationServices.cs
- DLinqDataModelProvider.cs
- CompiledXpathExpr.cs
- Coordinator.cs
- Matrix.cs
- SqlTopReducer.cs
- PartManifestEntry.cs
- TypeKeyValue.cs
- ElementsClipboardData.cs
- WindowsGraphics2.cs
- SQLMoney.cs
- CharUnicodeInfo.cs
- IdentityReference.cs
- SystemIPGlobalStatistics.cs
- Matrix.cs
- EntitySetBase.cs
- AnnotationHighlightLayer.cs
- Int32RectValueSerializer.cs
- HGlobalSafeHandle.cs
- TextUtf8RawTextWriter.cs
- ComponentResourceManager.cs
- RightsManagementErrorHandler.cs
- BitmapEffectInput.cs
- MethodSignatureGenerator.cs
- HtmlFormParameterWriter.cs
- DataGridTextBoxColumn.cs
- StringDictionary.cs
- ObjectAnimationUsingKeyFrames.cs
- CoTaskMemHandle.cs