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
- EventMappingSettingsCollection.cs
- WorkingDirectoryEditor.cs
- RenderingEventArgs.cs
- UTF8Encoding.cs
- XNodeValidator.cs
- LayoutEvent.cs
- ScrollEventArgs.cs
- _SSPIWrapper.cs
- ActivationArguments.cs
- XmlIgnoreAttribute.cs
- XmlTypeAttribute.cs
- DbgCompiler.cs
- DictionaryEditChange.cs
- FrameworkTemplate.cs
- TransportContext.cs
- Token.cs
- GenericTextProperties.cs
- GridViewEditEventArgs.cs
- ListenerSessionConnection.cs
- DiscardableAttribute.cs
- SmtpNetworkElement.cs
- Menu.cs
- WindowsPrincipal.cs
- SegmentInfo.cs
- WorkflowMessageEventArgs.cs
- LateBoundBitmapDecoder.cs
- DeploymentExceptionMapper.cs
- BitmapCacheBrush.cs
- PropertyItemInternal.cs
- DetailsViewPagerRow.cs
- ByteStack.cs
- HttpDictionary.cs
- BaseComponentEditor.cs
- Polyline.cs
- DataGridPagerStyle.cs
- BindingMAnagerBase.cs
- HtmlInputHidden.cs
- LexicalChunk.cs
- BindingCompleteEventArgs.cs
- XmlLanguage.cs
- PeerHelpers.cs
- StorageMappingFragment.cs
- CodeEventReferenceExpression.cs
- EndpointInfo.cs
- FileSystemWatcher.cs
- SettingsAttributes.cs
- TraceEventCache.cs
- DataBoundControl.cs
- DataPagerField.cs
- BasicBrowserDialog.cs
- TreeView.cs
- SoapTypeAttribute.cs
- TreeView.cs
- WorkflowApplicationUnhandledExceptionEventArgs.cs
- BitmapSizeOptions.cs
- MemoryMappedFile.cs
- DependencyObjectType.cs
- XmlKeywords.cs
- TextPenaltyModule.cs
- Code.cs
- IERequestCache.cs
- ServiceChannel.cs
- TableItemProviderWrapper.cs
- Metafile.cs
- FieldValue.cs
- CodeSnippetExpression.cs
- ReferenceEqualityComparer.cs
- SelectedDatesCollection.cs
- SqlComparer.cs
- ScriptReferenceEventArgs.cs
- PageParserFilter.cs
- ErrorWrapper.cs
- SystemEvents.cs
- ClientTarget.cs
- RtfToXamlLexer.cs
- DynamicAttribute.cs
- InputLanguageSource.cs
- Rule.cs
- TableItemProviderWrapper.cs
- HtmlElementCollection.cs
- PrimaryKeyTypeConverter.cs
- DataGridCellClipboardEventArgs.cs
- XmlLanguage.cs
- SemaphoreFullException.cs
- FindCompletedEventArgs.cs
- _ListenerResponseStream.cs
- CursorInteropHelper.cs
- TextContainerChangeEventArgs.cs
- LinearGradientBrush.cs
- WindowsSysHeader.cs
- ToolboxBitmapAttribute.cs
- Model3DCollection.cs
- WebSysDefaultValueAttribute.cs
- PackageDigitalSignature.cs
- ItemList.cs
- XPathBinder.cs
- BlurEffect.cs
- GridSplitter.cs
- TreeViewCancelEvent.cs
- BamlStream.cs