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
- MultiBindingExpression.cs
- TextServicesCompartment.cs
- NumberSubstitution.cs
- MetadataCollection.cs
- MessageFormatterConverter.cs
- InspectionWorker.cs
- ThreadAbortException.cs
- XPathSelectionIterator.cs
- BamlResourceContent.cs
- TreeNodeCollectionEditor.cs
- Binding.cs
- OdbcParameter.cs
- XmlSchemaAttributeGroupRef.cs
- WorkflowPageSetupDialog.cs
- ChangeConflicts.cs
- SqlComparer.cs
- PropertyMetadata.cs
- CroppedBitmap.cs
- BindingEntityInfo.cs
- NodeFunctions.cs
- MemberMemberBinding.cs
- Matrix3DValueSerializer.cs
- BindingContext.cs
- ElasticEase.cs
- wgx_commands.cs
- VsPropertyGrid.cs
- HandleTable.cs
- XmlReflectionMember.cs
- MessageFilterException.cs
- ContextMenuStrip.cs
- TypeConverterMarkupExtension.cs
- ToolStripLocationCancelEventArgs.cs
- EncryptedData.cs
- XmlSchemaDatatype.cs
- AttributeParameterInfo.cs
- ContainsSearchOperator.cs
- _NestedSingleAsyncResult.cs
- DataGridSortCommandEventArgs.cs
- DoubleStorage.cs
- DragDeltaEventArgs.cs
- CriticalFinalizerObject.cs
- DynamicControl.cs
- WebServiceParameterData.cs
- ZipIOCentralDirectoryBlock.cs
- Options.cs
- SecurityElement.cs
- StatusBarDrawItemEvent.cs
- TableDetailsCollection.cs
- ListDataBindEventArgs.cs
- DataColumnPropertyDescriptor.cs
- Wrapper.cs
- BitmapCodecInfoInternal.cs
- NamespaceCollection.cs
- ProxyWebPartManagerDesigner.cs
- Speller.cs
- TextEditorDragDrop.cs
- CodePrimitiveExpression.cs
- TextEditorLists.cs
- CacheMemory.cs
- EnvironmentPermission.cs
- Interlocked.cs
- SiteMapNodeItemEventArgs.cs
- ButtonFieldBase.cs
- EntityDataSourceColumn.cs
- InternalException.cs
- DataStreams.cs
- Schema.cs
- NameValueConfigurationCollection.cs
- TextEditorMouse.cs
- WebPartDescription.cs
- TextPointerBase.cs
- HtmlFormWrapper.cs
- StringValidator.cs
- _AutoWebProxyScriptHelper.cs
- WebBrowser.cs
- ObjectIDGenerator.cs
- NameTable.cs
- HijriCalendar.cs
- Encoder.cs
- ProcessModelSection.cs
- ImageMapEventArgs.cs
- FtpCachePolicyElement.cs
- XmlHierarchicalDataSourceView.cs
- PipelineComponent.cs
- EntityConnectionStringBuilderItem.cs
- CommandBindingCollection.cs
- DesignerSerializationOptionsAttribute.cs
- DispatchWrapper.cs
- KeyValuePairs.cs
- DateTimeFormatInfoScanner.cs
- SecurityIdentifierElementCollection.cs
- PointAnimationUsingPath.cs
- ResourceReferenceExpressionConverter.cs
- EventMetadata.cs
- DataGridViewMethods.cs
- EncryptedKeyIdentifierClause.cs
- COM2Properties.cs
- SoapAttributeAttribute.cs
- UiaCoreApi.cs
- WebPartsPersonalizationAuthorization.cs