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
- IPAddressCollection.cs
- TextTreeUndo.cs
- WebPartCloseVerb.cs
- PersistenceMetadataNamespace.cs
- WindowsEditBox.cs
- InstanceOwnerQueryResult.cs
- CqlGenerator.cs
- JapaneseLunisolarCalendar.cs
- ExtendedTransformFactory.cs
- KnownBoxes.cs
- SweepDirectionValidation.cs
- Size3DValueSerializer.cs
- TransformedBitmap.cs
- OpenTypeMethods.cs
- ZipIOBlockManager.cs
- DataMemberConverter.cs
- ToolboxComponentsCreatingEventArgs.cs
- InternalPolicyElement.cs
- GridErrorDlg.cs
- HandlerMappingMemo.cs
- ControlBindingsCollection.cs
- SQLBinaryStorage.cs
- ErrorFormatter.cs
- ConnectionStringSettingsCollection.cs
- PassportAuthenticationEventArgs.cs
- TextServicesContext.cs
- Vector.cs
- ArrayList.cs
- IPEndPointCollection.cs
- DesignTimeSiteMapProvider.cs
- AssemblyBuilder.cs
- ProtocolsSection.cs
- OracleMonthSpan.cs
- CutCopyPasteHelper.cs
- NotifyInputEventArgs.cs
- XslCompiledTransform.cs
- KeyFrames.cs
- ControlBindingsCollection.cs
- xmlfixedPageInfo.cs
- DescendantBaseQuery.cs
- NativeMethods.cs
- FindSimilarActivitiesVerb.cs
- RewritingValidator.cs
- QueryRewriter.cs
- TextDpi.cs
- XmlHierarchyData.cs
- Setter.cs
- MissingFieldException.cs
- HotCommands.cs
- LineSegment.cs
- DataGridViewIntLinkedList.cs
- MasterPageBuildProvider.cs
- DocumentViewerBaseAutomationPeer.cs
- CannotUnloadAppDomainException.cs
- PackageRelationship.cs
- Stroke2.cs
- CustomAttribute.cs
- SafeFreeMibTable.cs
- DateTimeStorage.cs
- ByteStreamMessageEncodingElement.cs
- WebResourceUtil.cs
- ApplicationSettingsBase.cs
- ColorAnimationBase.cs
- WorkflowViewService.cs
- ServiceRouteHandler.cs
- Mapping.cs
- WaitHandleCannotBeOpenedException.cs
- counter.cs
- ProcessModelInfo.cs
- CompositionCommandSet.cs
- SafeEventLogReadHandle.cs
- MetadataPropertyCollection.cs
- SelectionItemPattern.cs
- securitycriticaldataformultiplegetandset.cs
- Rules.cs
- EntityStoreSchemaGenerator.cs
- ScriptReferenceBase.cs
- InkCanvasInnerCanvas.cs
- StorageEntityContainerMapping.cs
- TemplateBuilder.cs
- SiteMapProvider.cs
- ShadowGlyph.cs
- LambdaCompiler.Lambda.cs
- altserialization.cs
- base64Transforms.cs
- ProfileProvider.cs
- ValidationError.cs
- ThemeableAttribute.cs
- Bitmap.cs
- CheckBoxAutomationPeer.cs
- Clipboard.cs
- InvalidProgramException.cs
- DataGridViewTopLeftHeaderCell.cs
- shaperfactory.cs
- AnnotationComponentManager.cs
- ResourceReferenceExpression.cs
- Enlistment.cs
- TypedTableGenerator.cs
- EntityModelBuildProvider.cs
- EndOfStreamException.cs