Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Documents / FixedPosition.cs / 1 / FixedPosition.cs
//---------------------------------------------------------------------------- //// Copyright (C) 2004 by Microsoft Corporation. All rights reserved. // // // Description: // FixedPosition represents a hit-testable position in a fixed document's tree. // // History: // 11/19/2004 - [....] ([....]) - Created. // //--------------------------------------------------------------------------- namespace System.Windows.Documents { using MS.Internal.Documents; using System; using System.Collections; using System.Diagnostics; using System.Globalization; //===================================================================== ////// FixedPosition represents a hit-testable position in a fixed document's tree. /// internal struct FixedPosition { //------------------------------------------------------------------- // // Connstructors // //---------------------------------------------------------------------- #region Constructors internal FixedPosition(FixedNode fixedNode, int offset) { _fixedNode = fixedNode; _offset = offset; } #endregion Constructors //------------------------------------------------------------------- // // Public Methods // //---------------------------------------------------------------------- #if DEBUG ////// Create a string representation of this object /// ///string - A string representation of this object public override string ToString() { return String.Format(CultureInfo.InvariantCulture, "FN[{0}]-Offset[{1}]", _fixedNode.ToString(), _offset); } #endif //-------------------------------------------------------------------- // // Public Properties // //--------------------------------------------------------------------- //-------------------------------------------------------------------- // // Public Events // //--------------------------------------------------------------------- //------------------------------------------------------------------- // // Internal Methods // //--------------------------------------------------------------------- //-------------------------------------------------------------------- // // Internal Properties // //--------------------------------------------------------------------- #region Internal Properties // internal int Page { get { return _fixedNode.Page; } } // internal FixedNode Node { get { return _fixedNode; } } internal int Offset { get { return _offset; } } #endregion Internal Properties //-------------------------------------------------------------------- // // Private Methods // //---------------------------------------------------------------------- #region Private Properties #endregion Private Properties //------------------------------------------------------------------- // // Private Fields // //---------------------------------------------------------------------- #region Private Fields private readonly FixedNode _fixedNode; private readonly int _offset; // offset into the fixed node #endregion Private Fields } } // 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
- TypeInfo.cs
- ColorAnimation.cs
- StatusBarPanel.cs
- webproxy.cs
- ConnectionOrientedTransportChannelFactory.cs
- CompositeDataBoundControl.cs
- CodeVariableReferenceExpression.cs
- AdornedElementPlaceholder.cs
- CultureTableRecord.cs
- ServiceModelExtensionElement.cs
- CodeStatementCollection.cs
- XsdCachingReader.cs
- InputLanguageCollection.cs
- HttpContextServiceHost.cs
- VoiceSynthesis.cs
- XmlMembersMapping.cs
- ObjectKeyFrameCollection.cs
- Translator.cs
- ColorTransform.cs
- FtpWebResponse.cs
- RouteItem.cs
- _SingleItemRequestCache.cs
- PhysicalOps.cs
- FontFamilyIdentifier.cs
- Nodes.cs
- TextTreeTextNode.cs
- SignatureHelper.cs
- Descriptor.cs
- DesignerSerializerAttribute.cs
- RSAOAEPKeyExchangeFormatter.cs
- ReferentialConstraint.cs
- SchemaInfo.cs
- BindingGraph.cs
- CodeSnippetStatement.cs
- TypeSemantics.cs
- GeneratedContractType.cs
- ChangeBlockUndoRecord.cs
- InternalBufferOverflowException.cs
- PropertyGroupDescription.cs
- ObjectItemAttributeAssemblyLoader.cs
- CodePageUtils.cs
- CacheChildrenQuery.cs
- ExternalException.cs
- ReturnEventArgs.cs
- XmlIgnoreAttribute.cs
- ScrollEvent.cs
- Win32PrintDialog.cs
- SignatureDescription.cs
- Polyline.cs
- DataBindingHandlerAttribute.cs
- MarkedHighlightComponent.cs
- StructuredTypeInfo.cs
- RefreshPropertiesAttribute.cs
- ObjectPropertyMapping.cs
- SystemIPInterfaceStatistics.cs
- RbTree.cs
- BitmapMetadataEnumerator.cs
- ConfigXmlCDataSection.cs
- NavigationProgressEventArgs.cs
- BulletedList.cs
- XmlUtilWriter.cs
- StrongName.cs
- AssemblyNameProxy.cs
- GridViewUpdateEventArgs.cs
- MetaColumn.cs
- ContentType.cs
- FormsAuthenticationTicket.cs
- HostExecutionContextManager.cs
- InfocardExtendedInformationCollection.cs
- GenericAuthenticationEventArgs.cs
- ACE.cs
- EncoderNLS.cs
- PropertyValueUIItem.cs
- DebugInfoExpression.cs
- listitem.cs
- Marshal.cs
- GroupBoxAutomationPeer.cs
- Operators.cs
- _NetworkingPerfCounters.cs
- _BufferOffsetSize.cs
- FormatterServices.cs
- MimeReflector.cs
- ChannelTokenTypeConverter.cs
- DocumentSequenceHighlightLayer.cs
- PropertyBuilder.cs
- DataSourceBooleanViewSchemaConverter.cs
- SqlBinder.cs
- dbdatarecord.cs
- BaseResourcesBuildProvider.cs
- CopyOfAction.cs
- Vector3DAnimation.cs
- OpCodes.cs
- ApplicationSecurityManager.cs
- DropDownList.cs
- TimeSpan.cs
- FileNotFoundException.cs
- ReliabilityContractAttribute.cs
- X509UI.cs
- DesignBindingEditor.cs
- UseLicense.cs