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
- SyndicationFeed.cs
- Camera.cs
- _AutoWebProxyScriptHelper.cs
- EntityClassGenerator.cs
- HttpConfigurationContext.cs
- ServiceHostFactory.cs
- InputGestureCollection.cs
- RelationshipConverter.cs
- File.cs
- SchemaType.cs
- ViewStateModeByIdAttribute.cs
- DataRelationPropertyDescriptor.cs
- PropertyMetadata.cs
- HebrewNumber.cs
- WebPartConnectionsCloseVerb.cs
- MenuItemStyle.cs
- ExpressionConverter.cs
- SafeEventLogWriteHandle.cs
- EdgeModeValidation.cs
- WindowsNonControl.cs
- Help.cs
- GeneralTransform2DTo3D.cs
- ManipulationDeltaEventArgs.cs
- AdditionalEntityFunctions.cs
- ParagraphVisual.cs
- Translator.cs
- EdmComplexTypeAttribute.cs
- DynamicPropertyHolder.cs
- JoinGraph.cs
- ValidationSummary.cs
- ChangesetResponse.cs
- Stylesheet.cs
- ZipIOCentralDirectoryFileHeader.cs
- Gdiplus.cs
- PopOutPanel.cs
- Privilege.cs
- ColorConverter.cs
- XmlCharCheckingWriter.cs
- ServiceDurableInstance.cs
- AxImporter.cs
- Attachment.cs
- DataGridCellsPanel.cs
- UserNamePasswordValidator.cs
- IncrementalReadDecoders.cs
- AnonymousIdentificationModule.cs
- CellConstant.cs
- TraceLevelHelper.cs
- StaticExtension.cs
- CodeTypeParameter.cs
- SoapSchemaImporter.cs
- RIPEMD160Managed.cs
- EFAssociationProvider.cs
- TransactionScope.cs
- ToolStripDesigner.cs
- PropertyGridCommands.cs
- RepeatInfo.cs
- HealthMonitoringSection.cs
- Stackframe.cs
- CodeMemberProperty.cs
- LinearGradientBrush.cs
- Instrumentation.cs
- UnsettableComboBox.cs
- BufferModeSettings.cs
- UnknownWrapper.cs
- ValidatorCollection.cs
- CornerRadius.cs
- XmlHierarchicalDataSourceView.cs
- SqlRecordBuffer.cs
- DataSourceSelectArguments.cs
- Column.cs
- BindingExpression.cs
- VisualBrush.cs
- SystemColors.cs
- ObjectViewListener.cs
- SQLInt64.cs
- SqlClientWrapperSmiStream.cs
- SqlFacetAttribute.cs
- SerializerWriterEventHandlers.cs
- UrlMapping.cs
- EventWaitHandle.cs
- MobileTemplatedControlDesigner.cs
- SqlAliaser.cs
- TextLineResult.cs
- TemplatedEditableDesignerRegion.cs
- WorkflowRuntime.cs
- QilChoice.cs
- SystemColors.cs
- GridViewColumnCollection.cs
- IgnoreFlushAndCloseStream.cs
- Walker.cs
- EnterpriseServicesHelper.cs
- ParseNumbers.cs
- ExtensionWindow.cs
- ToolStripDropDown.cs
- BaseValidator.cs
- CodeIdentifier.cs
- PartialTrustVisibleAssembliesSection.cs
- DelegateBodyWriter.cs
- ListCommandEventArgs.cs
- ValueUtilsSmi.cs