Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / textformatting / TextHidden.cs / 1305600 / TextHidden.cs
//------------------------------------------------------------------------ // // Microsoft Windows Client Platform // Copyright (C) Microsoft Corporation, 2004 // // File: TextHidden.cs // // Contents: Implementation of text hidden content // // 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; using SR=MS.Internal.PresentationCore.SR; using SRID=MS.Internal.PresentationCore.SRID; namespace System.Windows.Media.TextFormatting { ////// Specialized text run used to mark a range of hidden characters /// public class TextHidden : TextRun { private int _length; #region Constructors ////// Construct a hidden text run /// /// number of characters public TextHidden( int length ) { if (length <= 0) { throw new ArgumentOutOfRangeException("length", SR.Get(SRID.ParameterMustBeGreaterThanZero)); } _length = length; } #endregion ////// Reference to character buffer /// public sealed override CharacterBufferReference CharacterBufferReference { get { return new CharacterBufferReference(); } } ////// Character length /// public sealed override int Length { get { return _length; } } ////// A set of properties shared by every characters in the run /// public sealed override TextRunProperties Properties { 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
- BindingMAnagerBase.cs
- AttributeSetAction.cs
- ISessionStateStore.cs
- SharedDp.cs
- BaseDataList.cs
- CorrelationTokenTypeConvertor.cs
- LogicalCallContext.cs
- BaseInfoTable.cs
- XmlChildEnumerator.cs
- SqlServer2KCompatibilityCheck.cs
- FileDialog_Vista_Interop.cs
- MissingSatelliteAssemblyException.cs
- Types.cs
- ValidationHelper.cs
- CodeRegionDirective.cs
- TypeConverterAttribute.cs
- MetadataAssemblyHelper.cs
- CodeStatement.cs
- GZipStream.cs
- HandleTable.cs
- DecimalConverter.cs
- ValidationErrorEventArgs.cs
- SplitterEvent.cs
- ExtensionElementCollection.cs
- CapabilitiesUse.cs
- FullTextState.cs
- PeerPresenceInfo.cs
- DbTransaction.cs
- TargetConverter.cs
- OleDragDropHandler.cs
- ExpressionNormalizer.cs
- MatrixStack.cs
- XmlRawWriter.cs
- MDIClient.cs
- AdornedElementPlaceholder.cs
- FormatterServices.cs
- SamlSerializer.cs
- GenericIdentity.cs
- HttpRequestTraceRecord.cs
- UnsafeNativeMethods.cs
- PathGeometry.cs
- TracingConnectionInitiator.cs
- DispatcherHooks.cs
- CodeArgumentReferenceExpression.cs
- TypeCodeDomSerializer.cs
- XmlSchemaAttributeGroupRef.cs
- WebHttpEndpointElement.cs
- MappingModelBuildProvider.cs
- ProfileSettingsCollection.cs
- CodeTypeDelegate.cs
- GetLedgerRequest.cs
- DesignSurfaceManager.cs
- WebPartMenuStyle.cs
- ProfileGroupSettingsCollection.cs
- UpdateDelegates.Generated.cs
- SinglePageViewer.cs
- BoundField.cs
- DataGridView.cs
- ToolStripContentPanel.cs
- MemberRestriction.cs
- TdsParserSessionPool.cs
- KnownBoxes.cs
- DataGridViewRowConverter.cs
- SHA1CryptoServiceProvider.cs
- StandardTransformFactory.cs
- TaskFactory.cs
- CompilerParameters.cs
- AudioStateChangedEventArgs.cs
- GetUserPreferenceRequest.cs
- ChangeBlockUndoRecord.cs
- WsatEtwTraceListener.cs
- CodeRegionDirective.cs
- BitmapCache.cs
- StsCommunicationException.cs
- Overlapped.cs
- SafeRegistryHandle.cs
- FaultException.cs
- EmptyQuery.cs
- DocumentOrderQuery.cs
- DataGridViewRow.cs
- IDReferencePropertyAttribute.cs
- XmlDocumentViewSchema.cs
- ContentIterators.cs
- DocumentXPathNavigator.cs
- templategroup.cs
- DataServiceSaveChangesEventArgs.cs
- ShapingEngine.cs
- PointCollection.cs
- CancellationHandlerDesigner.cs
- WebPartCancelEventArgs.cs
- PropertyTabChangedEvent.cs
- MailMessage.cs
- ViewValidator.cs
- XmlSchemaInfo.cs
- SessionPageStateSection.cs
- SQLMoney.cs
- SmtpClient.cs
- DataSysAttribute.cs
- ExcCanonicalXml.cs
- ValueProviderWrapper.cs