Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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. // //----------------------------------------------------------------------------- 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
- Utils.cs
- ReaderContextStackData.cs
- RSAProtectedConfigurationProvider.cs
- SystemTcpStatistics.cs
- FloaterParagraph.cs
- MultilineStringConverter.cs
- ManagedWndProcTracker.cs
- CorrelationKeyCalculator.cs
- LinkConverter.cs
- ProcessProtocolHandler.cs
- InheritanceAttribute.cs
- XsltException.cs
- Form.cs
- OpCellTreeNode.cs
- SqlGenericUtil.cs
- ScriptingWebServicesSectionGroup.cs
- MetafileEditor.cs
- CollectionsUtil.cs
- OleDbReferenceCollection.cs
- ContractAdapter.cs
- ExpressionBindingCollection.cs
- GridViewSelectEventArgs.cs
- EventPrivateKey.cs
- PerformanceCounterCategory.cs
- OdbcCommand.cs
- log.cs
- CollectionBuilder.cs
- CapabilitiesRule.cs
- ImageMapEventArgs.cs
- ColorConverter.cs
- DataSourceControl.cs
- NativeObjectSecurity.cs
- Pkcs7Signer.cs
- EventProvider.cs
- WaitHandle.cs
- KoreanCalendar.cs
- SR.Designer.cs
- BamlReader.cs
- DiscoveryClientRequestChannel.cs
- NameSpaceEvent.cs
- ToolStripItem.cs
- DataSourceProvider.cs
- RawTextInputReport.cs
- AppSettingsReader.cs
- SessionState.cs
- UriParserTemplates.cs
- parserscommon.cs
- DataServiceRequest.cs
- GroupPartitionExpr.cs
- XmlTextReader.cs
- HttpModuleActionCollection.cs
- ConsoleKeyInfo.cs
- BufferModeSettings.cs
- MSHTMLHost.cs
- CodeComment.cs
- WebRequest.cs
- ByteStream.cs
- WorkflowQueuingService.cs
- CalendarDateChangedEventArgs.cs
- CommandDevice.cs
- ToolStripOverflowButton.cs
- AnnotationResourceChangedEventArgs.cs
- ArgumentFixer.cs
- PasswordDeriveBytes.cs
- QilIterator.cs
- MD5CryptoServiceProvider.cs
- DetailsViewUpdatedEventArgs.cs
- XmlDsigSep2000.cs
- TypeUsageBuilder.cs
- OrderedDictionaryStateHelper.cs
- EditingMode.cs
- DbParameterCollectionHelper.cs
- PopupRoot.cs
- DataServiceRequestArgs.cs
- MemberJoinTreeNode.cs
- UserInitiatedRoutedEventPermission.cs
- FormatSettings.cs
- Timer.cs
- PlainXmlSerializer.cs
- TypeBuilderInstantiation.cs
- EmissiveMaterial.cs
- ObfuscationAttribute.cs
- Vector3DKeyFrameCollection.cs
- ObjRef.cs
- NestedContainer.cs
- SQLBinary.cs
- WindowsListViewItemStartMenu.cs
- DataView.cs
- XamlInt32CollectionSerializer.cs
- Serializer.cs
- InvalidComObjectException.cs
- QilDataSource.cs
- X509AudioLogo.cs
- WindowsToolbar.cs
- FixedPageProcessor.cs
- Int64Converter.cs
- GroupBox.cs
- DownloadProgressEventArgs.cs
- FragmentQuery.cs
- ValidatingReaderNodeData.cs