Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / TableLayoutCellPaintEventArgs.cs / 1 / TableLayoutCellPaintEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.Collections; using System.ComponentModel; using System.Drawing; using System.Drawing.Design; using System.Globalization; using System.Windows.Forms.Layout; ////// /// This is the overrided PaintEventArgs for painting the cell of the table /// It contains additional information indicating the row/column of the cell /// as well as the bound of the cell /// public class TableLayoutCellPaintEventArgs : PaintEventArgs { private Rectangle bounds; private int row; private int column; ///public TableLayoutCellPaintEventArgs(Graphics g, Rectangle clipRectangle, Rectangle cellBounds, int column, int row) : base(g, clipRectangle) { this.bounds = cellBounds; this.row = row; this.column = column; } //the bounds of the cell /// public Rectangle CellBounds { get { return bounds; } } //the row index of the cell /// public int Row { get { return row; } } //the column index of the cell /// public int Column { get { return column; } } } } // 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
- DataGridCellAutomationPeer.cs
- WebException.cs
- XPathChildIterator.cs
- ScriptResourceHandler.cs
- MimePart.cs
- AnimationClockResource.cs
- UnsafeNativeMethods.cs
- TransformPattern.cs
- TemplateBindingExpressionConverter.cs
- IndicShape.cs
- IPHostEntry.cs
- WebServiceMethodData.cs
- GradientSpreadMethodValidation.cs
- AnnouncementSendsAsyncResult.cs
- MetadataUtil.cs
- HostingEnvironmentSection.cs
- HybridDictionary.cs
- JsonCollectionDataContract.cs
- MruCache.cs
- PropertyInformationCollection.cs
- XmlDeclaration.cs
- CheckedListBox.cs
- DataGridViewCellStyle.cs
- DbSetClause.cs
- TagMapCollection.cs
- AmbientLight.cs
- ChildrenQuery.cs
- ActivityExecutionContext.cs
- OutputCacheModule.cs
- RootNamespaceAttribute.cs
- SqlDataSourceAdvancedOptionsForm.cs
- ListViewTableRow.cs
- XmlSchemaObject.cs
- TdsParameterSetter.cs
- CustomSignedXml.cs
- InputProcessorProfiles.cs
- EnumMember.cs
- HttpConfigurationSystem.cs
- LineInfo.cs
- FixUp.cs
- DocumentReference.cs
- DataSourceDesigner.cs
- TdsParserSessionPool.cs
- WebEventCodes.cs
- StorageMappingItemCollection.cs
- ResourceExpressionBuilder.cs
- ProcessStartInfo.cs
- DataGridTableCollection.cs
- ConnectionOrientedTransportManager.cs
- CodeChecksumPragma.cs
- ToolStripControlHost.cs
- WebEventCodes.cs
- CheckBoxDesigner.cs
- XmlParser.cs
- RequestCacheEntry.cs
- CodePageEncoding.cs
- RegionData.cs
- HMACSHA512.cs
- assertwrapper.cs
- PropertyCondition.cs
- FixedSOMImage.cs
- WebPartCollection.cs
- ScriptResourceAttribute.cs
- ChildDocumentBlock.cs
- TokenizerHelper.cs
- MimeMapping.cs
- Set.cs
- Condition.cs
- ObjectDataSourceEventArgs.cs
- JumpItem.cs
- DynamicDataManager.cs
- Merger.cs
- XmlFileEditor.cs
- FrameworkReadOnlyPropertyMetadata.cs
- ListenerTraceUtility.cs
- ExitEventArgs.cs
- TdsParserStateObject.cs
- XPathNavigatorKeyComparer.cs
- ObjectHandle.cs
- CalendarDayButton.cs
- EraserBehavior.cs
- SubclassTypeValidator.cs
- TextFormattingConverter.cs
- MessageQueuePermissionAttribute.cs
- MulticastNotSupportedException.cs
- TableRow.cs
- TrackBarRenderer.cs
- ArrayTypeMismatchException.cs
- StatusCommandUI.cs
- ObjectSet.cs
- UserMapPath.cs
- TripleDESCryptoServiceProvider.cs
- ChangeInterceptorAttribute.cs
- InsufficientExecutionStackException.cs
- IntranetCredentialPolicy.cs
- Util.cs
- Latin1Encoding.cs
- PackageRelationshipSelector.cs
- JournalNavigationScope.cs
- JournalEntryStack.cs