Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Behavior.cs
- RelatedCurrencyManager.cs
- WeakReferenceKey.cs
- MexBindingElement.cs
- GenericTextProperties.cs
- WebBrowserNavigatedEventHandler.cs
- UpDownEvent.cs
- COM2IDispatchConverter.cs
- XamlSerializerUtil.cs
- AutoCompleteStringCollection.cs
- DeclarativeCatalogPart.cs
- Dynamic.cs
- ButtonBaseAutomationPeer.cs
- BindingSource.cs
- ApplicationProxyInternal.cs
- ObjectSet.cs
- ObjectItemCollection.cs
- _ConnectStream.cs
- NegatedConstant.cs
- MarkupCompilePass1.cs
- MultipartIdentifier.cs
- AuditLevel.cs
- TextModifier.cs
- SvcMapFile.cs
- ListBindingConverter.cs
- MessageHeaderException.cs
- GestureRecognitionResult.cs
- AutomationProperties.cs
- TypeDescriptor.cs
- StreamGeometry.cs
- WebZoneDesigner.cs
- Label.cs
- ProfilePropertySettings.cs
- WpfWebRequestHelper.cs
- StrongNameIdentityPermission.cs
- COM2PropertyDescriptor.cs
- SchemaObjectWriter.cs
- TypeConverterHelper.cs
- PermissionRequestEvidence.cs
- FontSourceCollection.cs
- TimerExtension.cs
- PrivacyNoticeBindingElement.cs
- QuaternionValueSerializer.cs
- AccessDataSourceWizardForm.cs
- ApplicationSecurityManager.cs
- WebBrowser.cs
- HttpValueCollection.cs
- GZipDecoder.cs
- CommunicationObjectFaultedException.cs
- RegisteredScript.cs
- SourceElementsCollection.cs
- UpdatePanel.cs
- TagPrefixCollection.cs
- FindCriteria.cs
- EventListenerClientSide.cs
- DataTableClearEvent.cs
- PrintingPermissionAttribute.cs
- TypeLoader.cs
- MaskDesignerDialog.cs
- SingleObjectCollection.cs
- SqlMetaData.cs
- AppSettingsReader.cs
- SignatureHelper.cs
- GroupItemAutomationPeer.cs
- PnrpPermission.cs
- DataView.cs
- DesignerAttribute.cs
- NetMsmqBindingCollectionElement.cs
- BoundsDrawingContextWalker.cs
- SessionState.cs
- Triangle.cs
- ColorInterpolationModeValidation.cs
- TaskHelper.cs
- SrgsOneOf.cs
- SoapAttributeAttribute.cs
- PrintDocument.cs
- InkSerializer.cs
- DocumentCollection.cs
- ToolboxDataAttribute.cs
- HtmlSelectionListAdapter.cs
- VariableModifiersHelper.cs
- CancellationHandler.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- ToolStripTextBox.cs
- OdbcErrorCollection.cs
- OleDbConnection.cs
- EncodingDataItem.cs
- GlyphInfoList.cs
- CachedPathData.cs
- XmlLanguage.cs
- TypedCompletedAsyncResult.cs
- SmtpCommands.cs
- InlinedAggregationOperator.cs
- DetailsViewRow.cs
- ResourceKey.cs
- XmlComplianceUtil.cs
- PersonalizationStateQuery.cs
- SimpleHandlerFactory.cs
- OdbcDataReader.cs
- TreeViewEvent.cs