Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewCellFormattingEventArgs.cs / 1 / DataGridViewCellFormattingEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.Drawing; using System.ComponentModel; ///public class DataGridViewCellFormattingEventArgs : ConvertEventArgs { private int columnIndex, rowIndex; private DataGridViewCellStyle cellStyle; private bool formattingApplied; /// public DataGridViewCellFormattingEventArgs(int columnIndex, int rowIndex, object value, Type desiredType, DataGridViewCellStyle cellStyle) : base(value, desiredType) { if (columnIndex < -1) { throw new ArgumentOutOfRangeException("columnIndex"); } if (rowIndex < -1) { throw new ArgumentOutOfRangeException("rowIndex"); } this.columnIndex = columnIndex; this.rowIndex = rowIndex; this.cellStyle = cellStyle; } /// public DataGridViewCellStyle CellStyle { get { return this.cellStyle; } set { this.cellStyle = value; } } /// public int ColumnIndex { get { return this.columnIndex; } } /// public bool FormattingApplied { get { return this.formattingApplied; } set { this.formattingApplied = value; } } /// public int RowIndex { get { return this.rowIndex; } } } } // 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
- NameValuePermission.cs
- ParsedAttributeCollection.cs
- CleanUpVirtualizedItemEventArgs.cs
- WorkflowEventArgs.cs
- EncodingTable.cs
- ToolStripGrip.cs
- TextAutomationPeer.cs
- ThreadExceptionEvent.cs
- CustomAssemblyResolver.cs
- KeyGestureConverter.cs
- Odbc32.cs
- MenuTracker.cs
- EventItfInfo.cs
- ModelItemDictionary.cs
- XmlSchemaExternal.cs
- MonitoringDescriptionAttribute.cs
- AxisAngleRotation3D.cs
- FilteredAttributeCollection.cs
- DocumentEventArgs.cs
- FrameworkElementAutomationPeer.cs
- ClientOperationFormatterProvider.cs
- DataGridCommandEventArgs.cs
- PageCopyCount.cs
- LabelInfo.cs
- CodeSnippetStatement.cs
- TrustSection.cs
- WebException.cs
- ProfessionalColorTable.cs
- ContextQuery.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- Vector3DAnimationUsingKeyFrames.cs
- BrushConverter.cs
- Lease.cs
- RegionInfo.cs
- NullableDoubleMinMaxAggregationOperator.cs
- EntityDataReader.cs
- SoapIncludeAttribute.cs
- KernelTypeValidation.cs
- MessagePartDescription.cs
- EntityClassGenerator.cs
- TrustManager.cs
- MappingException.cs
- MembershipPasswordException.cs
- LogSwitch.cs
- SizeAnimationBase.cs
- XmlReader.cs
- HtmlButton.cs
- SecurityKeyType.cs
- WebDisplayNameAttribute.cs
- GetImportFileNameRequest.cs
- DrawingImage.cs
- PartialList.cs
- HtmlTableCell.cs
- ColorInterpolationModeValidation.cs
- OverflowException.cs
- compensatingcollection.cs
- ObjectDataSourceSelectingEventArgs.cs
- DesignerHost.cs
- HandledMouseEvent.cs
- MSG.cs
- WebPartsPersonalizationAuthorization.cs
- SafeEventLogWriteHandle.cs
- BuilderPropertyEntry.cs
- WebPartUserCapability.cs
- ISAPIRuntime.cs
- TableLayoutSettings.cs
- TypeSemantics.cs
- DrawListViewSubItemEventArgs.cs
- XPathAncestorIterator.cs
- Accessors.cs
- baseaxisquery.cs
- Axis.cs
- Base64Encoder.cs
- SHA256Managed.cs
- XPathDocument.cs
- ProcessThreadCollection.cs
- SafeRightsManagementEnvironmentHandle.cs
- ErrorFormatterPage.cs
- DocumentXPathNavigator.cs
- HttpValueCollection.cs
- TimeoutValidationAttribute.cs
- DataPagerField.cs
- XmlSerializerAssemblyAttribute.cs
- TreeViewImageIndexConverter.cs
- PrintDialogException.cs
- _NetRes.cs
- HostedElements.cs
- LocatorPart.cs
- UnicodeEncoding.cs
- DataBinder.cs
- SpeechSeg.cs
- SspiNegotiationTokenAuthenticatorState.cs
- MetafileHeaderWmf.cs
- ValueConversionAttribute.cs
- AnnotationHelper.cs
- XmlBindingWorker.cs
- RelationshipManager.cs
- DataSourceControlBuilder.cs
- SafeEventLogWriteHandle.cs
- NotFiniteNumberException.cs