Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Controls / TextChange.cs / 1305600 / 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
- EditorPartDesigner.cs
- HttpModuleActionCollection.cs
- SQLBytes.cs
- ProcessManager.cs
- MarkupExtensionReturnTypeAttribute.cs
- PrtTicket_Public_Simple.cs
- HtmlLiteralTextAdapter.cs
- ClientBuildManager.cs
- XmlTextReader.cs
- SendActivity.cs
- CompiledAction.cs
- ClockController.cs
- InstanceCreationEditor.cs
- _Events.cs
- ContentElementAutomationPeer.cs
- InternalDispatchObject.cs
- validationstate.cs
- TextTreePropertyUndoUnit.cs
- SqlConnection.cs
- PriorityItem.cs
- Crc32.cs
- Parser.cs
- Permission.cs
- EtwTrace.cs
- ModelFactory.cs
- PropertyCondition.cs
- TemplateControlCodeDomTreeGenerator.cs
- ContractNamespaceAttribute.cs
- BuildResult.cs
- InvalidBodyAccessException.cs
- TraceUtils.cs
- AuthenticationService.cs
- PanelStyle.cs
- RemoteHelper.cs
- SafeBitVector32.cs
- SmtpTransport.cs
- PersonalizationProviderHelper.cs
- CookieProtection.cs
- CapabilitiesAssignment.cs
- EncodingNLS.cs
- ProjectionCamera.cs
- DrawingContext.cs
- SspiSafeHandles.cs
- ReflectionHelper.cs
- Dispatcher.cs
- ChangeTracker.cs
- WriterOutput.cs
- DES.cs
- DiscoveryClientOutputChannel.cs
- StatusBarPanelClickEvent.cs
- SafeNativeMethods.cs
- RelativeSource.cs
- UnmanagedMemoryAccessor.cs
- RenderCapability.cs
- ListViewAutomationPeer.cs
- CommandBindingCollection.cs
- DocumentCollection.cs
- RelationshipWrapper.cs
- FontStyles.cs
- FontEmbeddingManager.cs
- LineMetrics.cs
- ObjectStateManager.cs
- OuterGlowBitmapEffect.cs
- ItemCollectionEditor.cs
- BaseComponentEditor.cs
- FixedSOMTable.cs
- GuidelineSet.cs
- RectAnimationUsingKeyFrames.cs
- BamlTreeNode.cs
- CompareInfo.cs
- ConfigXmlCDataSection.cs
- TraceHandler.cs
- MessageSmuggler.cs
- PrinterUnitConvert.cs
- XmlIlVisitor.cs
- HttpCookieCollection.cs
- DirectionalLight.cs
- AssociationTypeEmitter.cs
- AttachedAnnotation.cs
- BaseComponentEditor.cs
- PrintDocument.cs
- SchemaCollectionPreprocessor.cs
- ConfigXmlElement.cs
- RegisteredDisposeScript.cs
- SplitterPanel.cs
- Calendar.cs
- OracleFactory.cs
- SqlProviderManifest.cs
- ScrollProperties.cs
- ItemChangedEventArgs.cs
- SqlErrorCollection.cs
- DbConnectionPoolOptions.cs
- QueryParameter.cs
- DetailsViewInsertEventArgs.cs
- DurationConverter.cs
- ByteStorage.cs
- EventWaitHandle.cs
- WindowsFormsHostAutomationPeer.cs
- BaseCodePageEncoding.cs
- SpellCheck.cs