Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Framework / System / Windows / Controls / TextChange.cs / 1 / TextChange.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: // // History: // 6/1/2007 : psarrett - Created // //--------------------------------------------------------------------------- using System; using System.Windows; using System.Collections; namespace System.Windows.Controls { ////// Specifies the changes applied to TextContainer content. /// public class TextChange { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors internal TextChange() { } #endregion Constructors //------------------------------------------------------ // // Public Members // //----------------------------------------------------- #region Public Members ////// 0-based character offset for this change /// public int Offset { get { return _offset; } internal set { _offset = value; } } ////// Number of characters added /// public int AddedLength { get { return _addedLength; } internal set { _addedLength = value; } } ////// Number of characters removed /// public int RemovedLength { get { return _removedLength; } internal set { _removedLength = value; } } #endregion Public Members //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields private int _offset; private int _addedLength; private int _removedLength; #endregion Private Fields } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: // // History: // 6/1/2007 : psarrett - Created // //--------------------------------------------------------------------------- using System; using System.Windows; using System.Collections; namespace System.Windows.Controls { ////// Specifies the changes applied to TextContainer content. /// public class TextChange { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors internal TextChange() { } #endregion Constructors //------------------------------------------------------ // // Public Members // //----------------------------------------------------- #region Public Members ////// 0-based character offset for this change /// public int Offset { get { return _offset; } internal set { _offset = value; } } ////// Number of characters added /// public int AddedLength { get { return _addedLength; } internal set { _addedLength = value; } } ////// Number of characters removed /// public int RemovedLength { get { return _removedLength; } internal set { _removedLength = value; } } #endregion Public Members //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields private int _offset; private int _addedLength; private int _removedLength; #endregion Private Fields } } // 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
- Storyboard.cs
- DllHostedComPlusServiceHost.cs
- MailFileEditor.cs
- ListControlBoundActionList.cs
- BinaryFormatterWriter.cs
- XmlSchemaGroupRef.cs
- GridViewCellAutomationPeer.cs
- XmlSchemaExternal.cs
- VersionedStream.cs
- DataServiceClientException.cs
- EntityDataSourceContainerNameItem.cs
- FontDriver.cs
- UrlMappingsModule.cs
- ExpressionBuilderCollection.cs
- pingexception.cs
- PolyBezierSegment.cs
- GridPattern.cs
- PrePrepareMethodAttribute.cs
- DataGridViewTextBoxCell.cs
- TimelineCollection.cs
- OdbcUtils.cs
- StickyNoteHelper.cs
- NoneExcludedImageIndexConverter.cs
- ServiceEndpointAssociationProvider.cs
- SchemaImporterExtensionElement.cs
- AuthStoreRoleProvider.cs
- DataListGeneralPage.cs
- Compiler.cs
- XmlNodeChangedEventArgs.cs
- PrimarySelectionGlyph.cs
- GridViewRowCollection.cs
- TypeDependencyAttribute.cs
- CustomAttributeBuilder.cs
- Int64AnimationBase.cs
- ConsoleKeyInfo.cs
- XmlIlVisitor.cs
- XmlAttributeHolder.cs
- PropertyGeneratedEventArgs.cs
- FlowDocumentScrollViewer.cs
- CodeBlockBuilder.cs
- GenericIdentity.cs
- AssemblyBuilder.cs
- XmlEncodedRawTextWriter.cs
- ZipPackagePart.cs
- ETagAttribute.cs
- QueryOptionExpression.cs
- CapabilitiesUse.cs
- PagesSection.cs
- Helper.cs
- Timeline.cs
- HierarchicalDataSourceConverter.cs
- Query.cs
- MaskedTextProvider.cs
- LightweightCodeGenerator.cs
- HuffmanTree.cs
- DispatcherExceptionEventArgs.cs
- Ipv6Element.cs
- InitializationEventAttribute.cs
- UndoManager.cs
- SQLDateTime.cs
- NeutralResourcesLanguageAttribute.cs
- ProfileBuildProvider.cs
- IISUnsafeMethods.cs
- URLBuilder.cs
- PeerInvitationResponse.cs
- XmlSignatureManifest.cs
- MobileControlDesigner.cs
- ComponentCollection.cs
- ObjectDisposedException.cs
- TemplatingOptionsDialog.cs
- StringConcat.cs
- RepeatButtonAutomationPeer.cs
- GraphicsState.cs
- ImmComposition.cs
- DurationConverter.cs
- Debug.cs
- ObjectHandle.cs
- CallSite.cs
- ReachNamespaceInfo.cs
- BindToObject.cs
- HScrollBar.cs
- ColumnWidthChangedEvent.cs
- HttpListenerRequest.cs
- TableStyle.cs
- CollectionBuilder.cs
- ImplicitInputBrush.cs
- DataGridItemEventArgs.cs
- mediaeventshelper.cs
- SiteMapHierarchicalDataSourceView.cs
- SpellerStatusTable.cs
- CacheOutputQuery.cs
- TraceContextEventArgs.cs
- NamespaceEmitter.cs
- SQLChars.cs
- AssemblyAttributes.cs
- DurableMessageDispatchInspector.cs
- BrowserCapabilitiesCompiler.cs
- XmlSchemaCollection.cs
- EventMap.cs
- FormViewDeletedEventArgs.cs