Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Framework / System / Windows / Controls / TextChange.cs / 1 / 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
- DbInsertCommandTree.cs
- IPEndPoint.cs
- FileDialog_Vista.cs
- WindowsStatic.cs
- EntityDataSourceDataSelection.cs
- MediaContextNotificationWindow.cs
- AuthenticationSection.cs
- WebPartDescription.cs
- AppSettingsReader.cs
- Crypto.cs
- XPathBinder.cs
- ActivityContext.cs
- XamlGridLengthSerializer.cs
- MultilineStringConverter.cs
- CountdownEvent.cs
- ParentControlDesigner.cs
- DetailsViewActionList.cs
- XPathDocumentBuilder.cs
- DetailsViewDeleteEventArgs.cs
- SelectedDatesCollection.cs
- AssemblyResolver.cs
- MethodBody.cs
- OutputCacheProfile.cs
- AffineTransform3D.cs
- CachedFontFamily.cs
- DataGridViewCellValueEventArgs.cs
- SQLInt64.cs
- DataGridViewTopRowAccessibleObject.cs
- PreparingEnlistment.cs
- WriteableBitmap.cs
- FixedSOMImage.cs
- SafeViewOfFileHandle.cs
- Page.cs
- DbBuffer.cs
- AutoResizedEvent.cs
- HtmlTextViewAdapter.cs
- EventLogEntry.cs
- ConnectionPoint.cs
- RunInstallerAttribute.cs
- GroupBox.cs
- CatalogZoneBase.cs
- LayoutInformation.cs
- PeerName.cs
- SerializationEventsCache.cs
- IisTraceWebEventProvider.cs
- PolicyStatement.cs
- DiscoveryServiceExtension.cs
- TextRunTypographyProperties.cs
- SqlMultiplexer.cs
- Win32SafeHandles.cs
- GlyphRun.cs
- SurrogateEncoder.cs
- Material.cs
- LayoutTable.cs
- CustomPopupPlacement.cs
- SessionIDManager.cs
- TreeViewImageKeyConverter.cs
- ResolveCriteriaApril2005.cs
- ParserStreamGeometryContext.cs
- XmlAnyAttributeAttribute.cs
- UserPreferenceChangingEventArgs.cs
- SecurityChannelListener.cs
- DiagnosticTraceSource.cs
- EmbeddedObject.cs
- GridView.cs
- IListConverters.cs
- AdCreatedEventArgs.cs
- FacetValueContainer.cs
- ArithmeticLiteral.cs
- SqlDependency.cs
- Point3DCollection.cs
- AnnotationMap.cs
- Activation.cs
- UpdateRecord.cs
- WebPartUtil.cs
- XPathScanner.cs
- GridViewDesigner.cs
- _AuthenticationState.cs
- ContentWrapperAttribute.cs
- ComponentConverter.cs
- Enum.cs
- MinMaxParagraphWidth.cs
- ECDiffieHellman.cs
- ToolStripDropDownClosingEventArgs.cs
- SrgsRulesCollection.cs
- SpecialFolderEnumConverter.cs
- ProviderMetadataCachedInformation.cs
- LookupTables.cs
- safex509handles.cs
- BoundsDrawingContextWalker.cs
- TextContainerHelper.cs
- ContractTypeNameCollection.cs
- Int32EqualityComparer.cs
- ReadingWritingEntityEventArgs.cs
- Vector.cs
- XmlAggregates.cs
- HtmlInputCheckBox.cs
- ScrollBarRenderer.cs
- TreeNodeCollection.cs
- FixedSOMPage.cs