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
- AttributeQuery.cs
- BrowserCapabilitiesFactory.cs
- SafeNativeMethods.cs
- ExecutionScope.cs
- IdentityModelDictionary.cs
- RegisteredScript.cs
- StylusDownEventArgs.cs
- EmptyImpersonationContext.cs
- Suspend.cs
- InfoCardUIAgent.cs
- TableParaClient.cs
- EntityKeyElement.cs
- ChildrenQuery.cs
- ISAPIWorkerRequest.cs
- Win32SafeHandles.cs
- TemplateField.cs
- UserPersonalizationStateInfo.cs
- SearchExpression.cs
- ContainerUtilities.cs
- XmlNodeList.cs
- DataTableNewRowEvent.cs
- OperandQuery.cs
- Matrix.cs
- DataPointer.cs
- RSAOAEPKeyExchangeDeformatter.cs
- DBPropSet.cs
- _TLSstream.cs
- ThousandthOfEmRealPoints.cs
- HttpWebRequest.cs
- ObjectDataSourceSelectingEventArgs.cs
- ChangeToolStripParentVerb.cs
- SafeFileMappingHandle.cs
- DataGridViewButtonCell.cs
- ColumnResizeUndoUnit.cs
- GenericUriParser.cs
- XmlWrappingReader.cs
- TrustLevelCollection.cs
- storepermissionattribute.cs
- XmlSerializer.cs
- OdbcConnectionHandle.cs
- ClientEventManager.cs
- ImageMapEventArgs.cs
- OdbcReferenceCollection.cs
- Misc.cs
- SqlProviderServices.cs
- SafeHandles.cs
- TagPrefixCollection.cs
- StylusPlugin.cs
- PngBitmapDecoder.cs
- QuaternionConverter.cs
- ImportContext.cs
- SQLGuidStorage.cs
- PriorityBinding.cs
- HierarchicalDataTemplate.cs
- MatrixAnimationUsingPath.cs
- FrameworkContextData.cs
- DefaultEvaluationContext.cs
- JournalNavigationScope.cs
- UTF7Encoding.cs
- ButtonStandardAdapter.cs
- XamlTypeMapper.cs
- WhitespaceRuleReader.cs
- CreateUserWizardDesigner.cs
- FileDialogCustomPlaces.cs
- DebugHandleTracker.cs
- OdbcEnvironmentHandle.cs
- ViewManager.cs
- LinqToSqlWrapper.cs
- GridViewPageEventArgs.cs
- ClientBuildManagerCallback.cs
- HttpCapabilitiesBase.cs
- RuleInfoComparer.cs
- LogLogRecordHeader.cs
- MethodBuilderInstantiation.cs
- InputLanguageManager.cs
- ListViewInsertedEventArgs.cs
- TextLineBreak.cs
- GraphicsContext.cs
- TraceProvider.cs
- WebPartHeaderCloseVerb.cs
- ResourcePermissionBaseEntry.cs
- ToolStripContentPanel.cs
- WindowsAuthenticationEventArgs.cs
- Misc.cs
- Int32Storage.cs
- RectConverter.cs
- InstanceCompleteException.cs
- ItemAutomationPeer.cs
- RSAOAEPKeyExchangeFormatter.cs
- DragEventArgs.cs
- SerializationSectionGroup.cs
- ProtocolsConfigurationEntry.cs
- RelationshipDetailsRow.cs
- Clipboard.cs
- TypeHelpers.cs
- FamilyCollection.cs
- loginstatus.cs
- Operators.cs
- DesignSurfaceManager.cs
- coordinatorfactory.cs