Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Controls / TextChange.cs / 1 / TextChange.cs
//----------------------------------------------------------------------------
//
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//
// Description:
//
// History:
// 6/1/2007 : [....] - 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
- HtmlContainerControl.cs
- XmlWrappingReader.cs
- SqlConnectionFactory.cs
- SqlDataSourceConnectionPanel.cs
- querybuilder.cs
- TimeoutException.cs
- HttpHandlersSection.cs
- SchemaMerger.cs
- VerificationAttribute.cs
- SoapAttributeAttribute.cs
- ConfigurationPropertyCollection.cs
- PropertyGridView.cs
- Serializer.cs
- RuntimeWrappedException.cs
- TemplateKey.cs
- AspNetHostingPermission.cs
- WriteableBitmap.cs
- ActivityStatusChangeEventArgs.cs
- unsafenativemethodsother.cs
- ProfilePropertyNameValidator.cs
- ModifierKeysConverter.cs
- LoadMessageLogger.cs
- GreaterThanOrEqual.cs
- OleDbTransaction.cs
- HttpResponseHeader.cs
- ThreadStateException.cs
- CheckBox.cs
- SqlProcedureAttribute.cs
- CaseInsensitiveHashCodeProvider.cs
- DrawingContextWalker.cs
- SBCSCodePageEncoding.cs
- CoreChannel.cs
- Enumerable.cs
- UserControlDesigner.cs
- OdbcStatementHandle.cs
- UIElement3D.cs
- CryptoStream.cs
- XmlObjectSerializerReadContextComplexJson.cs
- OdbcConnectionString.cs
- WebPermission.cs
- WebPartDisplayModeCollection.cs
- DrawingGroup.cs
- ObjectDataSourceMethodEventArgs.cs
- ThreadSafeList.cs
- SrgsGrammar.cs
- ListViewContainer.cs
- PagePropertiesChangingEventArgs.cs
- ElementProxy.cs
- DependencySource.cs
- SharedPersonalizationStateInfo.cs
- Drawing.cs
- Stroke2.cs
- XamlToRtfParser.cs
- OleDbRowUpdatedEvent.cs
- ExternalCalls.cs
- SocketElement.cs
- EncryptedPackage.cs
- StyleXamlParser.cs
- SettingsPropertyNotFoundException.cs
- PageContent.cs
- ReflectPropertyDescriptor.cs
- PackageRelationshipSelector.cs
- EdmToObjectNamespaceMap.cs
- ControlType.cs
- GenericArgumentsUpdater.cs
- XmlObjectSerializerWriteContextComplex.cs
- ZipIORawDataFileBlock.cs
- EntityDesignerBuildProvider.cs
- XPathDescendantIterator.cs
- CookieParameter.cs
- XmlWrappingReader.cs
- OSFeature.cs
- TypeElement.cs
- x509utils.cs
- _SSPIWrapper.cs
- DataObjectPastingEventArgs.cs
- StylusPointDescription.cs
- DateTimeParse.cs
- ECDiffieHellmanPublicKey.cs
- VersionPair.cs
- DescendantOverDescendantQuery.cs
- SecurityDescriptor.cs
- DummyDataSource.cs
- MarkupExtensionReturnTypeAttribute.cs
- LoadGrammarCompletedEventArgs.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- OAVariantLib.cs
- DataControlButton.cs
- OutOfProcStateClientManager.cs
- FormViewRow.cs
- Duration.cs
- QuaternionIndependentAnimationStorage.cs
- PartitionResolver.cs
- PropertyEmitterBase.cs
- CollectionBase.cs
- Keyboard.cs
- ListViewInsertEventArgs.cs
- StorageInfo.cs
- ExecutionEngineException.cs
- PageAsyncTask.cs