Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / textformatting / TextModifier.cs / 1305600 / TextModifier.cs
//------------------------------------------------------------------------ // // Microsoft Windows Client Platform // Copyright (C) Microsoft Corporation, 2001 // // File: TextModifier.cs // // Contents: Text modification API // // Spec: http://avalon/text/DesignDocsAndSpecs/Text%20Formatting%20API.doc // // Created: 12-5-2004 Niklas Borson (niklasb) // //----------------------------------------------------------------------- using System; using System.Collections; using System.Collections.Generic; using System.Windows; using System.Windows.Media; namespace System.Windows.Media.TextFormatting { ////// Specialized text run used to modify properties of text runs in its scope. /// The scope extends to the next matching EndOfSegment text run (matching /// because text modifiers may be nested), or to the next EndOfParagraph. /// public abstract class TextModifier : TextRun { ////// Reference to character buffer /// public sealed override CharacterBufferReference CharacterBufferReference { get { return new CharacterBufferReference(); } } ////// Modifies the properties of a text run. /// /// Properties of a text run or the return value of /// ModifyProperties for a nested text modifier. ///Returns the actual text run properties to be used for formatting, /// subject to further modification by text modifiers at outer scopes. public abstract TextRunProperties ModifyProperties(TextRunProperties properties); ////// TextFormatter to ask whether directional embedding is /// represented by this modifier. /// public abstract bool HasDirectionalEmbedding {get; } ////// TextFormatter to get the flow direction value for directional /// embedding. The value is ignored unless the property /// HasDirectionalEmbedding returns true. /// public abstract FlowDirection FlowDirection {get; } } } // 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
- DefaultValueTypeConverter.cs
- ReaderWriterLock.cs
- Line.cs
- _AuthenticationState.cs
- DbSource.cs
- FileDialogPermission.cs
- TransformConverter.cs
- CuspData.cs
- UserThread.cs
- Set.cs
- NativeMethods.cs
- ProfileEventArgs.cs
- SqlConnectionStringBuilder.cs
- PeerOutputChannel.cs
- HelpInfo.cs
- NetworkCredential.cs
- TreeNodeCollection.cs
- PanelContainerDesigner.cs
- PointLightBase.cs
- InkCanvasFeedbackAdorner.cs
- ExpandSegment.cs
- Comparer.cs
- MetadataSerializer.cs
- XPathMultyIterator.cs
- CheckBoxList.cs
- ConfigurationPermission.cs
- XmlSchemaSimpleContent.cs
- XmlProcessingInstruction.cs
- PropertyEmitter.cs
- EntityContainerAssociationSet.cs
- SystemBrushes.cs
- TriState.cs
- SymbolMethod.cs
- CustomErrorsSection.cs
- XmlnsCompatibleWithAttribute.cs
- SerializationSectionGroup.cs
- SelectorAutomationPeer.cs
- ModifierKeysConverter.cs
- DesignerVerbToolStripMenuItem.cs
- COM2IDispatchConverter.cs
- InternalCache.cs
- X509RecipientCertificateServiceElement.cs
- WebPartHelpVerb.cs
- ItemCheckEvent.cs
- PropertyOverridesTypeEditor.cs
- FragmentQuery.cs
- ExtendedPropertyInfo.cs
- XmlArrayAttribute.cs
- XmlAnyElementAttributes.cs
- OutputCacheSection.cs
- SqlInternalConnectionTds.cs
- AppDomain.cs
- Registry.cs
- RIPEMD160Managed.cs
- KeyFrames.cs
- HttpCookieCollection.cs
- StorageEndPropertyMapping.cs
- ExternalDataExchangeClient.cs
- EntitySqlQueryState.cs
- ReferenceEqualityComparer.cs
- _NegoStream.cs
- InputLanguageManager.cs
- SBCSCodePageEncoding.cs
- ExecutionPropertyManager.cs
- RequiredAttributeAttribute.cs
- QueryInterceptorAttribute.cs
- ByteStack.cs
- CodeExporter.cs
- SoapMessage.cs
- UnmanagedMemoryStreamWrapper.cs
- OletxResourceManager.cs
- X500Name.cs
- fixedPageContentExtractor.cs
- XamlClipboardData.cs
- NamespaceList.cs
- BaseParser.cs
- ExceptionTrace.cs
- UnaryNode.cs
- WebPartConnectionsConnectVerb.cs
- SR.cs
- NameValueSectionHandler.cs
- IgnoreSectionHandler.cs
- PersonalizationStateQuery.cs
- TranslateTransform3D.cs
- SamlAuthenticationStatement.cs
- EncryptedXml.cs
- SqlDependencyListener.cs
- DrawingServices.cs
- HTTPNotFoundHandler.cs
- FormViewDeletedEventArgs.cs
- DataSourceProvider.cs
- UnsafeNativeMethodsPenimc.cs
- ExpressionConverter.cs
- sqlmetadatafactory.cs
- WebPartConnectionsCloseVerb.cs
- InstancePersistenceCommand.cs
- DataViewSetting.cs
- ValidationEventArgs.cs
- assemblycache.cs
- WebPartCatalogAddVerb.cs