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
- SiteMapNodeCollection.cs
- WebOperationContext.cs
- OleDbPropertySetGuid.cs
- PathFigureCollection.cs
- TableAdapterManagerHelper.cs
- OleCmdHelper.cs
- RunWorkerCompletedEventArgs.cs
- PerspectiveCamera.cs
- LZCodec.cs
- CompoundFileStorageReference.cs
- VersionPair.cs
- Utils.cs
- BindingGroup.cs
- EditorPartCollection.cs
- ActivityBuilder.cs
- SafeProcessHandle.cs
- WebZoneDesigner.cs
- Filter.cs
- IPHostEntry.cs
- WindowsTitleBar.cs
- CompilationLock.cs
- ImageIndexConverter.cs
- BitVec.cs
- PerformanceCounter.cs
- Native.cs
- LiteralControl.cs
- MetadataAssemblyHelper.cs
- ManagementOptions.cs
- TreeBuilder.cs
- StylusDownEventArgs.cs
- CreateInstanceBinder.cs
- ADMembershipUser.cs
- MasterPageParser.cs
- UiaCoreApi.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- WebBrowserDesigner.cs
- ReverseInheritProperty.cs
- CapacityStreamGeometryContext.cs
- XmlDownloadManager.cs
- TableParaClient.cs
- HttpException.cs
- EastAsianLunisolarCalendar.cs
- DataControlFieldsEditor.cs
- Rect3DConverter.cs
- XmlLoader.cs
- ModelVisual3D.cs
- EntityCommand.cs
- Point3DKeyFrameCollection.cs
- ExcCanonicalXml.cs
- CryptographicAttribute.cs
- PresentationSource.cs
- OwnerDrawPropertyBag.cs
- DefaultAuthorizationContext.cs
- OpenTypeCommon.cs
- TransportConfigurationTypeElementCollection.cs
- WebEventTraceProvider.cs
- SByte.cs
- DocumentViewerHelper.cs
- FixedPageStructure.cs
- ContainerParagraph.cs
- ProtocolsConfigurationHandler.cs
- RSAPKCS1KeyExchangeFormatter.cs
- AlternateView.cs
- DrawingVisual.cs
- Buffer.cs
- SourceFileInfo.cs
- HighContrastHelper.cs
- ChtmlTextWriter.cs
- ACL.cs
- DesignTimeSiteMapProvider.cs
- MimePart.cs
- LowerCaseStringConverter.cs
- SapiAttributeParser.cs
- TextReader.cs
- MenuItem.cs
- DbProviderFactory.cs
- ProxyManager.cs
- RouteValueDictionary.cs
- MiniLockedBorderGlyph.cs
- SrgsGrammarCompiler.cs
- PointIndependentAnimationStorage.cs
- TextEditorContextMenu.cs
- StoreContentChangedEventArgs.cs
- ExceptionUtil.cs
- XmlSchemaComplexContent.cs
- TypeListConverter.cs
- OleDbErrorCollection.cs
- ProcessThreadCollection.cs
- QuaternionRotation3D.cs
- ColumnResizeAdorner.cs
- ProxyDataContractResolver.cs
- InstanceDataCollection.cs
- FloatUtil.cs
- WinFormsSecurity.cs
- ObjectDataProvider.cs
- SqlWorkflowPersistenceService.cs
- __Filters.cs
- PrefixQName.cs
- StringSource.cs
- TextBreakpoint.cs