Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewCellFormattingEventArgs.cs / 1305376 / 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. // //----------------------------------------------------------------------------- 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TargetException.cs
- StringFunctions.cs
- GPRECTF.cs
- TextProperties.cs
- TabControlEvent.cs
- ReverseQueryOperator.cs
- SchemaTableOptionalColumn.cs
- DataTableClearEvent.cs
- HitTestDrawingContextWalker.cs
- SizeAnimationUsingKeyFrames.cs
- DataTemplateKey.cs
- ImageSourceValueSerializer.cs
- UnicastIPAddressInformationCollection.cs
- PathNode.cs
- DependencyPropertyKind.cs
- BitConverter.cs
- CultureInfoConverter.cs
- ParallelRangeManager.cs
- Win32Exception.cs
- InputMethod.cs
- DataControlFieldCell.cs
- UntypedNullExpression.cs
- SendMailErrorEventArgs.cs
- AsmxEndpointPickerExtension.cs
- UnsafeNativeMethodsMilCoreApi.cs
- Vector3DAnimationBase.cs
- ProtectedConfiguration.cs
- FindCriteriaCD1.cs
- ObjectPersistData.cs
- TabletDeviceInfo.cs
- XmlSignatureManifest.cs
- EmptyControlCollection.cs
- InstanceOwnerQueryResult.cs
- ClientApiGenerator.cs
- CharConverter.cs
- ConfigurationLocationCollection.cs
- HttpClientCertificate.cs
- EntityDataSourceWrapperCollection.cs
- LinkButton.cs
- ExtendedPropertyCollection.cs
- PrintEvent.cs
- DataGridViewAccessibleObject.cs
- Group.cs
- Int16Converter.cs
- ContainerParagraph.cs
- Point3DValueSerializer.cs
- DataKeyArray.cs
- oledbmetadatacollectionnames.cs
- ExtensionQuery.cs
- StretchValidation.cs
- BamlBinaryWriter.cs
- PageFunction.cs
- TypeGeneratedEventArgs.cs
- LinkDescriptor.cs
- MiniCustomAttributeInfo.cs
- ManagementObjectSearcher.cs
- DesignerCategoryAttribute.cs
- MSAANativeProvider.cs
- CodeTypeReferenceExpression.cs
- Repeater.cs
- Asn1Utilities.cs
- ReaderContextStackData.cs
- DesignerForm.cs
- UTF32Encoding.cs
- WebPartsPersonalizationAuthorization.cs
- RoleManagerEventArgs.cs
- TemplateColumn.cs
- StylusPoint.cs
- userdatakeys.cs
- SHA512Managed.cs
- Utils.cs
- HttpChannelListener.cs
- TrailingSpaceComparer.cs
- PlatformNotSupportedException.cs
- AnonymousIdentificationModule.cs
- XmlHierarchicalEnumerable.cs
- InternalTypeHelper.cs
- RawStylusInput.cs
- FrugalMap.cs
- Wildcard.cs
- TextTrailingWordEllipsis.cs
- FrameworkContentElement.cs
- TraceSource.cs
- OptimizedTemplateContent.cs
- basemetadatamappingvisitor.cs
- ConfigsHelper.cs
- CommandBindingCollection.cs
- CodeAssignStatement.cs
- PinnedBufferMemoryStream.cs
- DataGridViewColumnCollection.cs
- TextSelectionHighlightLayer.cs
- Axis.cs
- ObjectSecurity.cs
- HtmlTitle.cs
- CompoundFileDeflateTransform.cs
- ComponentConverter.cs
- SQLSingleStorage.cs
- EmbeddedObject.cs
- _Connection.cs
- XPathNodeIterator.cs