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
- XdrBuilder.cs
- ConvertEvent.cs
- base64Transforms.cs
- CapabilitiesPattern.cs
- TextDecoration.cs
- DispatcherOperation.cs
- MenuBase.cs
- BitmapEffect.cs
- RtfControlWordInfo.cs
- GridViewRowCollection.cs
- DataGridPreparingCellForEditEventArgs.cs
- XmlAttributeCache.cs
- WebServiceResponseDesigner.cs
- ToolStripActionList.cs
- Marshal.cs
- GenericTypeParameterBuilder.cs
- GeometryDrawing.cs
- RowToFieldTransformer.cs
- ControlBuilderAttribute.cs
- DocumentGridPage.cs
- Rotation3D.cs
- FindCriteriaElement.cs
- Int64KeyFrameCollection.cs
- _SSPISessionCache.cs
- MulticastIPAddressInformationCollection.cs
- MultiView.cs
- GridItemCollection.cs
- SqlException.cs
- StringReader.cs
- DummyDataSource.cs
- XPathNodeInfoAtom.cs
- TraceRecord.cs
- MetadataItemSerializer.cs
- ObjectStorage.cs
- KeyGestureConverter.cs
- Size.cs
- DrawingAttributesDefaultValueFactory.cs
- QilTypeChecker.cs
- DataControlPagerLinkButton.cs
- DecimalAnimationBase.cs
- CodeGeneratorAttribute.cs
- MemoryFailPoint.cs
- RectIndependentAnimationStorage.cs
- ChannelToken.cs
- UIPropertyMetadata.cs
- HtmlToClrEventProxy.cs
- Quaternion.cs
- EmptyControlCollection.cs
- ModelUIElement3D.cs
- UnsupportedPolicyOptionsException.cs
- ModelItemDictionary.cs
- WindowsSecurityToken.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- TextBox.cs
- DesignTimeType.cs
- Latin1Encoding.cs
- RectValueSerializer.cs
- cryptoapiTransform.cs
- GlobalAclOperationRequirement.cs
- Process.cs
- XmlSchemaProviderAttribute.cs
- Dump.cs
- ToolStripCollectionEditor.cs
- ListViewDataItem.cs
- HandlerWithFactory.cs
- JsonReader.cs
- MemberRelationshipService.cs
- SmtpCommands.cs
- PeerCollaboration.cs
- WebControlsSection.cs
- StorageMappingItemCollection.cs
- TextServicesHost.cs
- ListViewUpdatedEventArgs.cs
- Internal.cs
- XmlSerializationGeneratedCode.cs
- ParameterCollection.cs
- CodeDOMUtility.cs
- RectangleConverter.cs
- WindowsFormsSectionHandler.cs
- DllNotFoundException.cs
- Object.cs
- TypeRestriction.cs
- ReachVisualSerializer.cs
- XamlTypeMapperSchemaContext.cs
- SimpleTextLine.cs
- CqlQuery.cs
- VisualProxy.cs
- Evidence.cs
- DesignerPerfEventProvider.cs
- XPathAxisIterator.cs
- userdatakeys.cs
- MetadataPropertyAttribute.cs
- CancelEventArgs.cs
- EndpointAddressAugust2004.cs
- FileFormatException.cs
- Point4D.cs
- CodeDirectoryCompiler.cs
- X509ServiceCertificateAuthentication.cs
- FontSource.cs
- EncryptedType.cs