Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- ServiceReference.cs
- Utils.cs
- EncoderReplacementFallback.cs
- SafeFileMapViewHandle.cs
- XmlMembersMapping.cs
- TransformProviderWrapper.cs
- PersianCalendar.cs
- DeviceFilterEditorDialog.cs
- WebPartVerbCollection.cs
- WebExceptionStatus.cs
- DataPagerFieldCollection.cs
- ObjectManager.cs
- TemplatedMailWebEventProvider.cs
- Crc32.cs
- TextElementCollectionHelper.cs
- ColorInterpolationModeValidation.cs
- DataGridViewRowCancelEventArgs.cs
- PointLight.cs
- SchemaNamespaceManager.cs
- BooleanAnimationUsingKeyFrames.cs
- CngProvider.cs
- MatrixAnimationUsingPath.cs
- ContentPropertyAttribute.cs
- NullableBoolConverter.cs
- CodeSnippetTypeMember.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- SubqueryRules.cs
- SqlWebEventProvider.cs
- Odbc32.cs
- RecordManager.cs
- Compilation.cs
- XPathNodePointer.cs
- FormsAuthenticationCredentials.cs
- DataGridViewTextBoxEditingControl.cs
- Matrix.cs
- BlockingCollection.cs
- ILGen.cs
- WeakReferenceKey.cs
- VirtualPathProvider.cs
- Condition.cs
- MetabaseSettingsIis7.cs
- InteropBitmapSource.cs
- odbcmetadatacollectionnames.cs
- NaturalLanguageHyphenator.cs
- BamlResourceContent.cs
- MetabaseServerConfig.cs
- RegexBoyerMoore.cs
- GPPOINT.cs
- DbParameterCollection.cs
- Point.cs
- InternalSafeNativeMethods.cs
- WebException.cs
- FileLevelControlBuilderAttribute.cs
- MenuItemBinding.cs
- SessionEndingCancelEventArgs.cs
- MembershipSection.cs
- FullTrustAssembly.cs
- XmlIlVisitor.cs
- LocatorPart.cs
- MaskInputRejectedEventArgs.cs
- InkCanvasAutomationPeer.cs
- SecurityDocument.cs
- TraceUtility.cs
- Rotation3D.cs
- CompiledIdentityConstraint.cs
- CursorConverter.cs
- WorkflowMarkupSerializerMapping.cs
- BamlLocalizableResourceKey.cs
- NetCodeGroup.cs
- WebBrowserContainer.cs
- ToolStripItemGlyph.cs
- AppDomainCompilerProxy.cs
- DefinitionBase.cs
- SafeEventLogWriteHandle.cs
- PtsPage.cs
- UICuesEvent.cs
- MetafileHeaderWmf.cs
- Utilities.cs
- MsmqMessageProperty.cs
- WinInetCache.cs
- MetadataPropertyvalue.cs
- BooleanStorage.cs
- XamlToRtfWriter.cs
- SiblingIterators.cs
- StaticTextPointer.cs
- AuthorizationSection.cs
- CachingHintValidation.cs
- ListDependantCardsRequest.cs
- PrintEvent.cs
- TextCharacters.cs
- MailWriter.cs
- DecoderFallback.cs
- XmlTextEncoder.cs
- MessageEncodingBindingElementImporter.cs
- ConsumerConnectionPoint.cs
- Mouse.cs
- DelegateBodyWriter.cs
- TemplateNameScope.cs
- ColumnMapTranslator.cs
- Guid.cs