Code:
/ DotNET / DotNET / 8.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
- MarshalDirectiveException.cs
- EventArgs.cs
- X509WindowsSecurityToken.cs
- InputReferenceExpression.cs
- AssemblyLoader.cs
- DebugTrace.cs
- EventHandlers.cs
- DynamicHyperLink.cs
- GifBitmapEncoder.cs
- MethodSet.cs
- ReturnValue.cs
- CrossSiteScriptingValidation.cs
- CollectionEditorDialog.cs
- TraceHwndHost.cs
- SqlDataRecord.cs
- FigureParagraph.cs
- GroupBox.cs
- VideoDrawing.cs
- WorkflowViewService.cs
- TextViewBase.cs
- ExceptionWrapper.cs
- x509store.cs
- PLINQETWProvider.cs
- HandoffBehavior.cs
- MatrixAnimationBase.cs
- SignatureHelper.cs
- HierarchicalDataTemplate.cs
- SessionStateModule.cs
- ExtensionQuery.cs
- CodeGeneratorOptions.cs
- RowUpdatingEventArgs.cs
- XpsResourceDictionary.cs
- XmlILModule.cs
- InheritedPropertyChangedEventArgs.cs
- UnconditionalPolicy.cs
- HttpApplicationFactory.cs
- XPathMessageFilterElement.cs
- QueryBranchOp.cs
- RelationshipFixer.cs
- Solver.cs
- WebPartEditorOkVerb.cs
- _NegoStream.cs
- CompiledQuery.cs
- SystemTcpConnection.cs
- BitmapEffectGroup.cs
- SapiRecognizer.cs
- Matrix.cs
- ReliableSession.cs
- IdentifierCollection.cs
- SecurityToken.cs
- LowerCaseStringConverter.cs
- PropertyNames.cs
- XmlHierarchicalDataSourceView.cs
- XmlIgnoreAttribute.cs
- ObjRef.cs
- XmlException.cs
- StringValidator.cs
- PermissionAttributes.cs
- TreeWalkHelper.cs
- RectAnimationUsingKeyFrames.cs
- AttachedAnnotationChangedEventArgs.cs
- DataGridViewCellStyle.cs
- StorageRoot.cs
- ImageSource.cs
- userdatakeys.cs
- COM2TypeInfoProcessor.cs
- ControlPropertyNameConverter.cs
- DCSafeHandle.cs
- DataStreams.cs
- DLinqDataModelProvider.cs
- ComponentDispatcher.cs
- ContentWrapperAttribute.cs
- ClockController.cs
- SafeEventLogReadHandle.cs
- TypeConverterHelper.cs
- ImageCodecInfoPrivate.cs
- PnrpPeerResolverElement.cs
- BaseTemplateParser.cs
- Rules.cs
- SliderAutomationPeer.cs
- ModulesEntry.cs
- GeneralTransform2DTo3DTo2D.cs
- SiteMapNodeCollection.cs
- ColumnMapVisitor.cs
- TraceInternal.cs
- GridViewItemAutomationPeer.cs
- KnownIds.cs
- ObservableDictionary.cs
- BinaryObjectInfo.cs
- DbExpressionVisitor_TResultType.cs
- SafeLibraryHandle.cs
- FormParameter.cs
- TypeSemantics.cs
- VersionPair.cs
- CopyAttributesAction.cs
- MetaColumn.cs
- SplitterEvent.cs
- DataGridItemCollection.cs
- PropertyEmitterBase.cs
- GcSettings.cs