Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. // //----------------------------------------------------------------------------- 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
- InputBinding.cs
- DataStreams.cs
- TrackBarRenderer.cs
- ReferenceConverter.cs
- HtmlTextArea.cs
- StatusBarAutomationPeer.cs
- ParentQuery.cs
- SymmetricCryptoHandle.cs
- CodeSubDirectory.cs
- CallbackBehaviorAttribute.cs
- ConstructorExpr.cs
- QilUnary.cs
- IpcClientManager.cs
- RuleEngine.cs
- CodeVariableDeclarationStatement.cs
- SamlAuthorizationDecisionStatement.cs
- BevelBitmapEffect.cs
- LocalizationParserHooks.cs
- VariableQuery.cs
- AxHost.cs
- SpeechEvent.cs
- MiniConstructorInfo.cs
- Annotation.cs
- ComboBoxItem.cs
- DateTimeFormatInfoScanner.cs
- PartManifestEntry.cs
- ControlBindingsCollection.cs
- PreservationFileReader.cs
- DesignerCategoryAttribute.cs
- ChangePassword.cs
- CodeChecksumPragma.cs
- DataRelation.cs
- QilPatternVisitor.cs
- NoPersistScope.cs
- Animatable.cs
- BitmapPalettes.cs
- HttpPostedFileBase.cs
- ScrollBar.cs
- SQLMoneyStorage.cs
- ViewManagerAttribute.cs
- CanonicalizationDriver.cs
- GregorianCalendar.cs
- Timeline.cs
- SafeReadContext.cs
- MarkerProperties.cs
- HostedTransportConfigurationManager.cs
- XmlSchemaType.cs
- SafeFileMappingHandle.cs
- XmlCustomFormatter.cs
- ellipse.cs
- TextFindEngine.cs
- FontInfo.cs
- MenuItemBindingCollection.cs
- DynamicField.cs
- LoginDesigner.cs
- QueryOperationResponseOfT.cs
- DataGridToolTip.cs
- ExternalFile.cs
- KeyValueSerializer.cs
- BindingGroup.cs
- WebPartVerbCollection.cs
- CodeMethodMap.cs
- PieceDirectory.cs
- XmlCharacterData.cs
- ResXBuildProvider.cs
- BulletChrome.cs
- OneOfElement.cs
- TypeNameConverter.cs
- ObjectDisposedException.cs
- DeferredElementTreeState.cs
- ValueProviderWrapper.cs
- XmlAtomicValue.cs
- Bidi.cs
- DataView.cs
- X509Chain.cs
- WaitHandleCannotBeOpenedException.cs
- SQLString.cs
- TransactionalPackage.cs
- UriTemplateEquivalenceComparer.cs
- MetabaseSettings.cs
- GestureRecognizer.cs
- VisualStyleTypesAndProperties.cs
- SafeArrayRankMismatchException.cs
- DistinctQueryOperator.cs
- IssuanceLicense.cs
- SystemException.cs
- TableHeaderCell.cs
- InplaceBitmapMetadataWriter.cs
- StringValueConverter.cs
- GroupStyle.cs
- DataAccessor.cs
- XmlSchemaSimpleContentRestriction.cs
- regiisutil.cs
- TypeConverterValueSerializer.cs
- TrackingMemoryStreamFactory.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- ProofTokenCryptoHandle.cs
- SystemResourceHost.cs
- DataGridViewRowEventArgs.cs
- PngBitmapEncoder.cs