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
- WindowCollection.cs
- GeneralTransform2DTo3DTo2D.cs
- WsdlInspector.cs
- SessionStateSection.cs
- Line.cs
- SimpleHandlerBuildProvider.cs
- ClassicBorderDecorator.cs
- MarkupExtensionReturnTypeAttribute.cs
- DataGridCell.cs
- Message.cs
- ExternalFile.cs
- _Rfc2616CacheValidators.cs
- TableChangeProcessor.cs
- VoiceObjectToken.cs
- Transactions.cs
- GetWinFXPath.cs
- StorageEntityTypeMapping.cs
- PrimitiveCodeDomSerializer.cs
- ToolBarTray.cs
- WeakReferenceList.cs
- HttpListenerResponse.cs
- CreateUserWizard.cs
- ButtonFlatAdapter.cs
- ResourcePermissionBase.cs
- TimerElapsedEvenArgs.cs
- SplitContainer.cs
- IpcManager.cs
- EndpointPerformanceCounters.cs
- HandledMouseEvent.cs
- WebPartVerbCollection.cs
- TrackBar.cs
- XmlIncludeAttribute.cs
- DoWorkEventArgs.cs
- DesignerAutoFormatCollection.cs
- TreeViewHitTestInfo.cs
- DiscriminatorMap.cs
- OAVariantLib.cs
- EntityDataSource.cs
- WebPartConnection.cs
- CustomWebEventKey.cs
- _UriTypeConverter.cs
- Underline.cs
- ByteKeyFrameCollection.cs
- MeshGeometry3D.cs
- GuidTagList.cs
- SettingsPropertyCollection.cs
- PackageDigitalSignatureManager.cs
- SamlAssertionKeyIdentifierClause.cs
- SQLGuid.cs
- ComponentResourceKeyConverter.cs
- SessionState.cs
- SpellerInterop.cs
- PointIndependentAnimationStorage.cs
- InkCanvasInnerCanvas.cs
- PiiTraceSource.cs
- IsolatedStorageFile.cs
- FocusChangedEventArgs.cs
- ItemContainerGenerator.cs
- CommandLineParser.cs
- CategoryAttribute.cs
- BamlRecordReader.cs
- RadialGradientBrush.cs
- SoapInteropTypes.cs
- Base64Decoder.cs
- TextTabProperties.cs
- WindowsTokenRoleProvider.cs
- PeerResolverElement.cs
- EventWaitHandleSecurity.cs
- PrtCap_Public_Simple.cs
- StringUtil.cs
- SimpleNameService.cs
- ErrorTableItemStyle.cs
- GeneratedCodeAttribute.cs
- GZipDecoder.cs
- EllipseGeometry.cs
- ApplicationInfo.cs
- PreloadHost.cs
- StrongName.cs
- XmlSchemaParticle.cs
- SetterBaseCollection.cs
- QueryComponents.cs
- PermissionToken.cs
- CheckPair.cs
- ProfilePropertySettings.cs
- TailPinnedEventArgs.cs
- GridView.cs
- HotSpotCollection.cs
- TransformerInfo.cs
- BrowserDefinition.cs
- TextPointer.cs
- IItemProperties.cs
- DataSourceHelper.cs
- WebResourceAttribute.cs
- ExpressionNode.cs
- BaseValidator.cs
- ControlDesigner.cs
- PasswordPropertyTextAttribute.cs
- Resources.Designer.cs
- PasswordBoxAutomationPeer.cs
- StreamUpgradeBindingElement.cs