Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewCellFormattingEventArgs.cs / 1305376 / 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. // //----------------------------------------------------------------------------- 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- COM2ExtendedTypeConverter.cs
- CommandConverter.cs
- EncryptedKey.cs
- DataExpression.cs
- Root.cs
- Vector.cs
- ChildTable.cs
- ImageSourceConverter.cs
- DataGridParentRows.cs
- WebPartCatalogAddVerb.cs
- UnsafeNativeMethods.cs
- ISFClipboardData.cs
- Helpers.cs
- TransformerTypeCollection.cs
- ArithmeticException.cs
- MarkupExtensionSerializer.cs
- ArgumentValidation.cs
- TextOptionsInternal.cs
- TcpAppDomainProtocolHandler.cs
- SolidColorBrush.cs
- DataRowExtensions.cs
- WebReference.cs
- TemplateBindingExpressionConverter.cs
- FormatStringEditor.cs
- lengthconverter.cs
- DesignerDataColumn.cs
- XPathBuilder.cs
- DefaultValueConverter.cs
- TransportChannelListener.cs
- MetaDataInfo.cs
- CodeDirectionExpression.cs
- SponsorHelper.cs
- _SafeNetHandles.cs
- SimpleBitVector32.cs
- XmlILStorageConverter.cs
- ImpersonationContext.cs
- PersonalizationAdministration.cs
- WebBaseEventKeyComparer.cs
- Tile.cs
- LinkLabelLinkClickedEvent.cs
- DataTable.cs
- ContentControl.cs
- BitmapSource.cs
- UrlMappingCollection.cs
- PrintPreviewGraphics.cs
- CustomValidator.cs
- TextRangeEditTables.cs
- X509Certificate2Collection.cs
- ToolboxBitmapAttribute.cs
- CodeAttributeDeclarationCollection.cs
- FixedSOMGroup.cs
- DisplayNameAttribute.cs
- RegistrationServices.cs
- DispatcherTimer.cs
- BamlTreeMap.cs
- CatalogZoneBase.cs
- WebPartEventArgs.cs
- ObjectDataSourceStatusEventArgs.cs
- DataViewSettingCollection.cs
- UTF7Encoding.cs
- UnmanagedMemoryStream.cs
- CompiledQueryCacheEntry.cs
- IsolationInterop.cs
- BrowserTree.cs
- UITypeEditor.cs
- HuffmanTree.cs
- path.cs
- Regex.cs
- SafeEventLogWriteHandle.cs
- Code.cs
- Matrix3DValueSerializer.cs
- LabelExpression.cs
- EnumConverter.cs
- TrustManagerMoreInformation.cs
- BaseComponentEditor.cs
- UserPersonalizationStateInfo.cs
- RequiredFieldValidator.cs
- XmlSchemaChoice.cs
- CatchDesigner.xaml.cs
- Pkcs7Signer.cs
- ThemeDirectoryCompiler.cs
- AttachedPropertyMethodSelector.cs
- ConnectionManagementSection.cs
- Graphics.cs
- WebMethodAttribute.cs
- TextRunProperties.cs
- BindToObject.cs
- SerializationStore.cs
- ApplicationTrust.cs
- WebPartDisplayMode.cs
- StateWorkerRequest.cs
- SystemIPInterfaceProperties.cs
- WebRequestModuleElement.cs
- TraceFilter.cs
- RequestCacheEntry.cs
- SmiRequestExecutor.cs
- TableDetailsCollection.cs
- Transform3D.cs
- InfoCardRSACryptoProvider.cs
- SoapSchemaExporter.cs