Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / MS / Internal / PtsHost / FloaterBaseParaClient.cs / 1305600 / 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
- SelectionItemPatternIdentifiers.cs
- ActivityFunc.cs
- ISSmlParser.cs
- Style.cs
- SqlStatistics.cs
- MessageProtectionOrder.cs
- XPathAxisIterator.cs
- LOSFormatter.cs
- DataGridItemAttachedStorage.cs
- ObjectDataProvider.cs
- DocumentPageHost.cs
- MSAANativeProvider.cs
- LoginStatusDesigner.cs
- HyperLinkStyle.cs
- GPStream.cs
- DataGridViewCellValidatingEventArgs.cs
- TargetFrameworkUtil.cs
- FileUtil.cs
- DelegateArgumentReference.cs
- MaterialGroup.cs
- WorkerRequest.cs
- IISUnsafeMethods.cs
- TextServicesDisplayAttribute.cs
- NodeFunctions.cs
- XmlSchemaSimpleTypeList.cs
- Drawing.cs
- RegisteredDisposeScript.cs
- ReflectionServiceProvider.cs
- XhtmlConformanceSection.cs
- Semaphore.cs
- PerspectiveCamera.cs
- ModuleBuilder.cs
- MultipleViewProviderWrapper.cs
- CompositeTypefaceMetrics.cs
- ChildDocumentBlock.cs
- SignatureDescription.cs
- IsolatedStorageException.cs
- EncodingConverter.cs
- RecognitionEventArgs.cs
- ExclusiveTcpTransportManager.cs
- SqlFlattener.cs
- ContentPlaceHolder.cs
- OLEDB_Enum.cs
- CodeDelegateCreateExpression.cs
- TextParagraphView.cs
- SqlDependencyListener.cs
- StateElementCollection.cs
- FastEncoderWindow.cs
- XPathCompileException.cs
- SystemSounds.cs
- NamespaceList.cs
- HttpCookiesSection.cs
- InvariantComparer.cs
- NetworkInformationPermission.cs
- RemoteWebConfigurationHostStream.cs
- RowParagraph.cs
- ISAPIApplicationHost.cs
- GcHandle.cs
- IntSecurity.cs
- DataFieldEditor.cs
- WindowsGrip.cs
- MultipartIdentifier.cs
- Errors.cs
- SafeCryptHandles.cs
- ApplicationException.cs
- XmlCountingReader.cs
- DocumentOrderQuery.cs
- PageAsyncTask.cs
- ReadWriteObjectLock.cs
- RewritingValidator.cs
- DataGridClipboardCellContent.cs
- followingquery.cs
- ConnectionProviderAttribute.cs
- TextServicesHost.cs
- EventlogProvider.cs
- SiteMapPath.cs
- TagPrefixInfo.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- EventNotify.cs
- DrawingCollection.cs
- SystemIPGlobalProperties.cs
- KnownBoxes.cs
- _UriTypeConverter.cs
- TextView.cs
- MouseActionValueSerializer.cs
- TextElementEditingBehaviorAttribute.cs
- FontStyleConverter.cs
- Rect3DValueSerializer.cs
- ServiceEndpointElementCollection.cs
- XmlAutoDetectWriter.cs
- ImpersonationContext.cs
- PolicyException.cs
- DetailsView.cs
- EncodingTable.cs
- AliasGenerator.cs
- CodeIdentifiers.cs
- SafeBitVector32.cs
- XappLauncher.cs
- ProjectionPruner.cs
- DelimitedListTraceListener.cs