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
- AutoCompleteStringCollection.cs
- RequestSecurityTokenResponse.cs
- FacetValueContainer.cs
- StringKeyFrameCollection.cs
- securitycriticaldataClass.cs
- TextEditorTyping.cs
- BypassElementCollection.cs
- ProfileBuildProvider.cs
- ParallelLoopState.cs
- XmlTextEncoder.cs
- OutputCacheSettings.cs
- ImageConverter.cs
- ConnectionManagementElement.cs
- HtmlButton.cs
- DataSvcMapFileSerializer.cs
- RegexWorker.cs
- ContextMenuService.cs
- FormClosingEvent.cs
- AsymmetricSignatureDeformatter.cs
- ConfigurationFileMap.cs
- SQLBytes.cs
- SystemPens.cs
- KeyTime.cs
- PageTheme.cs
- UrlPropertyAttribute.cs
- ThreadExceptionEvent.cs
- AstTree.cs
- FormViewModeEventArgs.cs
- DataGridColumnHeader.cs
- DrawingImage.cs
- WebPartConnectionsDisconnectVerb.cs
- ArcSegment.cs
- NullableFloatAverageAggregationOperator.cs
- DragEvent.cs
- Separator.cs
- ImplicitInputBrush.cs
- SynchronizedDispatch.cs
- SafeCertificateContext.cs
- MetaDataInfo.cs
- StaticTextPointer.cs
- PackageDigitalSignatureManager.cs
- ProgressBarBrushConverter.cs
- SortedList.cs
- _LoggingObject.cs
- CalendarKeyboardHelper.cs
- MessageBox.cs
- ContentValidator.cs
- SecurityDocument.cs
- PageParser.cs
- DesignerCommandAdapter.cs
- ItemsPresenter.cs
- DllNotFoundException.cs
- SingleSelectRootGridEntry.cs
- DataMemberFieldConverter.cs
- XmlNodeChangedEventManager.cs
- RectAnimation.cs
- LineSegment.cs
- HMAC.cs
- InputReferenceExpression.cs
- PropertyDescriptorGridEntry.cs
- CollectionBase.cs
- TextReader.cs
- DeviceContext2.cs
- Oci.cs
- AppDomainManager.cs
- WebPartConnectionsEventArgs.cs
- TraceHandler.cs
- TabletCollection.cs
- EncodingNLS.cs
- DrawingBrush.cs
- BindingGroup.cs
- UpdateProgress.cs
- DeflateStream.cs
- GenericPrincipal.cs
- NullRuntimeConfig.cs
- PerfCounters.cs
- BezierSegment.cs
- SafeCryptoHandles.cs
- HtmlInputPassword.cs
- Evaluator.cs
- JsonUriDataContract.cs
- OciHandle.cs
- SolidBrush.cs
- CapiNative.cs
- _AcceptOverlappedAsyncResult.cs
- Bits.cs
- SafeProcessHandle.cs
- Geometry.cs
- XmlDataSourceView.cs
- ExtensionElementCollection.cs
- MissingSatelliteAssemblyException.cs
- ChangeNode.cs
- BufferBuilder.cs
- TypeDescriptionProviderAttribute.cs
- XmlEntity.cs
- HtmlForm.cs
- XmlDataImplementation.cs
- WhitespaceSignificantCollectionAttribute.cs
- DrawingImage.cs
- FuncTypeConverter.cs