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
- SpecialNameAttribute.cs
- WmpBitmapEncoder.cs
- MailDefinition.cs
- FactoryGenerator.cs
- SqlDataSourceCustomCommandEditor.cs
- SafeArrayRankMismatchException.cs
- SettingsBindableAttribute.cs
- SessionIDManager.cs
- MulticastOption.cs
- TcpServerChannel.cs
- PeerApplicationLaunchInfo.cs
- UnknownBitmapEncoder.cs
- SvcMapFileLoader.cs
- FixedFindEngine.cs
- ThreadStartException.cs
- HandleExceptionArgs.cs
- TrackingExtract.cs
- WebChannelFactory.cs
- LookupNode.cs
- Route.cs
- OledbConnectionStringbuilder.cs
- Parsers.cs
- DataBindingHandlerAttribute.cs
- DatagridviewDisplayedBandsData.cs
- MatrixStack.cs
- SimpleTextLine.cs
- CodeEntryPointMethod.cs
- FigureParagraph.cs
- TextOptions.cs
- TextModifierScope.cs
- ServiceContractGenerator.cs
- AudioStateChangedEventArgs.cs
- Baml2006SchemaContext.cs
- ReaderWriterLockSlim.cs
- IteratorFilter.cs
- MexHttpBindingElement.cs
- DataGridViewColumnCollection.cs
- basemetadatamappingvisitor.cs
- ActivityMarkupSerializer.cs
- Token.cs
- DoubleAnimationClockResource.cs
- ClipboardData.cs
- DecoderFallback.cs
- RijndaelManagedTransform.cs
- DataSetMappper.cs
- AdRotator.cs
- KeyValuePair.cs
- DataViewSettingCollection.cs
- CurrentTimeZone.cs
- ConfigXmlSignificantWhitespace.cs
- ContentOperations.cs
- Membership.cs
- NativeMethods.cs
- DataExpression.cs
- HostedHttpContext.cs
- DataError.cs
- FrameAutomationPeer.cs
- Configuration.cs
- CodeNamespaceCollection.cs
- sitestring.cs
- ManipulationLogic.cs
- DataPager.cs
- DatatypeImplementation.cs
- CLSCompliantAttribute.cs
- MetabaseReader.cs
- RestHandlerFactory.cs
- ArglessEventHandlerProxy.cs
- SchemaDeclBase.cs
- Context.cs
- FormViewUpdatedEventArgs.cs
- Object.cs
- ColorTransform.cs
- GeneratedCodeAttribute.cs
- SimpleBitVector32.cs
- ApplicationContext.cs
- Events.cs
- QilScopedVisitor.cs
- TcpConnectionPool.cs
- StorageMappingFragment.cs
- ProfileService.cs
- DbException.cs
- ZoomComboBox.cs
- SharedPersonalizationStateInfo.cs
- Activity.cs
- SiteMap.cs
- MissingSatelliteAssemblyException.cs
- ServiceInfo.cs
- ConfigurationStrings.cs
- InstanceHandleConflictException.cs
- storagemappingitemcollection.viewdictionary.cs
- MemoryPressure.cs
- CommandPlan.cs
- DataGridViewCellPaintingEventArgs.cs
- TextShapeableCharacters.cs
- Single.cs
- OutputCacheSettings.cs
- PropVariant.cs
- SqlRetyper.cs
- WindowsFormsSectionHandler.cs
- CodeParameterDeclarationExpressionCollection.cs