Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewCellParsingEventArgs.cs / 1 / DataGridViewCellParsingEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Windows.Forms
{
using System;
using System.Drawing;
using System.ComponentModel;
///
public class DataGridViewCellParsingEventArgs : ConvertEventArgs
{
private int rowIndex, columnIndex;
private DataGridViewCellStyle inheritedCellStyle;
private bool parsingApplied;
///
public DataGridViewCellParsingEventArgs(int rowIndex,
int columnIndex,
object value,
Type desiredType,
DataGridViewCellStyle inheritedCellStyle) : base(value, desiredType)
{
this.rowIndex = rowIndex;
this.columnIndex = columnIndex;
this.inheritedCellStyle = inheritedCellStyle;
}
///
public int RowIndex
{
get
{
return this.rowIndex;
}
}
///
public int ColumnIndex
{
get
{
return this.columnIndex;
}
}
///
public DataGridViewCellStyle InheritedCellStyle
{
get
{
return this.inheritedCellStyle;
}
set
{
this.inheritedCellStyle = value;
}
}
///
public bool ParsingApplied
{
get
{
return this.parsingApplied;
}
set
{
this.parsingApplied = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Windows.Forms
{
using System;
using System.Drawing;
using System.ComponentModel;
///
public class DataGridViewCellParsingEventArgs : ConvertEventArgs
{
private int rowIndex, columnIndex;
private DataGridViewCellStyle inheritedCellStyle;
private bool parsingApplied;
///
public DataGridViewCellParsingEventArgs(int rowIndex,
int columnIndex,
object value,
Type desiredType,
DataGridViewCellStyle inheritedCellStyle) : base(value, desiredType)
{
this.rowIndex = rowIndex;
this.columnIndex = columnIndex;
this.inheritedCellStyle = inheritedCellStyle;
}
///
public int RowIndex
{
get
{
return this.rowIndex;
}
}
///
public int ColumnIndex
{
get
{
return this.columnIndex;
}
}
///
public DataGridViewCellStyle InheritedCellStyle
{
get
{
return this.inheritedCellStyle;
}
set
{
this.inheritedCellStyle = value;
}
}
///
public bool ParsingApplied
{
get
{
return this.parsingApplied;
}
set
{
this.parsingApplied = 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
- DebuggerService.cs
- DateTimeOffsetStorage.cs
- ParserOptions.cs
- PropertyPathConverter.cs
- LocatorPartList.cs
- RequiredFieldValidator.cs
- PartialCachingAttribute.cs
- ButtonChrome.cs
- FormViewDesigner.cs
- HttpProtocolImporter.cs
- EncoderFallback.cs
- AtlasWeb.Designer.cs
- AppDomainAttributes.cs
- TextCompositionEventArgs.cs
- CompoundFileReference.cs
- SqlCacheDependencyDatabaseCollection.cs
- FileStream.cs
- VisualTarget.cs
- IsolationInterop.cs
- ActionMessageFilter.cs
- SystemColors.cs
- SiteOfOriginPart.cs
- MostlySingletonList.cs
- DbDataRecord.cs
- CodeNamespaceImport.cs
- DrawingVisualDrawingContext.cs
- DEREncoding.cs
- SeverityFilter.cs
- Console.cs
- PrivilegedConfigurationManager.cs
- VirtualizingPanel.cs
- WebPartConnectionsCloseVerb.cs
- VisualTarget.cs
- XmlSchemaSet.cs
- DefaultBinder.cs
- TextAutomationPeer.cs
- MenuItem.cs
- ComponentChangedEvent.cs
- PersonalizableTypeEntry.cs
- HttpPostedFileWrapper.cs
- HttpWebRequest.cs
- DropSource.cs
- XmlSiteMapProvider.cs
- MobileCapabilities.cs
- Decimal.cs
- IdentifierCreationService.cs
- XmlBindingWorker.cs
- ListBindingConverter.cs
- BulletedList.cs
- WebRequestModuleElementCollection.cs
- ClientRoleProvider.cs
- TextProperties.cs
- Utility.cs
- ContextDataSourceContextData.cs
- PersonalizableTypeEntry.cs
- SerializationObjectManager.cs
- NeutralResourcesLanguageAttribute.cs
- StrokeNode.cs
- CopyAction.cs
- panel.cs
- HierarchicalDataBoundControlAdapter.cs
- InfoCardProofToken.cs
- dsa.cs
- WebSysDescriptionAttribute.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- RijndaelManagedTransform.cs
- PolyLineSegment.cs
- DataSetSchema.cs
- DBNull.cs
- LassoSelectionBehavior.cs
- PrintPreviewGraphics.cs
- AnnotationResourceCollection.cs
- TextEvent.cs
- XmlSchemaSimpleContent.cs
- NonPrimarySelectionGlyph.cs
- ValueType.cs
- MaskedTextProvider.cs
- GroupStyle.cs
- AsyncMethodInvoker.cs
- PerformanceCounter.cs
- AttributeQuery.cs
- EntitySqlException.cs
- XmlText.cs
- UidPropertyAttribute.cs
- SQLInt64Storage.cs
- GridViewRowPresenter.cs
- DependencyObjectValidator.cs
- FormViewInsertEventArgs.cs
- XmlLinkedNode.cs
- DetailsViewRowCollection.cs
- StaticExtensionConverter.cs
- NameValuePair.cs
- ConfigurationManagerHelper.cs
- RadioButtonRenderer.cs
- ProviderUtil.cs
- PersonalizationProviderCollection.cs
- NativeMethods.cs
- NavigateEvent.cs
- StreamGeometry.cs
- DataControlLinkButton.cs