Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- CodeExpressionCollection.cs
- CollectionViewProxy.cs
- messageonlyhwndwrapper.cs
- IsolatedStorageFile.cs
- HMACSHA384.cs
- TabItemWrapperAutomationPeer.cs
- ItemCheckedEvent.cs
- CompiledAction.cs
- StaticExtension.cs
- EntityDataSourceQueryBuilder.cs
- Control.cs
- TargetConverter.cs
- PartitionedStream.cs
- PerfService.cs
- AuthenticateEventArgs.cs
- AuthenticationConfig.cs
- Component.cs
- ApplicationFileCodeDomTreeGenerator.cs
- SynchronizedInputProviderWrapper.cs
- ManualResetEvent.cs
- Scene3D.cs
- InfoCardTraceRecord.cs
- FunctionCommandText.cs
- ExpressionVisitor.cs
- SharedPersonalizationStateInfo.cs
- AuthenticatingEventArgs.cs
- OutputCacheProfile.cs
- AQNBuilder.cs
- DataRelationPropertyDescriptor.cs
- RemoteWebConfigurationHostServer.cs
- Configuration.cs
- PolicyChain.cs
- GridViewActionList.cs
- GenerateHelper.cs
- StreamWriter.cs
- CodeCompiler.cs
- SoapSchemaExporter.cs
- ResponseBodyWriter.cs
- VersionPair.cs
- CompareInfo.cs
- GenericArgumentsUpdater.cs
- DataMisalignedException.cs
- BinHexEncoder.cs
- ConstructorExpr.cs
- SharedPerformanceCounter.cs
- ConnectionManagementSection.cs
- TypeInitializationException.cs
- DataGridViewHeaderCell.cs
- ZipPackage.cs
- TableDesigner.cs
- MissingMemberException.cs
- FileDialogCustomPlacesCollection.cs
- WinInetCache.cs
- TdsEnums.cs
- WebPartDisplayMode.cs
- Single.cs
- EntityCommandCompilationException.cs
- StyleCollectionEditor.cs
- SelfIssuedSamlTokenFactory.cs
- ProcessStartInfo.cs
- TimeEnumHelper.cs
- InplaceBitmapMetadataWriter.cs
- Cursor.cs
- WorkflowViewStateService.cs
- NullableConverter.cs
- FunctionNode.cs
- HttpPostedFile.cs
- InputProcessorProfiles.cs
- TextTreeFixupNode.cs
- ComplusTypeValidator.cs
- ToolStrip.cs
- MaskedTextBoxDesignerActionList.cs
- PackageDigitalSignature.cs
- AuthenticationManager.cs
- GeometryGroup.cs
- SqlAliaser.cs
- DSASignatureDeformatter.cs
- WebHttpSecurity.cs
- Page.cs
- ProcessModelSection.cs
- PassportPrincipal.cs
- ColorTranslator.cs
- RegexTree.cs
- RtfToken.cs
- Int32.cs
- PaperSource.cs
- LoginView.cs
- SortExpressionBuilder.cs
- BufferedGraphicsContext.cs
- PermissionListSet.cs
- FixedSOMTableRow.cs
- WebBrowserNavigatedEventHandler.cs
- EdmItemError.cs
- EditorOptionAttribute.cs
- UInt16.cs
- List.cs
- GradientStop.cs
- NegatedConstant.cs
- PropertyConverter.cs
- Itemizer.cs