Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / textformatting / TextRunProperties.cs / 1 / TextRunProperties.cs
//------------------------------------------------------------------------ // // Microsoft Windows Client Platform // Copyright (C) Microsoft Corporation // // File: TextRunProperties.cs // // Contents: Text run properties // // Spec: [....]/sites/Avalon/Specs/Text%20Formatting%20API.doc // // Created: 1-7-2005 [....] ([....]) // //----------------------------------------------------------------------- using System; using System.Globalization; using System.Windows; namespace System.Windows.Media.TextFormatting { ////// Properties that can change from one run to the next, such as typeface or foreground brush. /// ////// The client provides a concrete implementation of this abstract run properties class. This /// allows client to implement their run properties the way that fits with their run formatting /// store. /// public abstract class TextRunProperties { ////// Run typeface /// public abstract Typeface Typeface { get; } ////// Em size of font used to format and display text /// public abstract double FontRenderingEmSize { get; } ////// Em size of font to determine subtle change in font hinting default value is 12pt /// public abstract double FontHintingEmSize { get; } ////// Run TextDecorations. /// public abstract TextDecorationCollection TextDecorations { get; } ////// Brush used to fill text /// public abstract Brush ForegroundBrush { get; } ////// Brush used to paint background of run /// public abstract Brush BackgroundBrush { get; } ////// Run text culture info /// public abstract CultureInfo CultureInfo { get; } ////// Run Text effect collection /// public abstract TextEffectCollection TextEffects { get; } ////// Run vertical box alignment /// public virtual BaselineAlignment BaselineAlignment { get { return BaselineAlignment.Baseline; } } ////// Run typography properties /// public virtual TextRunTypographyProperties TypographyProperties { get { return null; } } ////// Number substitution options. /// public virtual NumberSubstitution NumberSubstitution { get { return null; } } } } // 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
- GridItem.cs
- ImmutableObjectAttribute.cs
- XmlTextReader.cs
- DataConnectionHelper.cs
- ListControl.cs
- Label.cs
- XmlQuerySequence.cs
- CacheSection.cs
- LinqExpressionNormalizer.cs
- XmlSchemaNotation.cs
- Size3DValueSerializer.cs
- ProgressiveCrcCalculatingStream.cs
- DataGridViewRowPostPaintEventArgs.cs
- XmlnsDictionary.cs
- DebugInfoExpression.cs
- Drawing.cs
- WebPartConnectionsConnectVerb.cs
- MenuItem.cs
- itemelement.cs
- BindingCompleteEventArgs.cs
- WebConfigurationHostFileChange.cs
- SplineKeyFrames.cs
- WebServiceClientProxyGenerator.cs
- AgileSafeNativeMemoryHandle.cs
- BehaviorEditorPart.cs
- CheckBoxField.cs
- WindowsFormsHelpers.cs
- UmAlQuraCalendar.cs
- UserNamePasswordValidator.cs
- InputScopeAttribute.cs
- HtmlInputControl.cs
- ToolStripItemImageRenderEventArgs.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- AttributeAction.cs
- Merger.cs
- BindableTemplateBuilder.cs
- entityreference_tresulttype.cs
- NullReferenceException.cs
- BackgroundFormatInfo.cs
- ValueHandle.cs
- XmlPreloadedResolver.cs
- SamlAuthorizationDecisionClaimResource.cs
- Thumb.cs
- AudioFormatConverter.cs
- PrintDialogDesigner.cs
- SchemaAttDef.cs
- XmlValueConverter.cs
- ACE.cs
- MemoryPressure.cs
- BitmapEffectInput.cs
- XmlSchemaNotation.cs
- propertytag.cs
- MessagePropertyFilter.cs
- ApplicationActivator.cs
- PriorityQueue.cs
- KernelTypeValidation.cs
- Registry.cs
- AdRotatorDesigner.cs
- RelationshipConstraintValidator.cs
- ErrorStyle.cs
- DataMemberAttribute.cs
- ViewStateModeByIdAttribute.cs
- followingquery.cs
- StorageEntitySetMapping.cs
- ErrorRuntimeConfig.cs
- PlatformNotSupportedException.cs
- Deserializer.cs
- ProtocolsConfiguration.cs
- TextBoxBaseDesigner.cs
- WCFBuildProvider.cs
- COM2PictureConverter.cs
- CodeMemberMethod.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- AdornerHitTestResult.cs
- ProfileProvider.cs
- SafeEventLogWriteHandle.cs
- TemplateManager.cs
- ObjectDataSourceView.cs
- ListenerElementsCollection.cs
- ScalarConstant.cs
- _SslState.cs
- InheritedPropertyChangedEventArgs.cs
- SqlStatistics.cs
- FollowerQueueCreator.cs
- ClientSponsor.cs
- Win32PrintDialog.cs
- CompilationLock.cs
- TreeSet.cs
- IssuanceLicense.cs
- InvokeDelegate.cs
- DebuggerAttributes.cs
- InstancePersistence.cs
- ParameterReplacerVisitor.cs
- ValueTypePropertyReference.cs
- ConnectionsZoneDesigner.cs
- SafeViewOfFileHandle.cs
- DocComment.cs
- BulletChrome.cs
- SecurityDescriptor.cs
- XmlMtomWriter.cs