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
- SamlAuthorizationDecisionStatement.cs
- TextParagraph.cs
- XPathDocumentNavigator.cs
- EnumCodeDomSerializer.cs
- ThrowHelper.cs
- DrawListViewItemEventArgs.cs
- HostUtils.cs
- safemediahandle.cs
- Latin1Encoding.cs
- ColumnWidthChangedEvent.cs
- PeerEndPoint.cs
- SelectionPatternIdentifiers.cs
- WorkflowHostingEndpoint.cs
- WindowsFont.cs
- MemoryRecordBuffer.cs
- PackUriHelper.cs
- GridToolTip.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- StylusSystemGestureEventArgs.cs
- PageAction.cs
- AttachInfo.cs
- VisualTreeUtils.cs
- RightNameExpirationInfoPair.cs
- PageParserFilter.cs
- InternalSafeNativeMethods.cs
- TableLayout.cs
- ConfigurationSettings.cs
- ValidatedControlConverter.cs
- CurrentChangingEventManager.cs
- storepermission.cs
- Column.cs
- AVElementHelper.cs
- OleDbParameterCollection.cs
- DrawingContextDrawingContextWalker.cs
- PhysicalFontFamily.cs
- OdbcEnvironment.cs
- Wizard.cs
- EmptyEnumerator.cs
- Transform.cs
- DashStyle.cs
- FramingChannels.cs
- ContainerActivationHelper.cs
- PlainXmlSerializer.cs
- Content.cs
- DirtyTextRange.cs
- RoleBoolean.cs
- AuthorizationSection.cs
- Int16AnimationUsingKeyFrames.cs
- ScriptDescriptor.cs
- ListManagerBindingsCollection.cs
- UnauthorizedWebPart.cs
- ImplicitInputBrush.cs
- CqlIdentifiers.cs
- ConnectionPointCookie.cs
- BaseUriWithWildcard.cs
- LinkButton.cs
- InputChannelBinder.cs
- SystemParameters.cs
- VScrollProperties.cs
- _NestedMultipleAsyncResult.cs
- ManipulationDeltaEventArgs.cs
- ItemList.cs
- ReferencedCollectionType.cs
- LinkDescriptor.cs
- SelectionItemPattern.cs
- EntityCollection.cs
- EnterpriseServicesHelper.cs
- lengthconverter.cs
- FileInfo.cs
- TemplateBindingExtension.cs
- RowCache.cs
- FilterUserControlBase.cs
- DataGridRow.cs
- Condition.cs
- DropDownButton.cs
- DataGridViewHitTestInfo.cs
- TableDetailsCollection.cs
- StreamWithDictionary.cs
- ImageBrush.cs
- HyperLinkStyle.cs
- NetworkCredential.cs
- RangeValueProviderWrapper.cs
- CharAnimationUsingKeyFrames.cs
- ToolboxBitmapAttribute.cs
- GridViewColumnCollectionChangedEventArgs.cs
- SqlPersonalizationProvider.cs
- X509CertificateStore.cs
- InputMethodStateTypeInfo.cs
- DependencyObject.cs
- RemotingConfiguration.cs
- KeyValuePair.cs
- GeometryValueSerializer.cs
- ArgumentsParser.cs
- TreeNodeBindingCollection.cs
- PasswordBoxAutomationPeer.cs
- Error.cs
- Duration.cs
- ViewDesigner.cs
- NullableDoubleSumAggregationOperator.cs
- ModuleConfigurationInfo.cs