Code:
/ DotNET / DotNET / 8.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
- handlecollector.cs
- AnonymousIdentificationSection.cs
- CopyOnWriteList.cs
- Clipboard.cs
- NavigationWindowAutomationPeer.cs
- IndependentlyAnimatedPropertyMetadata.cs
- RouteItem.cs
- DesignerActionHeaderItem.cs
- SchemaInfo.cs
- ButtonStandardAdapter.cs
- localization.cs
- LayoutEvent.cs
- CriticalExceptions.cs
- MappingModelBuildProvider.cs
- RemoteWebConfigurationHostStream.cs
- ValidationService.cs
- PtsPage.cs
- IncrementalHitTester.cs
- BitHelper.cs
- RelationshipEndCollection.cs
- WindowsIdentity.cs
- RedistVersionInfo.cs
- MatrixCamera.cs
- MemoryRecordBuffer.cs
- Guid.cs
- CodeParameterDeclarationExpression.cs
- InkCanvas.cs
- MemberPath.cs
- FixedSOMPage.cs
- Polygon.cs
- ScrollData.cs
- DocumentReferenceCollection.cs
- DbDataSourceEnumerator.cs
- ApplicationId.cs
- UDPClient.cs
- VectorConverter.cs
- ExtendedPropertyCollection.cs
- MobileControlBuilder.cs
- CharUnicodeInfo.cs
- SqlDelegatedTransaction.cs
- DataGridViewCellValidatingEventArgs.cs
- StorageEntitySetMapping.cs
- ZipIOCentralDirectoryBlock.cs
- WebServiceResponse.cs
- UseLicense.cs
- TriggerCollection.cs
- ThemeDictionaryExtension.cs
- XmlCollation.cs
- SafeCryptoHandles.cs
- ScalarOps.cs
- MsmqIntegrationInputMessage.cs
- TabItemAutomationPeer.cs
- Events.cs
- EncoderReplacementFallback.cs
- ActivityMarkupSerializer.cs
- ReversePositionQuery.cs
- BamlLocalizationDictionary.cs
- ImageMetadata.cs
- UiaCoreProviderApi.cs
- _LazyAsyncResult.cs
- XamlPoint3DCollectionSerializer.cs
- dbenumerator.cs
- DBParameter.cs
- QueryOptionExpression.cs
- ChannelSinkStacks.cs
- EntityDataSourceContextCreatingEventArgs.cs
- MemberHolder.cs
- PointAnimationUsingPath.cs
- Context.cs
- KnownTypesProvider.cs
- WriterOutput.cs
- XmlSchemaGroupRef.cs
- HttpServerUtilityBase.cs
- TemplateBamlRecordReader.cs
- PointHitTestParameters.cs
- NotificationContext.cs
- Token.cs
- XsdCachingReader.cs
- TextOutput.cs
- RectConverter.cs
- PriorityQueue.cs
- EditableRegion.cs
- MulticastIPAddressInformationCollection.cs
- EntitySetBaseCollection.cs
- StagingAreaInputItem.cs
- RepeatInfo.cs
- ReferencedType.cs
- Accessors.cs
- DefaultEvaluationContext.cs
- BuilderInfo.cs
- ButtonBase.cs
- SafeNativeMethods.cs
- TransformProviderWrapper.cs
- PhysicalAddress.cs
- CommandArguments.cs
- selecteditemcollection.cs
- DrawingContext.cs
- TypeElementCollection.cs
- RequestCacheValidator.cs
- MetadataArtifactLoader.cs