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
- GridViewUpdatedEventArgs.cs
- DeferredTextReference.cs
- DesignRelation.cs
- WeakReference.cs
- EntityDataSourceColumn.cs
- WriteTimeStream.cs
- MethodBody.cs
- ManagementQuery.cs
- ComponentEditorPage.cs
- SoundPlayerAction.cs
- PartialCachingAttribute.cs
- VoiceObjectToken.cs
- MobileListItem.cs
- DataServiceRequestOfT.cs
- XmlWellformedWriterHelpers.cs
- RemoteWebConfigurationHost.cs
- TextEncodedRawTextWriter.cs
- MultiBinding.cs
- TextElement.cs
- CachedTypeface.cs
- Container.cs
- FileDialog.cs
- RelatedEnd.cs
- Util.cs
- FilterElement.cs
- MarkupCompilePass1.cs
- TemplateField.cs
- ToolStripContainerDesigner.cs
- FtpRequestCacheValidator.cs
- DataObjectFieldAttribute.cs
- HtmlMeta.cs
- WindowsGraphics.cs
- CodeLinePragma.cs
- InputLangChangeRequestEvent.cs
- ApplyHostConfigurationBehavior.cs
- RadioButton.cs
- HtmlTableCell.cs
- AtlasWeb.Designer.cs
- DelayedRegex.cs
- login.cs
- XmlElementAttribute.cs
- FontFamily.cs
- PolicyException.cs
- BitmapSizeOptions.cs
- RepeatBehaviorConverter.cs
- MsmqHostedTransportManager.cs
- CaseKeyBox.ViewModel.cs
- SvcFileManager.cs
- ModelPropertyCollectionImpl.cs
- RuleProcessor.cs
- TextChangedEventArgs.cs
- DynamicQueryableWrapper.cs
- DoubleMinMaxAggregationOperator.cs
- DeclarativeCatalogPartDesigner.cs
- PolyBezierSegmentFigureLogic.cs
- WebPartEditVerb.cs
- ValidationEventArgs.cs
- ParsedAttributeCollection.cs
- HttpCookieCollection.cs
- Lease.cs
- TemplatedAdorner.cs
- _KerberosClient.cs
- FontDialog.cs
- Int32RectConverter.cs
- CalloutQueueItem.cs
- DupHandleConnectionReader.cs
- XmlSchemaSimpleContentRestriction.cs
- MultiPropertyDescriptorGridEntry.cs
- TextInfo.cs
- serverconfig.cs
- KeyInterop.cs
- Odbc32.cs
- DirectoryNotFoundException.cs
- FocusTracker.cs
- WebSysDisplayNameAttribute.cs
- PerfService.cs
- _BasicClient.cs
- Ports.cs
- BoolLiteral.cs
- RuntimeHelpers.cs
- ComponentSerializationService.cs
- ItemCheckedEvent.cs
- ScriptBehaviorDescriptor.cs
- SelectedGridItemChangedEvent.cs
- StrictModeSecurityHeaderElementInferenceEngine.cs
- XmlObjectSerializerContext.cs
- Mapping.cs
- StylusButtonCollection.cs
- VBCodeProvider.cs
- ExpandedWrapper.cs
- WebPartDisplayModeCancelEventArgs.cs
- MessageQueuePermissionEntryCollection.cs
- HttpHandlerActionCollection.cs
- RenameRuleObjectDialog.cs
- InternalConfigRoot.cs
- WindowsToolbar.cs
- TabControl.cs
- FontInfo.cs
- ListBoxItem.cs
- ScriptResourceDefinition.cs