Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Core / CSharp / 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: http://team/sites/Avalon/Specs/Text%20Formatting%20API.doc // // Created: 1-2-2004 Worachai Chaoweeraprasit (wchao) // //----------------------------------------------------------------------- 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. //------------------------------------------------------------------------ // // Microsoft Windows Client Platform // Copyright (C) Microsoft Corporation, 2004 // // File: TextTabProperties.cs // // Contents: Definition of tab properties and related types // // Spec: http://team/sites/Avalon/Specs/Text%20Formatting%20API.doc // // Created: 1-2-2004 Worachai Chaoweeraprasit (wchao) // //----------------------------------------------------------------------- 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
- JsonFormatGeneratorStatics.cs
- CanonicalFormWriter.cs
- UmAlQuraCalendar.cs
- Vector3DAnimationBase.cs
- SoapAttributeOverrides.cs
- IOException.cs
- RegularExpressionValidator.cs
- OperationCanceledException.cs
- EntityDataSourceView.cs
- DbParameterHelper.cs
- httpstaticobjectscollection.cs
- MediaPlayer.cs
- NodeFunctions.cs
- DrawingGroup.cs
- RevocationPoint.cs
- WindowsListViewItemStartMenu.cs
- EncryptedHeader.cs
- SapiRecognizer.cs
- ToolStrip.cs
- SiteMembershipCondition.cs
- SystemNetworkInterface.cs
- PerformanceCountersElement.cs
- ZipPackagePart.cs
- PointConverter.cs
- GACIdentityPermission.cs
- XamlFigureLengthSerializer.cs
- ButtonBaseAdapter.cs
- ConfigXmlCDataSection.cs
- LicenseManager.cs
- MarkupProperty.cs
- PriorityRange.cs
- DSACryptoServiceProvider.cs
- QueryAccessibilityHelpEvent.cs
- WindowClosedEventArgs.cs
- SelectionChangedEventArgs.cs
- OuterProxyWrapper.cs
- ScrollEvent.cs
- SchemaAttDef.cs
- ListViewTableRow.cs
- SequentialUshortCollection.cs
- Validator.cs
- ResXResourceWriter.cs
- EdmComplexPropertyAttribute.cs
- BufferedOutputStream.cs
- PageRequestManager.cs
- AuthenticationManager.cs
- SmiConnection.cs
- TableParaClient.cs
- XmlILIndex.cs
- ToolStripStatusLabel.cs
- OrderingInfo.cs
- BmpBitmapEncoder.cs
- ModelItemDictionary.cs
- EntityClientCacheEntry.cs
- SqlCommandBuilder.cs
- TakeOrSkipQueryOperator.cs
- PageThemeCodeDomTreeGenerator.cs
- ManagementOperationWatcher.cs
- VirtualPathUtility.cs
- Nodes.cs
- CommonObjectSecurity.cs
- EntityRecordInfo.cs
- DataSourceHelper.cs
- NonSerializedAttribute.cs
- XmlObjectSerializerWriteContextComplex.cs
- SqlClientPermission.cs
- KeyGesture.cs
- OpCellTreeNode.cs
- xamlnodes.cs
- SessionStateSection.cs
- GraphicsContext.cs
- ZipPackagePart.cs
- OletxDependentTransaction.cs
- coordinator.cs
- DataGridViewCellValueEventArgs.cs
- ObjectDataSourceDisposingEventArgs.cs
- ClientTarget.cs
- PropertyPushdownHelper.cs
- NamespaceQuery.cs
- ImmutableObjectAttribute.cs
- DefaultBinder.cs
- ServiceOperationHelpers.cs
- DataGridViewTextBoxColumn.cs
- ExpandSegment.cs
- CryptoConfig.cs
- VectorKeyFrameCollection.cs
- CryptoHelper.cs
- LinkLabelLinkClickedEvent.cs
- DocComment.cs
- EntityDataSourceDataSelection.cs
- DispatchWrapper.cs
- DataGridViewButtonCell.cs
- ObjectList.cs
- XsltArgumentList.cs
- ElementHost.cs
- StreamReader.cs
- InputProcessorProfilesLoader.cs
- EntityContainerEntitySetDefiningQuery.cs
- NoResizeHandleGlyph.cs
- AutomationPatternInfo.cs