Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- RecordBuilder.cs
- HealthMonitoringSectionHelper.cs
- RecordBuilder.cs
- XmlWriter.cs
- Avt.cs
- RelationshipConstraintValidator.cs
- SchemaSetCompiler.cs
- XmlChildNodes.cs
- EnumDataContract.cs
- ObjectQueryExecutionPlan.cs
- IMembershipProvider.cs
- HttpResponseInternalWrapper.cs
- PermissionSetTriple.cs
- BreakRecordTable.cs
- AccessDataSource.cs
- NTAccount.cs
- DataGridParentRows.cs
- SqlBuffer.cs
- OpenFileDialog.cs
- ListParaClient.cs
- Panel.cs
- CharacterShapingProperties.cs
- ConnectionConsumerAttribute.cs
- DataTrigger.cs
- ConfigurationElementCollection.cs
- CompilerLocalReference.cs
- UserControlParser.cs
- Convert.cs
- CodeTypeParameter.cs
- TableHeaderCell.cs
- SafeEventLogWriteHandle.cs
- Lease.cs
- ProxyWebPart.cs
- DBNull.cs
- Exception.cs
- PointCollection.cs
- ExtendedPropertyCollection.cs
- DataGridViewCell.cs
- NamespaceList.cs
- WSSecurityTokenSerializer.cs
- DecimalAverageAggregationOperator.cs
- ReflectionServiceProvider.cs
- SystemNetworkInterface.cs
- BamlRecordWriter.cs
- TdsRecordBufferSetter.cs
- HMACRIPEMD160.cs
- ProjectionPathBuilder.cs
- EventLogPermissionEntry.cs
- ThaiBuddhistCalendar.cs
- ClipboardData.cs
- DoubleLink.cs
- PrintingPermission.cs
- WebBrowserHelper.cs
- SortFieldComparer.cs
- Win32SafeHandles.cs
- CalloutQueueItem.cs
- VersionPair.cs
- HMACSHA384.cs
- XsltException.cs
- ProxyAttribute.cs
- SqlRewriteScalarSubqueries.cs
- XmlnsCache.cs
- JpegBitmapEncoder.cs
- CopyNodeSetAction.cs
- AuthenticationModulesSection.cs
- TrackBar.cs
- SoapSchemaExporter.cs
- DPTypeDescriptorContext.cs
- QilSortKey.cs
- FloatAverageAggregationOperator.cs
- MaskedTextBox.cs
- StyleBamlTreeBuilder.cs
- ResourcesChangeInfo.cs
- TypeInitializationException.cs
- List.cs
- DataGridTableCollection.cs
- XPathScanner.cs
- IPAddress.cs
- smtpconnection.cs
- SQLMembershipProvider.cs
- SimpleWorkerRequest.cs
- MenuAdapter.cs
- DiscardableAttribute.cs
- ParameterCollection.cs
- SafeLocalAllocation.cs
- httpserverutility.cs
- LookupBindingPropertiesAttribute.cs
- ControlPropertyNameConverter.cs
- HierarchicalDataBoundControlAdapter.cs
- EntityDataSourceWrapperCollection.cs
- AutoGeneratedField.cs
- Exceptions.cs
- WeakReference.cs
- TagPrefixInfo.cs
- ContextMarshalException.cs
- PrintDocument.cs
- WorkflowElementDialogWindow.xaml.cs
- InputReport.cs
- OdbcEnvironmentHandle.cs
- GeometryHitTestResult.cs