Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / textformatting / TextEndOfSegment.cs / 1 / TextEndOfSegment.cs
//------------------------------------------------------------------------ // // Microsoft Windows Client Platform // Copyright (C) Microsoft Corporation, 2001 // // File: TextEndOfSegment.cs // // Contents: Text modification API // // Spec: [....]/text/DesignDocsAndSpecs/Text%20Formatting%20API.doc // // Created: 12-5-2004 [....] ([....]) // //----------------------------------------------------------------------- using System; using System.Collections; using System.Collections.Generic; using System.Windows; using System.Windows.Media; using SR=MS.Internal.PresentationCore.SR; using SRID=MS.Internal.PresentationCore.SRID; namespace System.Windows.Media.TextFormatting { ////// Specialized text run used to mark the end of a segment, i.e., to end /// the scope affected by a preceding TextModifier run. /// public class TextEndOfSegment : TextRun { private int _length; #region Constructors ////// Construct an end of segment run /// /// number of characters public TextEndOfSegment(int length) { if (length <= 0) throw new ArgumentOutOfRangeException("length", SR.Get(SRID.ParameterMustBeGreaterThanZero)); _length = length; } #endregion ////// Reference to character buffer /// public sealed override CharacterBufferReference CharacterBufferReference { get { return new CharacterBufferReference(); } } ////// Character length /// public sealed override int Length { get { return _length; } } ////// A set of properties shared by every characters in the run /// public sealed override TextRunProperties Properties { get { return null; } } } } // 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
- PointUtil.cs
- Model3D.cs
- OleStrCAMarshaler.cs
- assemblycache.cs
- PrimitiveRenderer.cs
- AnonymousIdentificationModule.cs
- ContainsRowNumberChecker.cs
- ClientUtils.cs
- ConditionalAttribute.cs
- UrlMapping.cs
- DataGridViewCellCancelEventArgs.cs
- ContextMenuService.cs
- DefaultHttpHandler.cs
- X509Certificate2Collection.cs
- CultureMapper.cs
- GB18030Encoding.cs
- SchemaObjectWriter.cs
- MenuItemStyle.cs
- ScriptResourceMapping.cs
- _DomainName.cs
- FunctionCommandText.cs
- BigInt.cs
- WebPartHeaderCloseVerb.cs
- XmlChoiceIdentifierAttribute.cs
- DocumentReferenceCollection.cs
- SequentialUshortCollection.cs
- OracleParameterBinding.cs
- ServiceDefaults.cs
- SqlInternalConnection.cs
- MenuItem.cs
- DeploymentExceptionMapper.cs
- Point3DCollectionConverter.cs
- SystemIPv6InterfaceProperties.cs
- ConfigurationLockCollection.cs
- ErrorTableItemStyle.cs
- DesigntimeLicenseContextSerializer.cs
- MonitoringDescriptionAttribute.cs
- ListDataHelper.cs
- ProcessModelSection.cs
- CodeLabeledStatement.cs
- Propagator.JoinPropagator.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- ChannelEndpointElement.cs
- DeviceSpecificChoice.cs
- HopperCache.cs
- DbXmlEnabledProviderManifest.cs
- DateTimeAutomationPeer.cs
- ValidationEventArgs.cs
- TypeUnloadedException.cs
- WeakReferenceList.cs
- Win32KeyboardDevice.cs
- ManipulationDeltaEventArgs.cs
- XmlAttributeProperties.cs
- SystemIcons.cs
- WindowsPen.cs
- HelpFileFileNameEditor.cs
- ConcurrencyBehavior.cs
- ListViewUpdatedEventArgs.cs
- MethodMessage.cs
- PKCS1MaskGenerationMethod.cs
- ObjectItemAssemblyLoader.cs
- FixedPageAutomationPeer.cs
- ProgressiveCrcCalculatingStream.cs
- HashHelper.cs
- CodeMemberMethod.cs
- __ComObject.cs
- SafeFindHandle.cs
- TraceContextEventArgs.cs
- BaseTemplateBuildProvider.cs
- MergeLocalizationDirectives.cs
- RootBuilder.cs
- RequestTimeoutManager.cs
- ECDiffieHellman.cs
- CatalogPart.cs
- RegexTree.cs
- AttributeAction.cs
- CodeTypeDeclarationCollection.cs
- CompositeTypefaceMetrics.cs
- IBuiltInEvidence.cs
- BindingExpression.cs
- DataGridRowEventArgs.cs
- HttpApplication.cs
- HierarchicalDataSourceDesigner.cs
- OraclePermission.cs
- HwndSourceKeyboardInputSite.cs
- PrtCap_Builder.cs
- FormsAuthenticationConfiguration.cs
- Source.cs
- ControlBuilderAttribute.cs
- LineProperties.cs
- RemoveStoryboard.cs
- DoubleAnimationUsingPath.cs
- EdmItemError.cs
- DataGridViewControlCollection.cs
- Base64Stream.cs
- COAUTHINFO.cs
- LinkUtilities.cs
- ArgumentValidation.cs
- XmlSignatureManifest.cs
- IdentifierService.cs