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
- infer.cs
- TypeForwardedToAttribute.cs
- LinkLabel.cs
- RectKeyFrameCollection.cs
- DriveNotFoundException.cs
- WebPartEditorOkVerb.cs
- TransformCryptoHandle.cs
- IChannel.cs
- ColumnWidthChangedEvent.cs
- EasingQuaternionKeyFrame.cs
- Object.cs
- x509utils.cs
- cache.cs
- SimpleTypesSurrogate.cs
- ChtmlPhoneCallAdapter.cs
- CompModSwitches.cs
- ObjectDataSourceMethodEditor.cs
- SoapAttributeAttribute.cs
- selecteditemcollection.cs
- XPathDocumentNavigator.cs
- FlowDocumentScrollViewer.cs
- DrawingImage.cs
- WebContext.cs
- AttributeQuery.cs
- ContextMenu.cs
- RequestResizeEvent.cs
- ReadingWritingEntityEventArgs.cs
- Pair.cs
- SendMailErrorEventArgs.cs
- SizeF.cs
- _ConnectStream.cs
- InstallHelper.cs
- EmptyCollection.cs
- RelationshipConstraintValidator.cs
- DefinitionBase.cs
- InvalidOperationException.cs
- AutomationAttributeInfo.cs
- ConnectionPointCookie.cs
- Clause.cs
- OutputCacheProfile.cs
- PeerToPeerException.cs
- InvokeProviderWrapper.cs
- XmlWriterTraceListener.cs
- Atom10FormatterFactory.cs
- MouseGesture.cs
- sitestring.cs
- ObjectDataSourceWizardForm.cs
- RecordConverter.cs
- EventInfo.cs
- DbConnectionStringBuilder.cs
- HScrollBar.cs
- WindowInteropHelper.cs
- NoClickablePointException.cs
- OdbcRowUpdatingEvent.cs
- WindowsRegion.cs
- MetafileHeader.cs
- EventDescriptorCollection.cs
- MenuEventArgs.cs
- RegistryDataKey.cs
- FrugalMap.cs
- ValueType.cs
- DrawingVisualDrawingContext.cs
- XmlDomTextWriter.cs
- SID.cs
- Or.cs
- IISMapPath.cs
- DiscreteKeyFrames.cs
- ServicesUtilities.cs
- KeyValuePair.cs
- WebException.cs
- ZipIOLocalFileDataDescriptor.cs
- TargetConverter.cs
- XmlSchemaFacet.cs
- FieldAccessException.cs
- OleDbReferenceCollection.cs
- ActionMessageFilter.cs
- ExpandSegmentCollection.cs
- ProjectedWrapper.cs
- DescendantBaseQuery.cs
- IBuiltInEvidence.cs
- MarkupCompilePass2.cs
- RPIdentityRequirement.cs
- SqlUserDefinedTypeAttribute.cs
- TextDocumentView.cs
- StringStorage.cs
- BooleanKeyFrameCollection.cs
- SystemPens.cs
- InvalidCastException.cs
- XmlEntity.cs
- ToolStripDropDownClosingEventArgs.cs
- KeyedCollection.cs
- MethodAccessException.cs
- HtmlObjectListAdapter.cs
- CodeChecksumPragma.cs
- PerformanceCounterPermission.cs
- CachedPathData.cs
- AutomationEventArgs.cs
- BamlLocalizer.cs
- TypeExtension.cs
- SmtpClient.cs