Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / textformatting / TextModifier.cs / 1 / TextModifier.cs
//------------------------------------------------------------------------ // // Microsoft Windows Client Platform // Copyright (C) Microsoft Corporation, 2001 // // File: TextModifier.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; 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
- ListBoxItemAutomationPeer.cs
- LZCodec.cs
- RuntimeHelpers.cs
- ClockGroup.cs
- StorageBasedPackageProperties.cs
- LocalizationCodeDomSerializer.cs
- SynchronousSendBindingElement.cs
- DelegatingTypeDescriptionProvider.cs
- FontStyleConverter.cs
- EntityTemplateFactory.cs
- DataGridViewCell.cs
- EntityContainerAssociationSetEnd.cs
- TabControlCancelEvent.cs
- EventMap.cs
- regiisutil.cs
- SqlGatherConsumedAliases.cs
- CheckBox.cs
- WebSysDisplayNameAttribute.cs
- ExpressionQuoter.cs
- WebPartConnectionsCancelVerb.cs
- DragAssistanceManager.cs
- MissingManifestResourceException.cs
- ContravarianceAdapter.cs
- ReflectionHelper.cs
- PowerModeChangedEventArgs.cs
- OpacityConverter.cs
- OneWayChannelListener.cs
- Attributes.cs
- GridViewEditEventArgs.cs
- XmlExceptionHelper.cs
- EntityDataSourceDesigner.cs
- COSERVERINFO.cs
- DataGridItemEventArgs.cs
- TypedTableBase.cs
- PageContent.cs
- HtmlToClrEventProxy.cs
- WasAdminWrapper.cs
- DecoderFallbackWithFailureFlag.cs
- WebProxyScriptElement.cs
- RegisteredArrayDeclaration.cs
- StateRuntime.cs
- Binding.cs
- HtmlControlPersistable.cs
- LineBreak.cs
- SoapCodeExporter.cs
- PointConverter.cs
- PropertyGrid.cs
- ManagementQuery.cs
- AuthenticationManager.cs
- Int16AnimationBase.cs
- InkCanvasSelectionAdorner.cs
- StaticDataManager.cs
- SendDesigner.xaml.cs
- MaterialGroup.cs
- QueryCursorEventArgs.cs
- WebPartDescriptionCollection.cs
- UpdateException.cs
- VectorConverter.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- CultureSpecificCharacterBufferRange.cs
- ImageAttributes.cs
- PropertyChangedEventManager.cs
- ProcessHostServerConfig.cs
- ScriptModule.cs
- WebPartDisplayModeCollection.cs
- IfAction.cs
- FilteredDataSetHelper.cs
- ExpressionBindings.cs
- WebPartDisplayMode.cs
- DataGridViewSelectedCellCollection.cs
- ContainerParaClient.cs
- SolidColorBrush.cs
- MeshGeometry3D.cs
- Util.cs
- TransformerTypeCollection.cs
- DataGridTextBoxColumn.cs
- WaitHandle.cs
- DataSvcMapFileSerializer.cs
- ReceiveMessageContent.cs
- XmlDocumentFragment.cs
- ListBoxItemAutomationPeer.cs
- DesignOnlyAttribute.cs
- SqlRewriteScalarSubqueries.cs
- Model3DGroup.cs
- COSERVERINFO.cs
- Shape.cs
- ExpressionConverter.cs
- ActiveXHelper.cs
- ThreadStateException.cs
- ClientScriptManager.cs
- PartialCachingControl.cs
- QilVisitor.cs
- FileDialog_Vista.cs
- ReadContentAsBinaryHelper.cs
- ThemeableAttribute.cs
- UICuesEvent.cs
- CustomValidator.cs
- WindowsListViewGroup.cs
- MarkupWriter.cs
- SafeNativeMethods.cs