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
- ManualResetEvent.cs
- RSAOAEPKeyExchangeFormatter.cs
- IsolationInterop.cs
- LogicalExpr.cs
- Focus.cs
- UserControlBuildProvider.cs
- MasterPageCodeDomTreeGenerator.cs
- ErrorHandlingReceiver.cs
- OdbcDataReader.cs
- SimpleHandlerBuildProvider.cs
- StringCollectionEditor.cs
- CodeStatement.cs
- JumpPath.cs
- BrowserCapabilitiesFactory.cs
- WebRequestModulesSection.cs
- ZipIOFileItemStream.cs
- CqlBlock.cs
- ComplexBindingPropertiesAttribute.cs
- ConfigXmlAttribute.cs
- SqlTrackingService.cs
- TextSelectionHelper.cs
- DelegatingConfigHost.cs
- TextCompositionEventArgs.cs
- StringDictionary.cs
- _AutoWebProxyScriptEngine.cs
- Selector.cs
- SystemFonts.cs
- BaseDataList.cs
- NamedServiceModelExtensionCollectionElement.cs
- DbReferenceCollection.cs
- SecurityTokenProvider.cs
- FocusWithinProperty.cs
- SecurityVerifiedMessage.cs
- WebSysDisplayNameAttribute.cs
- DataSourceGroupCollection.cs
- VersionedStream.cs
- Cursors.cs
- ReadContentAsBinaryHelper.cs
- LineUtil.cs
- GlyphManager.cs
- Vector3DAnimationBase.cs
- ContractNamespaceAttribute.cs
- PassportIdentity.cs
- AmbientLight.cs
- SqlVersion.cs
- DetailsViewPageEventArgs.cs
- DocumentPage.cs
- CompilerCollection.cs
- CodeAttributeDeclarationCollection.cs
- cryptoapiTransform.cs
- XMLUtil.cs
- RowParagraph.cs
- DependencySource.cs
- Pen.cs
- LogicalChannelCollection.cs
- Parser.cs
- XamlToRtfParser.cs
- XmlSchemaSimpleContentRestriction.cs
- WebServiceMethodData.cs
- _BaseOverlappedAsyncResult.cs
- DataGridViewDataConnection.cs
- StringValidator.cs
- HashCryptoHandle.cs
- XmlElementAttributes.cs
- ToolboxComponentsCreatingEventArgs.cs
- XPathNavigatorKeyComparer.cs
- documentsequencetextcontainer.cs
- RichTextBox.cs
- CacheRequest.cs
- ObjectDataSourceFilteringEventArgs.cs
- HttpClientProtocol.cs
- WebEventCodes.cs
- EventDriven.cs
- OperationFormatStyle.cs
- CommandID.cs
- Rotation3DAnimationUsingKeyFrames.cs
- NumberFunctions.cs
- PropertyEntry.cs
- FixedHighlight.cs
- Padding.cs
- PerformanceCounterTraceRecord.cs
- ZoneIdentityPermission.cs
- DataGridViewCellPaintingEventArgs.cs
- WebPartTracker.cs
- PersistenceException.cs
- UnsafeNativeMethods.cs
- TickBar.cs
- BamlLocalizableResource.cs
- LoginCancelEventArgs.cs
- MaskInputRejectedEventArgs.cs
- TextureBrush.cs
- ListViewItem.cs
- VersionPair.cs
- TemplateBindingExpression.cs
- CheckBoxField.cs
- TraceInternal.cs
- AppliesToBehaviorDecisionTable.cs
- DictationGrammar.cs
- RegexGroupCollection.cs
- AssemblyBuilder.cs