Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TraceRecord.cs
- ClientTargetCollection.cs
- ClosableStream.cs
- ToolStripGrip.cs
- XsltFunctions.cs
- FileDetails.cs
- TextLineResult.cs
- NameValuePermission.cs
- StreamSecurityUpgradeProvider.cs
- UInt64.cs
- TabOrder.cs
- SHA1.cs
- NetworkInterface.cs
- ComplexPropertyEntry.cs
- XmlSchemaObject.cs
- StreamSecurityUpgradeProvider.cs
- EventMappingSettings.cs
- BatchServiceHost.cs
- FocusTracker.cs
- DataGridSortCommandEventArgs.cs
- XmlAttributeAttribute.cs
- MarshalDirectiveException.cs
- BamlBinaryReader.cs
- COM2TypeInfoProcessor.cs
- Expression.cs
- ProgramPublisher.cs
- InvalidComObjectException.cs
- ResolvedKeyFrameEntry.cs
- SafeNativeMethodsOther.cs
- Emitter.cs
- SqlUtils.cs
- IteratorFilter.cs
- WindowsListViewScroll.cs
- XmlDataCollection.cs
- XmlSchemaExporter.cs
- DataGridViewTopRowAccessibleObject.cs
- TablePattern.cs
- DiagnosticsConfigurationHandler.cs
- ToolStripDropDownClosedEventArgs.cs
- IdentityNotMappedException.cs
- ImageUrlEditor.cs
- SqlEnums.cs
- PersonalizationState.cs
- UpdatePanel.cs
- Freezable.cs
- ValidatedControlConverter.cs
- WebBrowsableAttribute.cs
- MenuItemCollection.cs
- NameNode.cs
- ByteStreamMessageEncodingElement.cs
- DoubleLinkList.cs
- QilStrConcat.cs
- JsonMessageEncoderFactory.cs
- DictionaryEntry.cs
- WizardStepBase.cs
- RoutedUICommand.cs
- _Rfc2616CacheValidators.cs
- LocatorPart.cs
- MatrixTransform.cs
- TextTreeNode.cs
- StreamHelper.cs
- CopyNodeSetAction.cs
- CodeTypeMember.cs
- XsltLibrary.cs
- BindingCompleteEventArgs.cs
- TextInfo.cs
- RtfControls.cs
- StateMachineSubscriptionManager.cs
- DataRowCollection.cs
- SchemaObjectWriter.cs
- AttributeCollection.cs
- PageTheme.cs
- Expression.cs
- Button.cs
- HashCodeCombiner.cs
- ScriptResourceHandler.cs
- DrawingVisual.cs
- TextEditorCopyPaste.cs
- SqlProfileProvider.cs
- Helpers.cs
- BitArray.cs
- SqlNotificationRequest.cs
- TemplateColumn.cs
- RoleManagerSection.cs
- ReflectionUtil.cs
- NonParentingControl.cs
- XmlNullResolver.cs
- RectangleGeometry.cs
- Condition.cs
- PersistenceProviderElement.cs
- SimpleHandlerFactory.cs
- BitmapData.cs
- Handle.cs
- EnterpriseServicesHelper.cs
- MembershipPasswordException.cs
- ControlValuePropertyAttribute.cs
- AdCreatedEventArgs.cs
- AlternateViewCollection.cs
- TextSchema.cs
- OracleString.cs