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
- AuthenticationConfig.cs
- LinqDataSourceContextEventArgs.cs
- DataBoundControlHelper.cs
- DoubleLinkListEnumerator.cs
- FormatConvertedBitmap.cs
- SqlFunctionAttribute.cs
- Certificate.cs
- DependencyObjectType.cs
- ToolStripDesignerAvailabilityAttribute.cs
- ComponentEditorPage.cs
- SpellerStatusTable.cs
- WeakReferenceKey.cs
- WebControlAdapter.cs
- VisualTreeUtils.cs
- FontStretches.cs
- ContainerParaClient.cs
- InputDevice.cs
- ReachDocumentReferenceCollectionSerializerAsync.cs
- EventLogRecord.cs
- Win32Exception.cs
- BitmapEffectInput.cs
- RequiredFieldValidator.cs
- DBCommand.cs
- UriTemplateClientFormatter.cs
- TcpClientChannel.cs
- BmpBitmapEncoder.cs
- VirtualStackFrame.cs
- SqlIdentifier.cs
- RepeaterItemEventArgs.cs
- FloaterBaseParagraph.cs
- SerializableAttribute.cs
- RepeatBehavior.cs
- GridViewRowPresenter.cs
- ClonableStack.cs
- CompleteWizardStep.cs
- ShapingWorkspace.cs
- DataControlHelper.cs
- XmlSchemaComplexContentRestriction.cs
- SqlUtil.cs
- GrammarBuilderBase.cs
- MetabaseSettings.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- RemoteDebugger.cs
- CustomErrorsSectionWrapper.cs
- DataGridViewRow.cs
- VectorCollectionValueSerializer.cs
- WebPartCloseVerb.cs
- DetailsViewPageEventArgs.cs
- ContentIterators.cs
- PLINQETWProvider.cs
- VideoDrawing.cs
- LinqDataSourceContextData.cs
- HttpCapabilitiesEvaluator.cs
- Validator.cs
- ImmComposition.cs
- LeafCellTreeNode.cs
- TraceXPathNavigator.cs
- TemplateInstanceAttribute.cs
- WindowsNonControl.cs
- RowVisual.cs
- TripleDES.cs
- WorkflowEventArgs.cs
- TextSelectionHighlightLayer.cs
- Compilation.cs
- IntegerFacetDescriptionElement.cs
- WS2007HttpBindingElement.cs
- DispatcherHooks.cs
- BinHexDecoder.cs
- LiteralSubsegment.cs
- PromptEventArgs.cs
- HostingEnvironmentWrapper.cs
- HyperLink.cs
- WebFormDesignerActionService.cs
- ProviderSettingsCollection.cs
- HMACSHA512.cs
- DynamicRendererThreadManager.cs
- AudioFormatConverter.cs
- IdentityReference.cs
- App.cs
- StreamWithDictionary.cs
- QilStrConcat.cs
- ObjectDataSourceDisposingEventArgs.cs
- ContextMenuStrip.cs
- VisualStates.cs
- StatusBar.cs
- PropertyValue.cs
- AssemblyNameProxy.cs
- StaticResourceExtension.cs
- Root.cs
- Debugger.cs
- DataGridViewRowCollection.cs
- SafeCryptoHandles.cs
- CodeCastExpression.cs
- LineServicesRun.cs
- XmlCharCheckingWriter.cs
- OleDbRowUpdatedEvent.cs
- XPathItem.cs
- ETagAttribute.cs
- DetailsViewUpdateEventArgs.cs
- GuidConverter.cs