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
- AppDomainProtocolHandler.cs
- XmlSchemaCollection.cs
- InkPresenterAutomationPeer.cs
- ViewLoader.cs
- TablePattern.cs
- EllipticalNodeOperations.cs
- ConsumerConnectionPointCollection.cs
- PagerStyle.cs
- GuidelineSet.cs
- HtmlInputText.cs
- ListViewItem.cs
- XmlMembersMapping.cs
- ResolvedKeyFrameEntry.cs
- ContainerUtilities.cs
- ObjectResult.cs
- ScriptBehaviorDescriptor.cs
- LeafCellTreeNode.cs
- UidPropertyAttribute.cs
- DependencyPropertyChangedEventArgs.cs
- TouchFrameEventArgs.cs
- EventProviderWriter.cs
- altserialization.cs
- UdpDiscoveryEndpoint.cs
- RedirectionProxy.cs
- WizardPanel.cs
- ParentQuery.cs
- DeobfuscatingStream.cs
- XsltQilFactory.cs
- AsyncStreamReader.cs
- EventLogPermissionEntry.cs
- OpenTypeLayoutCache.cs
- PolicyException.cs
- Automation.cs
- MemberMaps.cs
- RectangleHotSpot.cs
- WebPartManagerInternals.cs
- SchemaCollectionCompiler.cs
- __Filters.cs
- RequestTimeoutManager.cs
- PhoneCall.cs
- DataBoundControl.cs
- TraceEventCache.cs
- TypeConverterHelper.cs
- GridToolTip.cs
- XPathQilFactory.cs
- ProfilePropertySettingsCollection.cs
- configsystem.cs
- Facet.cs
- AffineTransform3D.cs
- LambdaCompiler.Generated.cs
- XmlAttributeOverrides.cs
- ConstraintStruct.cs
- WebZoneDesigner.cs
- DateTimeOffsetConverter.cs
- SynchronizedInputHelper.cs
- CompositeScriptReferenceEventArgs.cs
- SqlConnectionManager.cs
- SchemaObjectWriter.cs
- Component.cs
- XPathBinder.cs
- ObjectPersistData.cs
- EntityDataSourceViewSchema.cs
- ColumnCollection.cs
- SetStoryboardSpeedRatio.cs
- SmtpMail.cs
- HitTestParameters.cs
- XmlRootAttribute.cs
- ServiceSettingsResponseInfo.cs
- BulletChrome.cs
- ContentOperations.cs
- StylusLogic.cs
- MemberBinding.cs
- LineSegment.cs
- CaseInsensitiveHashCodeProvider.cs
- ColorConvertedBitmap.cs
- TdsParserSafeHandles.cs
- BitmapDownload.cs
- ComEventsSink.cs
- DataTableTypeConverter.cs
- DocumentViewerConstants.cs
- UpdateCommandGenerator.cs
- EditorZone.cs
- EndEvent.cs
- WorkflowElementDialogWindow.xaml.cs
- AuthStoreRoleProvider.cs
- DeflateStream.cs
- MainMenu.cs
- OperationPickerDialog.cs
- CharAnimationBase.cs
- InheritanceRules.cs
- ObjectListItemCollection.cs
- WebPartEventArgs.cs
- Math.cs
- UIElementParagraph.cs
- BypassElementCollection.cs
- RectAnimationBase.cs
- Select.cs
- DataGridViewAdvancedBorderStyle.cs
- VisualTreeUtils.cs
- FormsAuthenticationTicket.cs