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
- FamilyMapCollection.cs
- HitTestWithPointDrawingContextWalker.cs
- TableLayoutColumnStyleCollection.cs
- UserControlDesigner.cs
- MetadataUtilsSmi.cs
- DocumentsTrace.cs
- CodeGenHelper.cs
- DatagridviewDisplayedBandsData.cs
- DrawingAttributesDefaultValueFactory.cs
- X509Certificate2.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- EntityDataSourceDesigner.cs
- XmlILAnnotation.cs
- WebPart.cs
- NullEntityWrapper.cs
- xdrvalidator.cs
- SelectionItemProviderWrapper.cs
- TdsParserStaticMethods.cs
- RelationshipDetailsCollection.cs
- BrowserCapabilitiesFactory.cs
- EntityCollectionChangedParams.cs
- KeyInterop.cs
- CodeVariableReferenceExpression.cs
- ErrorHandler.cs
- TypeReference.cs
- CodeTypeReferenceExpression.cs
- LabelLiteral.cs
- TableLayoutPanelCellPosition.cs
- TreeNodeBindingCollection.cs
- Vector.cs
- WorkflowInlining.cs
- EmptyCollection.cs
- UndoEngine.cs
- StorageAssociationTypeMapping.cs
- DataSet.cs
- BrowserCapabilitiesFactoryBase.cs
- TransformerInfoCollection.cs
- TableItemStyle.cs
- TextBoxLine.cs
- CacheSection.cs
- SplitterPanelDesigner.cs
- SerialStream.cs
- SqlTrackingQuery.cs
- ComNativeDescriptor.cs
- EntitySqlQueryState.cs
- BaseDataList.cs
- TagPrefixAttribute.cs
- IgnoreSection.cs
- OleDbCommandBuilder.cs
- ISCIIEncoding.cs
- JapaneseLunisolarCalendar.cs
- PropertyRecord.cs
- WebPartTracker.cs
- GrammarBuilderWildcard.cs
- ConfigurationPermission.cs
- VisualStyleInformation.cs
- SourceFilter.cs
- DrawToolTipEventArgs.cs
- TableItemPatternIdentifiers.cs
- AppDomainShutdownMonitor.cs
- SecurityHeaderTokenResolver.cs
- CustomError.cs
- ProgressBarRenderer.cs
- QueryCursorEventArgs.cs
- SurrogateEncoder.cs
- WmlControlAdapter.cs
- SiteIdentityPermission.cs
- FormsAuthenticationUserCollection.cs
- ModelTreeManager.cs
- ResourcePart.cs
- PtsContext.cs
- GroupBox.cs
- SimpleMailWebEventProvider.cs
- TaiwanLunisolarCalendar.cs
- WrapPanel.cs
- ExecutionEngineException.cs
- Base64WriteStateInfo.cs
- NavigationEventArgs.cs
- ChangeBlockUndoRecord.cs
- DependentList.cs
- Marshal.cs
- EventProvider.cs
- ProfileService.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- OdbcDataReader.cs
- Convert.cs
- HttpStreamMessageEncoderFactory.cs
- PolyQuadraticBezierSegment.cs
- MexBindingElement.cs
- entityreference_tresulttype.cs
- RenderContext.cs
- CustomAttribute.cs
- ObjectHandle.cs
- MulticastOption.cs
- FeatureSupport.cs
- XmlNavigatorFilter.cs
- DesignSurfaceManager.cs
- ControlAdapter.cs
- Point3DKeyFrameCollection.cs
- X509AsymmetricSecurityKey.cs