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
- VisualStyleInformation.cs
- IntSecurity.cs
- HostSecurityManager.cs
- ProvidePropertyAttribute.cs
- BindingWorker.cs
- UsernameTokenFactoryCredential.cs
- HttpCookie.cs
- DataGridViewCellStyleConverter.cs
- DoubleLinkList.cs
- KnownColorTable.cs
- ToolStripContextMenu.cs
- ForeignKeyConstraint.cs
- SystemIPv6InterfaceProperties.cs
- SrgsSubset.cs
- FileResponseElement.cs
- TypefaceCollection.cs
- OperandQuery.cs
- MarshalDirectiveException.cs
- BitmapEffectOutputConnector.cs
- CodeLabeledStatement.cs
- Deserializer.cs
- ValidationSummaryDesigner.cs
- Label.cs
- ComponentEditorPage.cs
- AvtEvent.cs
- HttpHostedTransportConfiguration.cs
- Camera.cs
- ACE.cs
- UserUseLicenseDictionaryLoader.cs
- parserscommon.cs
- XmlSchemaException.cs
- PromptBuilder.cs
- BitStack.cs
- CommandLibraryHelper.cs
- RecognizeCompletedEventArgs.cs
- querybuilder.cs
- ComAdminInterfaces.cs
- Odbc32.cs
- DataViewManager.cs
- AssociationSetMetadata.cs
- PointValueSerializer.cs
- ImageUrlEditor.cs
- GenericUI.cs
- DataGridHyperlinkColumn.cs
- CleanUpVirtualizedItemEventArgs.cs
- CustomValidator.cs
- relpropertyhelper.cs
- XPSSignatureDefinition.cs
- InlineUIContainer.cs
- InlinedAggregationOperator.cs
- Function.cs
- ByeOperationCD1AsyncResult.cs
- Int32Storage.cs
- GroupQuery.cs
- DbDataReader.cs
- XmlBinaryReader.cs
- Utility.cs
- LongSumAggregationOperator.cs
- PartBasedPackageProperties.cs
- XsltLoader.cs
- PropertyChangedEventManager.cs
- Registry.cs
- TTSVoice.cs
- PointValueSerializer.cs
- AssociationSetEnd.cs
- TCPListener.cs
- Light.cs
- FormsAuthenticationCredentials.cs
- StringDictionaryWithComparer.cs
- IndexedGlyphRun.cs
- XmlNamespaceDeclarationsAttribute.cs
- State.cs
- QilVisitor.cs
- FileSecurity.cs
- WebResponse.cs
- NavigationPropertySingletonExpression.cs
- AnnotationObservableCollection.cs
- TransformedBitmap.cs
- ArrayTypeMismatchException.cs
- ConnectionPoint.cs
- DbMetaDataFactory.cs
- HttpProfileBase.cs
- SecurityState.cs
- DefaultMergeHelper.cs
- ItemsPanelTemplate.cs
- OutOfMemoryException.cs
- X509AsymmetricSecurityKey.cs
- ConfigXmlSignificantWhitespace.cs
- DoubleIndependentAnimationStorage.cs
- MultipleCopiesCollection.cs
- WinInet.cs
- CodeThrowExceptionStatement.cs
- WebBrowserContainer.cs
- PageHandlerFactory.cs
- NullRuntimeConfig.cs
- DefaultTextStore.cs
- ContextMenuStripGroupCollection.cs
- mil_commands.cs
- ObjectMemberMapping.cs
- LinkClickEvent.cs