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
- RSAPKCS1SignatureFormatter.cs
- BamlBinaryReader.cs
- DetailsView.cs
- InputReportEventArgs.cs
- _FixedSizeReader.cs
- TemplateNameScope.cs
- securestring.cs
- ListViewHitTestInfo.cs
- Queue.cs
- DataKeyCollection.cs
- VariableModifiersHelper.cs
- StreamSecurityUpgradeAcceptorAsyncResult.cs
- ThreadPool.cs
- linebase.cs
- ObjectIDGenerator.cs
- Point3D.cs
- InstanceDataCollectionCollection.cs
- FtpRequestCacheValidator.cs
- ToolStripSettings.cs
- DataBoundControl.cs
- ImageFormatConverter.cs
- WindowsToolbarAsMenu.cs
- XmlChildEnumerator.cs
- HtmlControl.cs
- CompressedStack.cs
- BufferModesCollection.cs
- URI.cs
- AttachedPropertyInfo.cs
- AsymmetricKeyExchangeFormatter.cs
- TableLayoutPanel.cs
- ExternalFile.cs
- BackStopAuthenticationModule.cs
- MethodImplAttribute.cs
- EventLogPermissionEntryCollection.cs
- ConfigXmlCDataSection.cs
- PropertyItem.cs
- ValidationEventArgs.cs
- IIS7WorkerRequest.cs
- LocalizationComments.cs
- MessageQueueKey.cs
- SchemaConstraints.cs
- EpmTargetTree.cs
- UrlPath.cs
- ClockGroup.cs
- AttributeTableBuilder.cs
- ComponentDispatcherThread.cs
- HtmlEmptyTagControlBuilder.cs
- StateChangeEvent.cs
- DoubleLinkList.cs
- Native.cs
- EnterpriseServicesHelper.cs
- VersionPair.cs
- ComponentDispatcherThread.cs
- SqlMetaData.cs
- RadioButtonAutomationPeer.cs
- DurableMessageDispatchInspector.cs
- File.cs
- KerberosSecurityTokenAuthenticator.cs
- ClassHandlersStore.cs
- CngKeyCreationParameters.cs
- ReferenceConverter.cs
- TextBoxBase.cs
- CryptoApi.cs
- Page.cs
- XComponentModel.cs
- UnsafeNativeMethodsTablet.cs
- PersonalizationProviderCollection.cs
- TypeGeneratedEventArgs.cs
- WebPermission.cs
- SizeKeyFrameCollection.cs
- WebResourceAttribute.cs
- NavigationProperty.cs
- querybuilder.cs
- InputBindingCollection.cs
- MethodBuilderInstantiation.cs
- Material.cs
- CommandHelper.cs
- EdmTypeAttribute.cs
- TypeSchema.cs
- WmlLinkAdapter.cs
- ContentPlaceHolder.cs
- ObjectDataSourceFilteringEventArgs.cs
- _IPv6Address.cs
- LiteralControl.cs
- XappLauncher.cs
- Monitor.cs
- TypedElement.cs
- OpacityConverter.cs
- DesignerDataConnection.cs
- PopOutPanel.cs
- XamlGridLengthSerializer.cs
- ModelFactory.cs
- ItemsPresenter.cs
- SeverityFilter.cs
- WebPartConnectionsCloseVerb.cs
- XmlDataImplementation.cs
- IsolatedStoragePermission.cs
- ImageMap.cs
- PreservationFileWriter.cs
- Rules.cs