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
- RC2.cs
- Freezable.cs
- BaseValidator.cs
- DbExpressionRules.cs
- TextWriter.cs
- GroupQuery.cs
- Opcode.cs
- EdmValidator.cs
- CodeCatchClause.cs
- ConsumerConnectionPointCollection.cs
- XmlSchemaComplexContentRestriction.cs
- HttpBufferlessInputStream.cs
- SqlCacheDependencySection.cs
- FolderBrowserDialog.cs
- BitVector32.cs
- AdRotator.cs
- CreateParams.cs
- XmlTextReader.cs
- QueryResponse.cs
- ParseElement.cs
- PageTrueTypeFont.cs
- DisplayToken.cs
- EtwTrace.cs
- CompilerParameters.cs
- BufferedGraphicsContext.cs
- BStrWrapper.cs
- RelationalExpressions.cs
- ChannelDispatcher.cs
- DesignerDataParameter.cs
- GestureRecognitionResult.cs
- RequestNavigateEventArgs.cs
- Effect.cs
- Int32Rect.cs
- GeneralTransform3DCollection.cs
- MultilineStringConverter.cs
- CounterCreationData.cs
- NetNamedPipeBindingElement.cs
- MimeTypeMapper.cs
- WindowPatternIdentifiers.cs
- TimerElapsedEvenArgs.cs
- DSASignatureFormatter.cs
- DataTableNewRowEvent.cs
- Command.cs
- XmlDocument.cs
- HtmlInputSubmit.cs
- SynchronizedDispatch.cs
- TypeLoadException.cs
- DataSetUtil.cs
- MultipleCopiesCollection.cs
- ConnectorDragDropGlyph.cs
- SwitchAttribute.cs
- DataColumnMapping.cs
- StatusBarPanelClickEvent.cs
- Math.cs
- DetailsViewRowCollection.cs
- BinaryReader.cs
- TableCellCollection.cs
- FrameworkContentElement.cs
- PropertyItem.cs
- DataGridItemCollection.cs
- PointHitTestParameters.cs
- StateMachine.cs
- KeyEventArgs.cs
- CodeDesigner.cs
- ActivityBindForm.cs
- CopyNamespacesAction.cs
- HTMLTagNameToTypeMapper.cs
- AuthenticateEventArgs.cs
- XmlTextReaderImpl.cs
- XmlQualifiedNameTest.cs
- HelpEvent.cs
- TextTreeNode.cs
- EncodingFallbackAwareXmlTextWriter.cs
- TableParaClient.cs
- CuspData.cs
- DataGridCaption.cs
- DataGridClipboardHelper.cs
- ImageSource.cs
- TextBox.cs
- IImplicitResourceProvider.cs
- ContactManager.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- HtmlGenericControl.cs
- RotateTransform3D.cs
- ConfigurationLocation.cs
- Enum.cs
- ReferenceAssemblyAttribute.cs
- DataKey.cs
- NextPreviousPagerField.cs
- SharedHttpsTransportManager.cs
- FlowNode.cs
- FontClient.cs
- DependencyObjectValidator.cs
- ReflectPropertyDescriptor.cs
- WrappedReader.cs
- _TransmitFileOverlappedAsyncResult.cs
- DataGridViewSelectedRowCollection.cs
- SmtpLoginAuthenticationModule.cs
- ConnectionProviderAttribute.cs
- StretchValidation.cs