Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewCellValueEventArgs.cs / 1305376 / DataGridViewCellValueEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.Diagnostics; ///public class DataGridViewCellValueEventArgs : EventArgs { private int rowIndex, columnIndex; private object val; internal DataGridViewCellValueEventArgs() { this.columnIndex = this.rowIndex = -1; } /// public DataGridViewCellValueEventArgs(int columnIndex, int rowIndex) { if (columnIndex < 0) { throw new ArgumentOutOfRangeException("columnIndex"); } if (rowIndex < 0) { throw new ArgumentOutOfRangeException("rowIndex"); } this.rowIndex = rowIndex; this.columnIndex = columnIndex; } /// public int ColumnIndex { get { return this.columnIndex; } } /// public int RowIndex { get { return this.rowIndex; } } /// public object Value { get { return this.val; } set { this.val = value; } } internal void SetProperties(int columnIndex, int rowIndex, object value) { Debug.Assert(columnIndex >= -1); Debug.Assert(rowIndex >= -1); this.columnIndex = columnIndex; this.rowIndex = rowIndex; this.val = value; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FlowDocument.cs
- HorizontalAlignConverter.cs
- RbTree.cs
- CodeCatchClauseCollection.cs
- OutputCacheProviderCollection.cs
- ClientSideQueueItem.cs
- SpinWait.cs
- LinqDataSourceDeleteEventArgs.cs
- UserControlAutomationPeer.cs
- EastAsianLunisolarCalendar.cs
- MemberRestriction.cs
- WorkflowInstanceProxy.cs
- ParameterCollection.cs
- BindValidationContext.cs
- EnterpriseServicesHelper.cs
- CultureSpecificCharacterBufferRange.cs
- ChildChangedEventArgs.cs
- AutoGeneratedFieldProperties.cs
- HttpResponseHeader.cs
- VirtualPathData.cs
- StylusPointPropertyInfo.cs
- BackStopAuthenticationModule.cs
- ControlParser.cs
- storepermission.cs
- AssemblyNameUtility.cs
- PathFigureCollection.cs
- DataGridViewSelectedCellCollection.cs
- TextParagraphCache.cs
- Model3DCollection.cs
- DoubleLinkListEnumerator.cs
- PersonalizationStateQuery.cs
- StrokeNodeOperations.cs
- DefaultTextStore.cs
- InputElement.cs
- SymmetricAlgorithm.cs
- FormatterConverter.cs
- FixedPageProcessor.cs
- BulletedList.cs
- XPathArrayIterator.cs
- NeutralResourcesLanguageAttribute.cs
- TemplateBuilder.cs
- CoTaskMemHandle.cs
- UserControlBuildProvider.cs
- IdentityValidationException.cs
- GCHandleCookieTable.cs
- BorderSidesEditor.cs
- PhysicalOps.cs
- UnsafeNativeMethods.cs
- MobileComponentEditorPage.cs
- DefinitionBase.cs
- Label.cs
- MouseActionConverter.cs
- TextElementEditingBehaviorAttribute.cs
- HtmlTableRowCollection.cs
- ScriptServiceAttribute.cs
- ElementNotEnabledException.cs
- SqlCommand.cs
- DeviceContext2.cs
- SafeCryptoHandles.cs
- TextEndOfSegment.cs
- DeferredReference.cs
- FormViewInsertEventArgs.cs
- CodeDomLocalizationProvider.cs
- Int32CAMarshaler.cs
- TypeProvider.cs
- RoutedPropertyChangedEventArgs.cs
- XmlTextAttribute.cs
- StringSorter.cs
- Native.cs
- BuildProviderAppliesToAttribute.cs
- RegistrationServices.cs
- NativeMethods.cs
- IgnoreDataMemberAttribute.cs
- TimerElapsedEvenArgs.cs
- SmiContextFactory.cs
- PropertyChangedEventManager.cs
- HttpCookieCollection.cs
- OleDbConnection.cs
- XslAst.cs
- ProgressiveCrcCalculatingStream.cs
- HtmlInputRadioButton.cs
- TextTreeTextBlock.cs
- GridViewDeletedEventArgs.cs
- ObjectStateFormatter.cs
- SplitterDesigner.cs
- DomainConstraint.cs
- WebEvents.cs
- BoundsDrawingContextWalker.cs
- DeleteWorkflowOwnerCommand.cs
- IPEndPoint.cs
- QuaternionValueSerializer.cs
- DataGridTable.cs
- ColumnMapProcessor.cs
- WpfKnownMember.cs
- ConfigurationLocationCollection.cs
- SystemIPGlobalProperties.cs
- DataGridViewCellCollection.cs
- WSTrustFeb2005.cs
- ExpressionParser.cs
- SchemaCollectionPreprocessor.cs