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
- RegistrationServices.cs
- SqlAggregateChecker.cs
- PopOutPanel.cs
- SoapHeaders.cs
- CounterCreationData.cs
- Content.cs
- GridViewEditEventArgs.cs
- VectorAnimationUsingKeyFrames.cs
- OutOfProcStateClientManager.cs
- ListBase.cs
- SimpleBitVector32.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- FilePrompt.cs
- LOSFormatter.cs
- SimpleApplicationHost.cs
- AuthenticationService.cs
- XmlSchemaElement.cs
- SimpleHandlerBuildProvider.cs
- XmlNotation.cs
- GridLength.cs
- SslStream.cs
- WebScriptMetadataMessageEncodingBindingElement.cs
- TemplateControlBuildProvider.cs
- IgnoreSection.cs
- Trace.cs
- FormDesigner.cs
- QueryPageSettingsEventArgs.cs
- PointLightBase.cs
- XmlSerializer.cs
- RadioButton.cs
- indexingfiltermarshaler.cs
- coordinator.cs
- DataTableClearEvent.cs
- ThousandthOfEmRealDoubles.cs
- SymDocumentType.cs
- RadioButtonPopupAdapter.cs
- DataServiceRequest.cs
- httpstaticobjectscollection.cs
- HistoryEventArgs.cs
- WebPartUtil.cs
- UpdateExpressionVisitor.cs
- COSERVERINFO.cs
- DescendantQuery.cs
- assertwrapper.cs
- SubMenuStyle.cs
- ParameterModifier.cs
- DataGridViewRowHeaderCell.cs
- DataGridViewRowPrePaintEventArgs.cs
- MouseOverProperty.cs
- WpfKnownTypeInvoker.cs
- ReaderOutput.cs
- DataContractFormatAttribute.cs
- OleDbErrorCollection.cs
- UniqueSet.cs
- OutputScope.cs
- CompilerGlobalScopeAttribute.cs
- VirtualDirectoryMappingCollection.cs
- WorkflowRuntimeElement.cs
- DataServiceStreamResponse.cs
- XslAst.cs
- WorkflowRuntimeService.cs
- Rijndael.cs
- ServiceProviders.cs
- DetailsViewPageEventArgs.cs
- _BasicClient.cs
- SafeFileMapViewHandle.cs
- Configuration.cs
- MetadataItemEmitter.cs
- SHA512Managed.cs
- EncryptedHeaderXml.cs
- PrinterSettings.cs
- HttpProxyCredentialType.cs
- IndicCharClassifier.cs
- DSASignatureFormatter.cs
- ProcessHostServerConfig.cs
- _SSPIWrapper.cs
- MD5.cs
- RTTrackingProfile.cs
- uribuilder.cs
- NullableIntSumAggregationOperator.cs
- SingleSelectRootGridEntry.cs
- StorageComplexPropertyMapping.cs
- ComponentEditorForm.cs
- Soap.cs
- TypeBinaryExpression.cs
- EntryIndex.cs
- GeneratedView.cs
- CounterSampleCalculator.cs
- MailSettingsSection.cs
- _SpnDictionary.cs
- HttpListenerPrefixCollection.cs
- ScrollProperties.cs
- XmlSchemaAnyAttribute.cs
- Trace.cs
- RichTextBoxContextMenu.cs
- EventArgs.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- TemplateControlBuildProvider.cs
- LoginNameDesigner.cs
- OraclePermission.cs