Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / TableLayoutCellPaintEventArgs.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RSAPKCS1KeyExchangeFormatter.cs
- DataServiceBehavior.cs
- ADMembershipUser.cs
- EntitySqlQueryCacheEntry.cs
- SqlMethodCallConverter.cs
- DataObjectFieldAttribute.cs
- PauseStoryboard.cs
- RegexMatchCollection.cs
- CellPartitioner.cs
- PathGeometry.cs
- GridView.cs
- ToolStripArrowRenderEventArgs.cs
- RemotingServices.cs
- ProtocolReflector.cs
- Metadata.cs
- TransformValueSerializer.cs
- XsltLoader.cs
- SecureUICommand.cs
- FixedDocument.cs
- EntityViewGenerationAttribute.cs
- Delegate.cs
- ZipArchive.cs
- AccessDataSource.cs
- TiffBitmapEncoder.cs
- FunctionImportMapping.cs
- SiteMapDataSourceView.cs
- CodePrimitiveExpression.cs
- XhtmlBasicTextBoxAdapter.cs
- HuffModule.cs
- CommandEventArgs.cs
- BasicDesignerLoader.cs
- UInt32Converter.cs
- RetrieveVirtualItemEventArgs.cs
- FlowDocumentPaginator.cs
- EntitySqlQueryBuilder.cs
- XmlComplianceUtil.cs
- CalculatedColumn.cs
- FlowDocumentPaginator.cs
- WebServiceData.cs
- ReadOnlyCollection.cs
- UriSection.cs
- WmlTextBoxAdapter.cs
- GenericUriParser.cs
- PageContentCollection.cs
- ToolboxService.cs
- ImageClickEventArgs.cs
- RelatedView.cs
- Rfc2898DeriveBytes.cs
- CommandField.cs
- PrefixQName.cs
- SafeFileMappingHandle.cs
- MachineKeySection.cs
- ComboBox.cs
- SqlXml.cs
- XmlArrayItemAttribute.cs
- SocketInformation.cs
- GroupLabel.cs
- RenderDataDrawingContext.cs
- ZoneLinkButton.cs
- dsa.cs
- SyndicationCategory.cs
- DataMisalignedException.cs
- SoapIgnoreAttribute.cs
- X500Name.cs
- NumericUpDown.cs
- ScaleTransform.cs
- QualifiedCellIdBoolean.cs
- TerminateWorkflow.cs
- XmlILTrace.cs
- Converter.cs
- DynamicRenderer.cs
- CollectionAdapters.cs
- ObjectViewFactory.cs
- Atom10FormatterFactory.cs
- Schema.cs
- UITypeEditor.cs
- SafeFindHandle.cs
- XPathSingletonIterator.cs
- PageCanvasSize.cs
- COM2ComponentEditor.cs
- ExpressionBinding.cs
- TableRowCollection.cs
- PointLightBase.cs
- DefaultValueConverter.cs
- SmtpMail.cs
- InternalUserCancelledException.cs
- HttpAsyncResult.cs
- BitmapEffectInputConnector.cs
- CqlLexer.cs
- PropertyNames.cs
- DocumentOrderQuery.cs
- ObjectQueryState.cs
- EnumDataContract.cs
- NullRuntimeConfig.cs
- ListViewDeleteEventArgs.cs
- ItemContainerPattern.cs
- Context.cs
- RenderData.cs
- FixedSchema.cs
- XpsViewerException.cs