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
- List.cs
- IPPacketInformation.cs
- DataSourceExpressionCollection.cs
- StrongNameIdentityPermission.cs
- Boolean.cs
- DataGridViewImageCell.cs
- ConnectionManagementElement.cs
- invalidudtexception.cs
- NameValueFileSectionHandler.cs
- TextParaClient.cs
- RequestDescription.cs
- IsolatedStorage.cs
- TextUtf8RawTextWriter.cs
- XmlExpressionDumper.cs
- PropertyTabAttribute.cs
- ResourcePermissionBase.cs
- ConnectionConsumerAttribute.cs
- TextFormatterHost.cs
- XmlSchemaSimpleContentExtension.cs
- CodeStatement.cs
- InfiniteIntConverter.cs
- remotingproxy.cs
- ListViewTableCell.cs
- BitmapEffectInputData.cs
- InkCanvasInnerCanvas.cs
- HttpModulesSection.cs
- TextMessageEncodingElement.cs
- PointConverter.cs
- DataGridViewComboBoxCell.cs
- InternalsVisibleToAttribute.cs
- MediaCommands.cs
- XmlTextWriter.cs
- SerTrace.cs
- IConvertible.cs
- PropertyGeneratedEventArgs.cs
- Ray3DHitTestResult.cs
- Transform.cs
- SafeCryptoHandles.cs
- TypeDescriptor.cs
- ParserOptions.cs
- XamlToRtfWriter.cs
- SpotLight.cs
- CopyNamespacesAction.cs
- NamedPipeTransportSecurityElement.cs
- EntityDataSourceEntitySetNameItem.cs
- ScriptReferenceEventArgs.cs
- DefaultObjectMappingItemCollection.cs
- RenderOptions.cs
- Message.cs
- DateTimeStorage.cs
- EventsTab.cs
- StateDesigner.Layouts.cs
- Rectangle.cs
- SoapFaultCodes.cs
- PropertyTabChangedEvent.cs
- TypeConverterHelper.cs
- SerializableAuthorizationContext.cs
- adornercollection.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- DropSourceBehavior.cs
- PropertyTabAttribute.cs
- CounterSampleCalculator.cs
- AttributedMetaModel.cs
- BinaryFormatter.cs
- ContourSegment.cs
- WizardStepCollectionEditor.cs
- NavigationEventArgs.cs
- SpellerStatusTable.cs
- DefaultBindingPropertyAttribute.cs
- WebPartVerbsEventArgs.cs
- X509Logo.cs
- ProviderSettings.cs
- BehaviorEditorPart.cs
- RuntimeConfigLKG.cs
- HttpPostedFile.cs
- SortFieldComparer.cs
- DataTableCollection.cs
- DataGridRowAutomationPeer.cs
- GridViewDeleteEventArgs.cs
- ArgumentDesigner.xaml.cs
- HttpContextServiceHost.cs
- GeometryHitTestParameters.cs
- DecimalStorage.cs
- AutoResizedEvent.cs
- DataKeyCollection.cs
- PasswordTextNavigator.cs
- LineSegment.cs
- ZipIOExtraFieldPaddingElement.cs
- SecurityHelper.cs
- regiisutil.cs
- WizardStepBase.cs
- XmlLangPropertyAttribute.cs
- ListenUriMode.cs
- FtpWebResponse.cs
- GenericIdentity.cs
- TdsValueSetter.cs
- EntryPointNotFoundException.cs
- XamlGridLengthSerializer.cs
- StyleModeStack.cs
- handlecollector.cs