Code:
/ DotNET / DotNET / 8.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
- FrameworkContentElement.cs
- EventProperty.cs
- GeometryGroup.cs
- XmlWrappingWriter.cs
- StorageEntitySetMapping.cs
- UnSafeCharBuffer.cs
- CollectionViewGroupInternal.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- StringFormat.cs
- MsmqProcessProtocolHandler.cs
- WebCategoryAttribute.cs
- OciEnlistContext.cs
- IndicFontClient.cs
- TypeSystemProvider.cs
- StringDictionaryWithComparer.cs
- WindowsAuthenticationEventArgs.cs
- EdmValidator.cs
- AsymmetricKeyExchangeDeformatter.cs
- QuotedPairReader.cs
- WorkBatch.cs
- DataIdProcessor.cs
- VirtualizedCellInfoCollection.cs
- EntityCommandExecutionException.cs
- CDSCollectionETWBCLProvider.cs
- AnonymousIdentificationModule.cs
- AssociationTypeEmitter.cs
- XmlSchemaElement.cs
- DataViewManagerListItemTypeDescriptor.cs
- FormViewPageEventArgs.cs
- TypeDescriptionProvider.cs
- Stroke.cs
- TypeConverterHelper.cs
- ViewStateModeByIdAttribute.cs
- SiteIdentityPermission.cs
- FileResponseElement.cs
- FloatUtil.cs
- PerfService.cs
- Button.cs
- mediaeventshelper.cs
- ProxyHelper.cs
- SafeArrayRankMismatchException.cs
- WeakHashtable.cs
- NotifyCollectionChangedEventArgs.cs
- SubMenuStyle.cs
- OracleException.cs
- CapiSafeHandles.cs
- HebrewNumber.cs
- DataGridLinkButton.cs
- sqlmetadatafactory.cs
- HotSpot.cs
- ItemCollection.cs
- EventLogHandle.cs
- RoamingStoreFileUtility.cs
- XPathConvert.cs
- SimpleType.cs
- Rect3DConverter.cs
- AssertFilter.cs
- TextViewSelectionProcessor.cs
- RemoteDebugger.cs
- ValueTypeFixupInfo.cs
- UndirectedGraph.cs
- Metadata.cs
- DateBoldEvent.cs
- GridViewSortEventArgs.cs
- UndirectedGraph.cs
- RoutedEventArgs.cs
- UnionQueryOperator.cs
- FixedTextPointer.cs
- PathTooLongException.cs
- ProfileService.cs
- FontStyles.cs
- ScrollBar.cs
- XmlText.cs
- PixelFormatConverter.cs
- ItemsPresenter.cs
- TargetParameterCountException.cs
- UnsafeNativeMethods.cs
- OpenTypeLayout.cs
- Validator.cs
- EncryptedData.cs
- DbProviderFactories.cs
- OutputCacheSettings.cs
- CookieProtection.cs
- SingleObjectCollection.cs
- TransportListener.cs
- TranslateTransform.cs
- FixedSchema.cs
- SmtpFailedRecipientsException.cs
- CaseInsensitiveComparer.cs
- BufferModeSettings.cs
- DataGridViewDataConnection.cs
- SelectionItemPattern.cs
- RsaKeyIdentifierClause.cs
- SocketAddress.cs
- ConnectionManagementElementCollection.cs
- SqlBuilder.cs
- MediaSystem.cs
- HexParser.cs
- PropertyPushdownHelper.cs
- Parser.cs