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
- SqlProcedureAttribute.cs
- GraphicsState.cs
- ParsedAttributeCollection.cs
- SymDocumentType.cs
- EntityDataSourceDesignerHelper.cs
- LongTypeConverter.cs
- Hashtable.cs
- ScriptControl.cs
- HttpCapabilitiesSectionHandler.cs
- WindowsTab.cs
- ErrorRuntimeConfig.cs
- TableProviderWrapper.cs
- XsltLoader.cs
- MetabaseServerConfig.cs
- HostedElements.cs
- DesignTimeType.cs
- SerializerWriterEventHandlers.cs
- _NTAuthentication.cs
- XmlSchemaAppInfo.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- DynamicDiscoSearcher.cs
- SafeLibraryHandle.cs
- ConfigurationException.cs
- ResourceWriter.cs
- TransactionManager.cs
- ListBox.cs
- SettingsProviderCollection.cs
- ResourcesGenerator.cs
- PathTooLongException.cs
- EnumType.cs
- SchemaComplexType.cs
- StrokeCollection2.cs
- CookieProtection.cs
- PEFileReader.cs
- CollectionBuilder.cs
- IndentTextWriter.cs
- BuildDependencySet.cs
- TabControl.cs
- DesignUtil.cs
- DependencyObjectPropertyDescriptor.cs
- SessionSwitchEventArgs.cs
- ProfileGroupSettings.cs
- ExpressionWriter.cs
- DataGridCell.cs
- RegexCharClass.cs
- CompModSwitches.cs
- KernelTypeValidation.cs
- TransformerConfigurationWizardBase.cs
- HtmlInputPassword.cs
- TextBreakpoint.cs
- BitmapDecoder.cs
- returneventsaver.cs
- ItemAutomationPeer.cs
- Message.cs
- GenericWebPart.cs
- WindowsImpersonationContext.cs
- PaginationProgressEventArgs.cs
- RequestDescription.cs
- WebServiceHost.cs
- BindingManagerDataErrorEventArgs.cs
- SafeUserTokenHandle.cs
- WindowsRegion.cs
- RootProfilePropertySettingsCollection.cs
- TypeSystem.cs
- XsdDuration.cs
- CompiledIdentityConstraint.cs
- SkewTransform.cs
- PeerNearMe.cs
- MonthChangedEventArgs.cs
- ConfigurationManagerHelper.cs
- InfoCardKeyedHashAlgorithm.cs
- DataGridViewCellMouseEventArgs.cs
- ScriptControl.cs
- WorkflowApplicationCompletedException.cs
- PatternMatcher.cs
- XmlAttribute.cs
- SelectionGlyphBase.cs
- TitleStyle.cs
- MainMenu.cs
- RelationshipEndCollection.cs
- HtmlButton.cs
- SystemResources.cs
- TextSchema.cs
- MsmqMessageSerializationFormat.cs
- OSFeature.cs
- ApplicationSecurityInfo.cs
- DrawToolTipEventArgs.cs
- ManagedWndProcTracker.cs
- _HeaderInfoTable.cs
- X509Certificate.cs
- HwndStylusInputProvider.cs
- RSAPKCS1KeyExchangeFormatter.cs
- StrokeCollection.cs
- RuleSettings.cs
- ExtractorMetadata.cs
- smtppermission.cs
- BitmapEffectvisualstate.cs
- BitmapMetadata.cs
- CompressStream.cs
- ProcessProtocolHandler.cs