Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- BamlStream.cs
- DataGridViewCellConverter.cs
- AttachmentService.cs
- Mouse.cs
- MatchingStyle.cs
- TableDesigner.cs
- SchemaInfo.cs
- StringResourceManager.cs
- DomainConstraint.cs
- TextCompositionManager.cs
- FormatConvertedBitmap.cs
- ClientData.cs
- SqlExpressionNullability.cs
- CommandLineParser.cs
- UrlMappingsModule.cs
- VerticalAlignConverter.cs
- AnnotationService.cs
- FlowDocumentPage.cs
- SourceFilter.cs
- PropertyDescriptorGridEntry.cs
- RegexTree.cs
- KeyValuePair.cs
- UniqueConstraint.cs
- SelectionItemPattern.cs
- TypeDescriptionProvider.cs
- RoleManagerSection.cs
- SystemException.cs
- ContentPresenter.cs
- DataGridToolTip.cs
- BamlRecordReader.cs
- BitVector32.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- AsymmetricSignatureDeformatter.cs
- MetadataItem_Static.cs
- ProgressiveCrcCalculatingStream.cs
- MimeTypeMapper.cs
- OrthographicCamera.cs
- cryptoapiTransform.cs
- OracleSqlParser.cs
- Exception.cs
- SessionEndingCancelEventArgs.cs
- RegionInfo.cs
- FileCodeGroup.cs
- PasswordTextNavigator.cs
- ProcessModule.cs
- LinqDataSourceHelper.cs
- UriSection.cs
- altserialization.cs
- ColumnHeaderConverter.cs
- ResourceAssociationTypeEnd.cs
- SqlTrackingWorkflowInstance.cs
- MatrixTransform.cs
- TdsParameterSetter.cs
- TextRange.cs
- SimpleRecyclingCache.cs
- PropertyGridView.cs
- OracleColumn.cs
- ExpressionContext.cs
- _UncName.cs
- Typeface.cs
- Int32Animation.cs
- HostedElements.cs
- SafeFileMappingHandle.cs
- FontDialog.cs
- NameValuePair.cs
- Margins.cs
- DocumentsTrace.cs
- Script.cs
- TextEvent.cs
- RegexCode.cs
- ServicePointManagerElement.cs
- UndoManager.cs
- DBConnection.cs
- IdentityReference.cs
- Parameter.cs
- ApplicationHost.cs
- StorageModelBuildProvider.cs
- UserNameSecurityTokenProvider.cs
- FormViewAutoFormat.cs
- SemanticBasicElement.cs
- XamlTypeMapper.cs
- EmbeddedMailObjectsCollection.cs
- StringValidator.cs
- IgnoreDeviceFilterElement.cs
- XmlConvert.cs
- IERequestCache.cs
- ExtentKey.cs
- BitmapEffectInput.cs
- MethodImplAttribute.cs
- PackWebRequest.cs
- ListBoxItemWrapperAutomationPeer.cs
- BatchStream.cs
- Mouse.cs
- MessagingDescriptionAttribute.cs
- Path.cs
- HtmlInputSubmit.cs
- WindowsClaimSet.cs
- ObservableCollection.cs
- ShortcutKeysEditor.cs
- Invariant.cs