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
- DragDrop.cs
- VirtualPathProvider.cs
- BackStopAuthenticationModule.cs
- SqlWebEventProvider.cs
- ConfigurationSchemaErrors.cs
- LocalIdKeyIdentifierClause.cs
- FtpWebResponse.cs
- AppDomainGrammarProxy.cs
- FormatConvertedBitmap.cs
- StringValidatorAttribute.cs
- contentDescriptor.cs
- KeySplineConverter.cs
- EventLogPermissionEntryCollection.cs
- PtsPage.cs
- Module.cs
- StateMachineExecutionState.cs
- DiscoveryDocumentSerializer.cs
- TaskResultSetter.cs
- VectorCollectionConverter.cs
- DataControlField.cs
- DataGridViewCellStyle.cs
- HostingPreferredMapPath.cs
- InputLanguageSource.cs
- NetDataContractSerializer.cs
- FixedDocument.cs
- ObjectDataSourceChooseMethodsPanel.cs
- HtmlInputButton.cs
- CompressedStack.cs
- XmlSerializationWriter.cs
- XmlArrayAttribute.cs
- ResourceDescriptionAttribute.cs
- XPathAncestorIterator.cs
- SchemaTableOptionalColumn.cs
- HttpWriter.cs
- Track.cs
- LazyTextWriterCreator.cs
- NativeRecognizer.cs
- StringCollection.cs
- Label.cs
- PopupRoot.cs
- FormViewDeletedEventArgs.cs
- VisualProxy.cs
- SymmetricAlgorithm.cs
- DataControlButton.cs
- _ProxyChain.cs
- WmlCalendarAdapter.cs
- SqlClientFactory.cs
- OracleRowUpdatingEventArgs.cs
- UnsafeNativeMethods.cs
- SqlDataSourceCommandEventArgs.cs
- ImageClickEventArgs.cs
- ExtendedProperty.cs
- recordstatescratchpad.cs
- HwndHostAutomationPeer.cs
- IOThreadScheduler.cs
- ValueTable.cs
- PeerNameRecordCollection.cs
- InfoCardCryptoHelper.cs
- GACMembershipCondition.cs
- StyleSheet.cs
- LinqToSqlWrapper.cs
- InvalidEnumArgumentException.cs
- NamedObject.cs
- BamlTreeNode.cs
- CorePropertiesFilter.cs
- ConnectionPointCookie.cs
- SafeArrayTypeMismatchException.cs
- GridToolTip.cs
- HttpProtocolImporter.cs
- ClientSettingsProvider.cs
- ClientConfigurationSystem.cs
- BamlTreeMap.cs
- SafeFileMapViewHandle.cs
- SafeLibraryHandle.cs
- ProxyElement.cs
- FileDialog_Vista.cs
- SessionEndingCancelEventArgs.cs
- DataTableTypeConverter.cs
- DataGridViewImageCell.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- SqlProvider.cs
- RectAnimation.cs
- OneOfScalarConst.cs
- CompositeScriptReferenceEventArgs.cs
- ToolStripItemCollection.cs
- IndexerNameAttribute.cs
- FilterQuery.cs
- Compress.cs
- keycontainerpermission.cs
- altserialization.cs
- Command.cs
- SettingsProperty.cs
- LightweightCodeGenerator.cs
- ResourcePermissionBase.cs
- ChtmlLinkAdapter.cs
- TreeView.cs
- MonikerHelper.cs
- AttributeProviderAttribute.cs
- DesignTimeTemplateParser.cs
- SafeCryptoHandles.cs