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
- UserNamePasswordValidator.cs
- TableDetailsRow.cs
- ComponentResourceKeyConverter.cs
- SubstitutionList.cs
- CodeMemberEvent.cs
- X509SubjectKeyIdentifierClause.cs
- SqlConnectionHelper.cs
- DbProviderServices.cs
- COM2ExtendedUITypeEditor.cs
- Debug.cs
- TextServicesCompartmentEventSink.cs
- DictionarySectionHandler.cs
- PasswordTextContainer.cs
- QuotedStringWriteStateInfo.cs
- InputLanguageProfileNotifySink.cs
- ResourceBinder.cs
- Cloud.cs
- CompiledQueryCacheEntry.cs
- SqlClientWrapperSmiStreamChars.cs
- ImpersonationContext.cs
- ConfigXmlAttribute.cs
- CodeFieldReferenceExpression.cs
- Thread.cs
- InternalConfigSettingsFactory.cs
- SqlRowUpdatingEvent.cs
- UnicastIPAddressInformationCollection.cs
- NodeFunctions.cs
- HttpCacheVaryByContentEncodings.cs
- PreservationFileReader.cs
- SolidBrush.cs
- NegationPusher.cs
- LinearGradientBrush.cs
- jithelpers.cs
- EntityDataSourceConfigureObjectContext.cs
- StringToken.cs
- UriWriter.cs
- DetailsView.cs
- MetadataUtil.cs
- TemplateContent.cs
- FormViewInsertedEventArgs.cs
- InitiatorSessionSymmetricTransportSecurityProtocol.cs
- FileVersion.cs
- CodeStatementCollection.cs
- RenameRuleObjectDialog.cs
- RecognizedWordUnit.cs
- InstanceStore.cs
- CodeMethodReturnStatement.cs
- cookiecollection.cs
- SymmetricKeyWrap.cs
- ActivityDesignerLayoutSerializers.cs
- EntityException.cs
- StorageSetMapping.cs
- ToolStripItem.cs
- DeflateStream.cs
- XPathBuilder.cs
- XmlSubtreeReader.cs
- HMACMD5.cs
- XhtmlBasicTextBoxAdapter.cs
- ServiceDurableInstanceContextProvider.cs
- XhtmlBasicListAdapter.cs
- Path.cs
- StrokeDescriptor.cs
- TypeSystem.cs
- XmlSchemaObjectCollection.cs
- SessionPageStateSection.cs
- DbConnectionPool.cs
- Calendar.cs
- OleDbCommandBuilder.cs
- TransformerConfigurationWizardBase.cs
- SqlCachedBuffer.cs
- ProtocolsConfigurationEntry.cs
- XslException.cs
- SqlCachedBuffer.cs
- Socket.cs
- COM2ExtendedUITypeEditor.cs
- EntityClientCacheKey.cs
- SymbolEqualComparer.cs
- WebProxyScriptElement.cs
- KnowledgeBase.cs
- RuleSettings.cs
- WeakReferenceKey.cs
- TranslateTransform3D.cs
- BorderGapMaskConverter.cs
- Math.cs
- SqlDataSourceView.cs
- hresults.cs
- NullableLongAverageAggregationOperator.cs
- CFStream.cs
- nulltextcontainer.cs
- SymbolTable.cs
- EncryptedType.cs
- TextSearch.cs
- ListViewHitTestInfo.cs
- EntityKey.cs
- HScrollBar.cs
- ConsoleCancelEventArgs.cs
- ListBoxDesigner.cs
- DataGridViewRowEventArgs.cs
- HttpProfileGroupBase.cs
- AnnotationService.cs