Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Framework / MS / Internal / PtsHost / FloaterBaseParaClient.cs / 1 / FloaterBaseParaClient.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // // Description: FloaterBaseParaClient class: Base para client class // for floaters and UIElements // //--------------------------------------------------------------------------- using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Security; using System.Windows; using System.Windows.Media; using System.Windows.Documents; using MS.Internal.Documents; using MS.Internal.Text; using MS.Internal.PtsHost.UnsafeNativeMethods; namespace MS.Internal.PtsHost { // --------------------------------------------------------------------- // FloaterBaseParaClient class: base class for floater and UIElement // para clients // --------------------------------------------------------------------- internal abstract class FloaterBaseParaClient : BaseParaClient { //-------------------------------------------------------------------- // // Constructors // //------------------------------------------------------------------- #region Constructors // ------------------------------------------------------------------ // Constructor. // // paragraph - Paragraph associated with this object. // ------------------------------------------------------------------ protected FloaterBaseParaClient(FloaterBaseParagraph paragraph) : base(paragraph) { } #endregion Constructors // ----------------------------------------------------------------- // Arrange floater // // rcFloater - rectangle of the floater // rcHostPara - rectangle of the host text paragraph. // fswdirParent- flow direction of parent // pageContext - page context // ------------------------------------------------------------------ internal virtual void ArrangeFloater(PTS.FSRECT rcFloater, PTS.FSRECT rcHostPara, uint fswdirParent, PageContext pageContext) { } // ----------------------------------------------------------------- // Return TextContentRange for the content of the paragraph. // ----------------------------------------------------------------- internal override abstract TextContentRange GetTextContentRange(); } } // 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: FloaterBaseParaClient class: Base para client class // for floaters and UIElements // //--------------------------------------------------------------------------- using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Security; using System.Windows; using System.Windows.Media; using System.Windows.Documents; using MS.Internal.Documents; using MS.Internal.Text; using MS.Internal.PtsHost.UnsafeNativeMethods; namespace MS.Internal.PtsHost { // --------------------------------------------------------------------- // FloaterBaseParaClient class: base class for floater and UIElement // para clients // --------------------------------------------------------------------- internal abstract class FloaterBaseParaClient : BaseParaClient { //-------------------------------------------------------------------- // // Constructors // //------------------------------------------------------------------- #region Constructors // ------------------------------------------------------------------ // Constructor. // // paragraph - Paragraph associated with this object. // ------------------------------------------------------------------ protected FloaterBaseParaClient(FloaterBaseParagraph paragraph) : base(paragraph) { } #endregion Constructors // ----------------------------------------------------------------- // Arrange floater // // rcFloater - rectangle of the floater // rcHostPara - rectangle of the host text paragraph. // fswdirParent- flow direction of parent // pageContext - page context // ------------------------------------------------------------------ internal virtual void ArrangeFloater(PTS.FSRECT rcFloater, PTS.FSRECT rcHostPara, uint fswdirParent, PageContext pageContext) { } // ----------------------------------------------------------------- // Return TextContentRange for the content of the paragraph. // ----------------------------------------------------------------- internal override abstract TextContentRange GetTextContentRange(); } } // 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
- SqlDependencyUtils.cs
- VisualStateManager.cs
- SafeArrayRankMismatchException.cs
- DetailsView.cs
- MetadataArtifactLoaderCompositeResource.cs
- HttpGetServerProtocol.cs
- FragmentQuery.cs
- TextDecoration.cs
- XmlQualifiedName.cs
- BinHexEncoder.cs
- CacheSection.cs
- DataServiceQueryException.cs
- FigureParaClient.cs
- SchemaEntity.cs
- XmlSchemaImporter.cs
- PrivilegeNotHeldException.cs
- RightsManagementEncryptedStream.cs
- MorphHelper.cs
- CharStorage.cs
- EntityDataSourceWrapper.cs
- Config.cs
- RegexRunnerFactory.cs
- DocumentGrid.cs
- OutputCacheSettingsSection.cs
- XmlSchemaCollection.cs
- WmpBitmapDecoder.cs
- GcSettings.cs
- WorkflowInstanceExtensionCollection.cs
- ServiceMemoryGates.cs
- ServiceNameElementCollection.cs
- UmAlQuraCalendar.cs
- DesignColumnCollection.cs
- _KerberosClient.cs
- IPEndPoint.cs
- Positioning.cs
- SwitchLevelAttribute.cs
- SeverityFilter.cs
- HwndSourceKeyboardInputSite.cs
- DesignTimeValidationFeature.cs
- PropertyValueChangedEvent.cs
- CqlParserHelpers.cs
- CompilationPass2Task.cs
- XmlSchemaObjectTable.cs
- OleDbConnectionFactory.cs
- SafeBitVector32.cs
- SelectionWordBreaker.cs
- TextTabProperties.cs
- PersonalizationProvider.cs
- EnlistmentTraceIdentifier.cs
- Help.cs
- DiscoveryRequestHandler.cs
- BrowserCapabilitiesFactoryBase.cs
- BinaryConverter.cs
- ExceptionValidationRule.cs
- ConnectionConsumerAttribute.cs
- BeginEvent.cs
- ObjectDataSourceView.cs
- AttachedAnnotation.cs
- ClientSideQueueItem.cs
- ListBoxAutomationPeer.cs
- RayHitTestParameters.cs
- SocketAddress.cs
- SchemaElementDecl.cs
- NavigationPropertyEmitter.cs
- _ConnectionGroup.cs
- EventLogger.cs
- XmlAutoDetectWriter.cs
- HttpConfigurationContext.cs
- Sentence.cs
- Accessible.cs
- VisualStyleInformation.cs
- BamlStream.cs
- WebEncodingValidator.cs
- GenericsInstances.cs
- UDPClient.cs
- NativeActivityTransactionContext.cs
- MembershipUser.cs
- RowToFieldTransformer.cs
- RectangleHotSpot.cs
- Normalization.cs
- DataGridViewCellPaintingEventArgs.cs
- XmlBinaryReaderSession.cs
- DrawingContext.cs
- AnonymousIdentificationModule.cs
- ValidatorCompatibilityHelper.cs
- CommandCollectionEditor.cs
- AccessedThroughPropertyAttribute.cs
- TreeNodeBinding.cs
- CmsInterop.cs
- TableTextElementCollectionInternal.cs
- AsymmetricKeyExchangeDeformatter.cs
- PriorityQueue.cs
- DataStreamFromComStream.cs
- FormatterConverter.cs
- ExpressionConverter.cs
- Vector3dCollection.cs
- BindingExpressionUncommonField.cs
- CheckedPointers.cs
- ContentType.cs
- isolationinterop.cs