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
- MapPathBasedVirtualPathProvider.cs
- XPathParser.cs
- NonVisualControlAttribute.cs
- PartialTrustVisibleAssembliesSection.cs
- HwndHostAutomationPeer.cs
- DependencyObjectType.cs
- LinkClickEvent.cs
- SessionStateItemCollection.cs
- MessagePartDescription.cs
- Visual3DCollection.cs
- HandlerBase.cs
- CacheEntry.cs
- ResourceCategoryAttribute.cs
- MobileControlsSection.cs
- sitestring.cs
- DataRelationCollection.cs
- MessageQueueConverter.cs
- IndicCharClassifier.cs
- autovalidator.cs
- ImageSource.cs
- HorizontalAlignConverter.cs
- Vector.cs
- ProviderException.cs
- FontStyles.cs
- ObjectDataSourceDisposingEventArgs.cs
- Panel.cs
- DetailsViewInsertedEventArgs.cs
- WeakRefEnumerator.cs
- Command.cs
- DataPagerCommandEventArgs.cs
- DispatcherSynchronizationContext.cs
- ExtendedProperty.cs
- ChangeTracker.cs
- XpsS0ValidatingLoader.cs
- EncoderParameter.cs
- CachedBitmap.cs
- RegexWorker.cs
- Registry.cs
- HandleCollector.cs
- webeventbuffer.cs
- Constraint.cs
- ColumnHeader.cs
- LinkTarget.cs
- COM2ComponentEditor.cs
- HighContrastHelper.cs
- ContainerUIElement3D.cs
- StringCollectionMarkupSerializer.cs
- ProcessProtocolHandler.cs
- objectresult_tresulttype.cs
- StateBag.cs
- XD.cs
- XmlNodeWriter.cs
- AgileSafeNativeMemoryHandle.cs
- WinFormsSecurity.cs
- ClientFactory.cs
- AssemblyBuilderData.cs
- BinaryFormatter.cs
- XsltCompileContext.cs
- FixedSOMPageConstructor.cs
- ReachFixedPageSerializerAsync.cs
- NativeMethods.cs
- DocumentViewer.cs
- OdbcInfoMessageEvent.cs
- ObjectQuery_EntitySqlExtensions.cs
- PassportPrincipal.cs
- MissingMethodException.cs
- StyleTypedPropertyAttribute.cs
- AttachedPropertyMethodSelector.cs
- MarkupCompilePass1.cs
- ChangeConflicts.cs
- RuntimeCompatibilityAttribute.cs
- ListParagraph.cs
- WinEventTracker.cs
- BindingCollection.cs
- SafeNativeMemoryHandle.cs
- XmlCountingReader.cs
- StringValueSerializer.cs
- DefaultDialogButtons.cs
- ReadWriteObjectLock.cs
- PointCollection.cs
- VerificationAttribute.cs
- DebugHandleTracker.cs
- File.cs
- FacetDescriptionElement.cs
- Int32Rect.cs
- EventBuilder.cs
- PackageDigitalSignature.cs
- Glyph.cs
- DataSourceProvider.cs
- EdmToObjectNamespaceMap.cs
- UmAlQuraCalendar.cs
- PackageProperties.cs
- ScriptResourceHandler.cs
- TypeSystem.cs
- XhtmlBasicLabelAdapter.cs
- TemplateField.cs
- SettingsAttributes.cs
- ExpressionBuilderCollection.cs
- InternalRelationshipCollection.cs
- ButtonBaseAutomationPeer.cs