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
- WebPartHeaderCloseVerb.cs
- PinnedBufferMemoryStream.cs
- CodeExpressionStatement.cs
- XmlDataCollection.cs
- MultipartIdentifier.cs
- OutputCacheProfile.cs
- CompModSwitches.cs
- Scalars.cs
- TemplateGroupCollection.cs
- TextFormatter.cs
- ProxyGenerationError.cs
- WindowsIPAddress.cs
- ReadWriteObjectLock.cs
- CursorConverter.cs
- IndexedEnumerable.cs
- NotSupportedException.cs
- IndentedWriter.cs
- Error.cs
- BinaryObjectInfo.cs
- EmptyElement.cs
- SqlClientFactory.cs
- Stream.cs
- Vector3DAnimationBase.cs
- WindowsRichEdit.cs
- DbSource.cs
- ActivityExecutionFilter.cs
- ConstructorArgumentAttribute.cs
- SerialReceived.cs
- TextEndOfSegment.cs
- BinaryQueryOperator.cs
- EventSetter.cs
- FacetChecker.cs
- ListControlConvertEventArgs.cs
- SchemaInfo.cs
- ListBase.cs
- EnvelopedPkcs7.cs
- ToolStripControlHost.cs
- SparseMemoryStream.cs
- TextEditorLists.cs
- _ProxyRegBlob.cs
- Material.cs
- MsmqBindingElementBase.cs
- DragEventArgs.cs
- LayoutSettings.cs
- ScrollProviderWrapper.cs
- PerformanceCounterCategory.cs
- ListCollectionView.cs
- ProfilePropertyNameValidator.cs
- DiagnosticTrace.cs
- BinaryKeyIdentifierClause.cs
- ModelServiceImpl.cs
- HMACMD5.cs
- CodeDirectoryCompiler.cs
- SoapObjectInfo.cs
- HttpListenerElement.cs
- NullEntityWrapper.cs
- UserControlParser.cs
- RelatedImageListAttribute.cs
- TraceInternal.cs
- HelpProvider.cs
- ReferenceSchema.cs
- UpdateRecord.cs
- EntityDataSourceDataSelection.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- XamlTypeMapper.cs
- IPipelineRuntime.cs
- OracleParameterBinding.cs
- DataFormats.cs
- ConsumerConnectionPoint.cs
- TreeViewBindingsEditorForm.cs
- IriParsingElement.cs
- AssociatedControlConverter.cs
- shaperfactory.cs
- SamlAuthorityBinding.cs
- Storyboard.cs
- StringFormat.cs
- ResolveCompletedEventArgs.cs
- CollectionViewSource.cs
- _NestedSingleAsyncResult.cs
- HttpCookieCollection.cs
- ExpressionBuilderContext.cs
- ClientApiGenerator.cs
- FlowDocument.cs
- ConfigurationCollectionAttribute.cs
- HttpRequestTraceRecord.cs
- FillBehavior.cs
- SqlCacheDependencyDatabaseCollection.cs
- InputBindingCollection.cs
- DataListItem.cs
- RoutedCommand.cs
- UIPropertyMetadata.cs
- DataIdProcessor.cs
- WorkflowInspectionServices.cs
- PreservationFileReader.cs
- AudioFormatConverter.cs
- Wrapper.cs
- NavigationProgressEventArgs.cs
- ErrorRuntimeConfig.cs
- StorageAssociationTypeMapping.cs
- MonikerProxyAttribute.cs