Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / textformatting / TextRunProperties.cs / 1305600 / TextRunProperties.cs
//------------------------------------------------------------------------ // // Microsoft Windows Client Platform // Copyright (C) Microsoft Corporation // // File: TextRunProperties.cs // // Contents: Text run properties // // Spec: http://team/sites/Avalon/Specs/Text%20Formatting%20API.doc // // Created: 1-7-2005 Worachai Chaoweeraprasit (wchao) // //----------------------------------------------------------------------- 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
- Win32.cs
- Control.cs
- NGCSerializationManagerAsync.cs
- CodeLinePragma.cs
- ListBoxItemAutomationPeer.cs
- UnsafeNativeMethods.cs
- HuffCodec.cs
- WmlObjectListAdapter.cs
- FormViewUpdatedEventArgs.cs
- coordinator.cs
- ButtonBaseAdapter.cs
- DynamicQueryableWrapper.cs
- FontWeightConverter.cs
- ReflectionTypeLoadException.cs
- remotingproxy.cs
- OleCmdHelper.cs
- KnownTypesProvider.cs
- RtfToXamlLexer.cs
- Matrix.cs
- OpenTypeLayout.cs
- StrongNamePublicKeyBlob.cs
- ClientRuntimeConfig.cs
- RoutedEventArgs.cs
- SimpleExpression.cs
- LogAppendAsyncResult.cs
- EntityDataSourceConfigureObjectContextPanel.cs
- Collection.cs
- Registry.cs
- BinaryMethodMessage.cs
- Rotation3DKeyFrameCollection.cs
- DataGridViewColumnTypeEditor.cs
- RegisteredArrayDeclaration.cs
- XmlReader.cs
- SafeLibraryHandle.cs
- ColorBlend.cs
- TransactionManager.cs
- CompileXomlTask.cs
- path.cs
- CurrentChangingEventArgs.cs
- HtmlElement.cs
- WebPartHeaderCloseVerb.cs
- Parser.cs
- DelegateBodyWriter.cs
- CompositeActivityCodeGenerator.cs
- Atom10FormatterFactory.cs
- XmlSchemaAttributeGroup.cs
- MdiWindowListStrip.cs
- DependencyObjectProvider.cs
- BuildManagerHost.cs
- DataSourceView.cs
- StateRuntime.cs
- EdmProperty.cs
- DecoderFallback.cs
- PrincipalPermission.cs
- LinkUtilities.cs
- FileBasedResourceGroveler.cs
- SyntaxCheck.cs
- QilPatternFactory.cs
- TextElementAutomationPeer.cs
- ISAPIApplicationHost.cs
- XamlSerializationHelper.cs
- SchemaElementLookUpTable.cs
- Cursor.cs
- ReadOnlyDataSourceView.cs
- PropertyReferenceExtension.cs
- DoubleCollection.cs
- EntityDataSourceReferenceGroup.cs
- CodeParameterDeclarationExpression.cs
- ParagraphResult.cs
- ServiceNameElement.cs
- ScrollItemPattern.cs
- cookiecontainer.cs
- TransformerInfoCollection.cs
- DiagnosticsConfigurationHandler.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- SnapLine.cs
- UrlMappingsSection.cs
- ToolStripGrip.cs
- SecondaryViewProvider.cs
- HyperLinkDesigner.cs
- BindUriHelper.cs
- Constants.cs
- MenuCommands.cs
- StyleCollection.cs
- XmlDataCollection.cs
- HttpApplicationStateBase.cs
- LinkArea.cs
- FormViewInsertedEventArgs.cs
- CompositeControl.cs
- CmsInterop.cs
- SerTrace.cs
- CipherData.cs
- MenuTracker.cs
- GlyphInfoList.cs
- ByteFacetDescriptionElement.cs
- basecomparevalidator.cs
- CFStream.cs
- RectangleF.cs
- TimeSpanOrInfiniteConverter.cs
- XAMLParseException.cs