Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / textformatting / TextTabProperties.cs / 1 / TextTabProperties.cs
//------------------------------------------------------------------------ // // Microsoft Windows Client Platform // Copyright (C) Microsoft Corporation, 2004 // // File: TextTabProperties.cs // // Contents: Definition of tab properties and related types // // Spec: [....]/sites/Avalon/Specs/Text%20Formatting%20API.doc // // Created: 1-2-2004 [....] ([....]) // //----------------------------------------------------------------------- using System; using System.Collections; using System.Windows; namespace System.Windows.Media.TextFormatting { ////// Properties of user-defined tab /// public class TextTabProperties { private TextTabAlignment _alignment; private double _location; private int _tabLeader; private int _aligningChar; ////// Construct tab properties /// /// alignment of text at tab location /// tab location /// tab leader /// specific character in text that is aligned at tab location public TextTabProperties( TextTabAlignment alignment, double location, int tabLeader, int aligningChar ) { _alignment = alignment; _location = location; _tabLeader = tabLeader; _aligningChar = aligningChar; } ////// Property to determine how text is aligned at tab location /// public TextTabAlignment Alignment { get { return _alignment; } } ////// Tab location /// public double Location { get { return _location; } } ////// Character used to display tab leader /// public int TabLeader { get { return _tabLeader; } } ////// Specific character in text that is aligned at specified tab location /// public int AligningCharacter { get { return _aligningChar; } } } ////// This property determines how text is aligned at tab location /// public enum TextTabAlignment { ////// Text is left-aligned at tab location /// Left, ////// Text is center-aligned at tab location /// Center, ////// Text is right-aligned at tab location /// Right, ////// Text is aligned at tab location at a specified character /// Character, } } // 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
- ExpressionNormalizer.cs
- NotifyIcon.cs
- EncoderExceptionFallback.cs
- Int16Converter.cs
- GenerateTemporaryTargetAssembly.cs
- CellQuery.cs
- ReferentialConstraint.cs
- Page.cs
- InArgumentConverter.cs
- ConditionalAttribute.cs
- PostBackOptions.cs
- OperatingSystem.cs
- ImageMapEventArgs.cs
- DataGridViewColumnEventArgs.cs
- PathTooLongException.cs
- ExpressionBuilder.cs
- AsymmetricKeyExchangeDeformatter.cs
- DetailsViewRow.cs
- DefaultHttpHandler.cs
- Tuple.cs
- Certificate.cs
- ReachDocumentReferenceSerializer.cs
- XamlSerializerUtil.cs
- ColumnBinding.cs
- XmlSigningNodeWriter.cs
- NamedServiceModelExtensionCollectionElement.cs
- DataMember.cs
- OdbcEnvironmentHandle.cs
- AnnotationDocumentPaginator.cs
- Cursor.cs
- BooleanConverter.cs
- SiteIdentityPermission.cs
- FieldMetadata.cs
- ComplexObject.cs
- Selection.cs
- CookielessHelper.cs
- JoinCqlBlock.cs
- FontEditor.cs
- BinaryNegotiation.cs
- StackSpiller.Generated.cs
- HtmlInputReset.cs
- Intellisense.cs
- DependencyPropertyKey.cs
- RegexCapture.cs
- RegexMatchCollection.cs
- MultitargetUtil.cs
- UnmanagedMemoryStream.cs
- WebPartManagerInternals.cs
- BackStopAuthenticationModule.cs
- EventLogTraceListener.cs
- SchemaNotation.cs
- CanExecuteRoutedEventArgs.cs
- WrapPanel.cs
- ActivityExecutorOperation.cs
- DataServiceResponse.cs
- reliableinputsessionchannel.cs
- MatrixAnimationBase.cs
- DllNotFoundException.cs
- BinaryObjectReader.cs
- FunctionUpdateCommand.cs
- ObjectStorage.cs
- FunctionParameter.cs
- QilScopedVisitor.cs
- BuildProvider.cs
- XmlSchemaSequence.cs
- AssociationSetMetadata.cs
- CurrentTimeZone.cs
- StorageRoot.cs
- FontStyle.cs
- NonPrimarySelectionGlyph.cs
- SqlNotificationRequest.cs
- IntSecurity.cs
- Operand.cs
- LocatorGroup.cs
- TypedDataSetSchemaImporterExtension.cs
- WindowsSpinner.cs
- DES.cs
- Root.cs
- BaseServiceProvider.cs
- SplineQuaternionKeyFrame.cs
- ValueUtilsSmi.cs
- BamlRecords.cs
- processwaithandle.cs
- FileEnumerator.cs
- DataControlLinkButton.cs
- PopupEventArgs.cs
- SynchronizedDispatch.cs
- sqlpipe.cs
- DataServiceConfiguration.cs
- RC2.cs
- FormCollection.cs
- OracleDataReader.cs
- CachedFontFace.cs
- HttpWriter.cs
- GridViewDeletedEventArgs.cs
- SRef.cs
- LabelLiteral.cs
- formatstringdialog.cs
- SoapAttributeAttribute.cs
- AnchoredBlock.cs