Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- NotifyParentPropertyAttribute.cs
- DataStreamFromComStream.cs
- TextCharacters.cs
- LineBreakRecord.cs
- AlphaSortedEnumConverter.cs
- SrgsRule.cs
- WorkflowServiceInstance.cs
- ContentControl.cs
- ThemeableAttribute.cs
- ManagedIStream.cs
- SortedList.cs
- WhitespaceRuleReader.cs
- ListViewTableRow.cs
- SQLMembershipProvider.cs
- MethodAccessException.cs
- EncodingTable.cs
- BitmapEffectvisualstate.cs
- __Error.cs
- TypeToken.cs
- TextParagraphProperties.cs
- ResourcePermissionBaseEntry.cs
- UniqueConstraint.cs
- wmiprovider.cs
- PeerNameRecordCollection.cs
- CompilerGlobalScopeAttribute.cs
- TextTreeRootNode.cs
- ListViewGroup.cs
- SqlFunctionAttribute.cs
- FixedNode.cs
- ConfigXmlComment.cs
- ConfigXmlComment.cs
- MsmqTransportElement.cs
- GAC.cs
- CodeGroup.cs
- WebSysDescriptionAttribute.cs
- EntityUtil.cs
- WebPermission.cs
- Trace.cs
- TransportSecurityHelpers.cs
- CellIdBoolean.cs
- ValueQuery.cs
- DbConnectionPoolGroup.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- PkcsMisc.cs
- DragDrop.cs
- _Win32.cs
- DataColumnChangeEvent.cs
- AccessorTable.cs
- EdmError.cs
- StructureChangedEventArgs.cs
- InputEventArgs.cs
- CodeDomConfigurationHandler.cs
- ClientFormsIdentity.cs
- TcpConnectionPoolSettings.cs
- SHA256Managed.cs
- EventData.cs
- ToolStripSplitButton.cs
- HwndTarget.cs
- ServerValidateEventArgs.cs
- InputElement.cs
- FontFamily.cs
- DropDownButton.cs
- CommandEventArgs.cs
- DispatcherEventArgs.cs
- TimelineGroup.cs
- ModelPropertyCollectionImpl.cs
- DifferencingCollection.cs
- SourceElementsCollection.cs
- DefaultMemberAttribute.cs
- InvalidOleVariantTypeException.cs
- PropertyDescriptorGridEntry.cs
- CodeExporter.cs
- ItemsPanelTemplate.cs
- Point3D.cs
- SecurityPolicySection.cs
- GridViewRow.cs
- cookieexception.cs
- TraceSource.cs
- SplitContainerDesigner.cs
- TreeNodeCollection.cs
- DataGridColumnCollection.cs
- ListViewUpdateEventArgs.cs
- XmlSchemaAttributeGroupRef.cs
- EmptyControlCollection.cs
- DesignerActionUI.cs
- BoolExpressionVisitors.cs
- Events.cs
- RuleConditionDialog.Designer.cs
- Floater.cs
- ObjectQueryExecutionPlan.cs
- DeadCharTextComposition.cs
- CancellationTokenSource.cs
- PackageRelationshipSelector.cs
- ScopelessEnumAttribute.cs
- XPathDescendantIterator.cs
- EntityDataSourceReferenceGroup.cs
- Compiler.cs
- PathGradientBrush.cs
- XmlElementCollection.cs
- InputLangChangeEvent.cs