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
- ProfileSettings.cs
- EntityDataSourceChangedEventArgs.cs
- ProcessStartInfo.cs
- InvalidProgramException.cs
- Rectangle.cs
- UrlAuthFailedErrorFormatter.cs
- ListViewUpdateEventArgs.cs
- AsyncCompletedEventArgs.cs
- NamedPipeTransportElement.cs
- M3DUtil.cs
- FixedTextBuilder.cs
- DescriptionAttribute.cs
- UncommonField.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- CodeMemberMethod.cs
- EndCreateSecurityTokenRequest.cs
- CursorInteropHelper.cs
- SoapFault.cs
- RemotingConfigParser.cs
- XComponentModel.cs
- dataprotectionpermission.cs
- SQLDecimal.cs
- FragmentQueryProcessor.cs
- CacheForPrimitiveTypes.cs
- FormClosedEvent.cs
- ResumeStoryboard.cs
- ZipIOExtraFieldElement.cs
- BindableTemplateBuilder.cs
- ElementNotAvailableException.cs
- WebBrowserUriTypeConverter.cs
- MenuItem.cs
- LogLogRecord.cs
- Control.cs
- LoadedOrUnloadedOperation.cs
- FrameAutomationPeer.cs
- HtmlElementEventArgs.cs
- ParameterModifier.cs
- ScrollChangedEventArgs.cs
- SystemIcmpV6Statistics.cs
- ChainedAsyncResult.cs
- EntityDataReader.cs
- DbConnectionFactory.cs
- Currency.cs
- DoubleAnimationClockResource.cs
- DynamicRendererThreadManager.cs
- SrgsSubset.cs
- SamlAssertion.cs
- ExtenderControl.cs
- AttributeCollection.cs
- InlineCollection.cs
- TileBrush.cs
- XmlDomTextWriter.cs
- X509RecipientCertificateClientElement.cs
- oledbmetadatacolumnnames.cs
- AutomationElementIdentifiers.cs
- TextAutomationPeer.cs
- TextRunCacheImp.cs
- GenericsInstances.cs
- DataViewManager.cs
- HashMembershipCondition.cs
- HasCopySemanticsAttribute.cs
- BrowserCapabilitiesCodeGenerator.cs
- ACE.cs
- SqlDataSourceDesigner.cs
- WorkflowQueueInfo.cs
- IndexedEnumerable.cs
- NativeActivityTransactionContext.cs
- Ref.cs
- BlurBitmapEffect.cs
- SplitterPanel.cs
- followingquery.cs
- TextPenaltyModule.cs
- UpdatePanelControlTrigger.cs
- FontNamesConverter.cs
- ChannelReliableSession.cs
- DataGridViewRowConverter.cs
- HtmlWindow.cs
- TreeViewImageIndexConverter.cs
- FormViewUpdateEventArgs.cs
- ProcessInputEventArgs.cs
- ClientScriptManager.cs
- NativeMethods.cs
- LogicalTreeHelper.cs
- PathSegmentCollection.cs
- EncoderBestFitFallback.cs
- UnsafeNetInfoNativeMethods.cs
- UrlMappingCollection.cs
- TreeIterator.cs
- XmlIlGenerator.cs
- HTMLTextWriter.cs
- PathData.cs
- XmlBaseReader.cs
- XmlHelper.cs
- XmlBindingWorker.cs
- EventPropertyMap.cs
- BuiltInPermissionSets.cs
- NetNamedPipeSecurityMode.cs
- EnumerableRowCollection.cs
- DtdParser.cs
- TagPrefixCollection.cs