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
- DataControlImageButton.cs
- StreamResourceInfo.cs
- InternalConfigSettingsFactory.cs
- SharedDp.cs
- _ListenerRequestStream.cs
- XmlArrayItemAttributes.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- IdnElement.cs
- DataControlImageButton.cs
- cookie.cs
- XmlSchemaSubstitutionGroup.cs
- ImageList.cs
- WebUtil.cs
- WindowsContainer.cs
- InputLangChangeEvent.cs
- ReadOnlyKeyedCollection.cs
- ReflectionTypeLoadException.cs
- InstanceKeyCompleteException.cs
- ResourceReader.cs
- MsmqInputMessage.cs
- XpsFixedDocumentSequenceReaderWriter.cs
- Identifier.cs
- X509PeerCertificateElement.cs
- TypeDelegator.cs
- PrePostDescendentsWalker.cs
- WinFormsUtils.cs
- UIAgentRequest.cs
- FileVersionInfo.cs
- RightsManagementInformation.cs
- GradientBrush.cs
- HashRepartitionStream.cs
- ObfuscateAssemblyAttribute.cs
- GiveFeedbackEvent.cs
- ConfigXmlSignificantWhitespace.cs
- MsmqIntegrationProcessProtocolHandler.cs
- DependencyProperty.cs
- SspiNegotiationTokenAuthenticatorState.cs
- DateRangeEvent.cs
- Operators.cs
- RootBrowserWindowAutomationPeer.cs
- SoapElementAttribute.cs
- DBSchemaRow.cs
- IdentityReference.cs
- AmbientProperties.cs
- ToolStripPanelRenderEventArgs.cs
- RegionIterator.cs
- ObjectConverter.cs
- ItemsPanelTemplate.cs
- CatalogZoneBase.cs
- ScrollChrome.cs
- EventLogPermissionAttribute.cs
- HitTestWithPointDrawingContextWalker.cs
- DataSysAttribute.cs
- DocobjHost.cs
- MimeMultiPart.cs
- Int64AnimationBase.cs
- CroppedBitmap.cs
- SplashScreenNativeMethods.cs
- InputElement.cs
- ScriptManagerProxy.cs
- HtmlToClrEventProxy.cs
- CodeAccessSecurityEngine.cs
- HostExecutionContextManager.cs
- SchemaImporterExtensionsSection.cs
- CodeExpressionStatement.cs
- UserControlBuildProvider.cs
- RNGCryptoServiceProvider.cs
- HttpClientCertificate.cs
- UIElementHelper.cs
- AlternateViewCollection.cs
- FixedHighlight.cs
- ElapsedEventArgs.cs
- BehaviorEditorPart.cs
- Invariant.cs
- TcpProcessProtocolHandler.cs
- DataSourceXmlClassAttribute.cs
- NotImplementedException.cs
- RegexRunner.cs
- TableCell.cs
- Graphics.cs
- SHA256Managed.cs
- TypeReference.cs
- COMException.cs
- RepeaterItem.cs
- EntryPointNotFoundException.cs
- StringKeyFrameCollection.cs
- QilInvoke.cs
- EntityContainer.cs
- FontFamilyValueSerializer.cs
- XamlTemplateSerializer.cs
- XPathNodeInfoAtom.cs
- JoinTreeSlot.cs
- XPathException.cs
- SystemColors.cs
- TextTreeObjectNode.cs
- TextOnlyOutput.cs
- DefaultBinder.cs
- RowToFieldTransformer.cs
- VersionPair.cs
- StateBag.cs