Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / ColumnWidthChangingEvent.cs / 1 / ColumnWidthChangingEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.ComponentModel; ///public class ColumnWidthChangingEventArgs : CancelEventArgs { int columnIndex; int newWidth; /// /// /// Creates a new ColumnWidthChanging event /// public ColumnWidthChangingEventArgs(int columnIndex, int newWidth, bool cancel) : base (cancel) { this.columnIndex = columnIndex; this.newWidth = newWidth; } ////// /// Creates a new ColumnWidthChanging event /// public ColumnWidthChangingEventArgs(int columnIndex, int newWidth) : base() { this.columnIndex = columnIndex; this.newWidth = newWidth; } ////// /// Returns the index of the column header whose width is changing /// public int ColumnIndex { get { return this.columnIndex; } } ////// /// Returns the new width for the column header who is changing /// public int NewWidth { get { return this.newWidth; } set { this.newWidth = value; } } } } // 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
- RankException.cs
- WebPartCatalogCloseVerb.cs
- XmlRootAttribute.cs
- BasicBrowserDialog.designer.cs
- PrePostDescendentsWalker.cs
- WebExceptionStatus.cs
- OdbcParameter.cs
- SqlExpressionNullability.cs
- Faults.cs
- DataGridViewTextBoxColumn.cs
- CodeGen.cs
- BitSet.cs
- XhtmlBasicPageAdapter.cs
- ContextStack.cs
- XmlQueryContext.cs
- BezierSegment.cs
- Crc32.cs
- Listener.cs
- WebBrowserDesigner.cs
- PathSegmentCollection.cs
- InheritanceAttribute.cs
- UInt16Storage.cs
- PermissionRequestEvidence.cs
- PersistenceTask.cs
- ProcessHostServerConfig.cs
- TimerElapsedEvenArgs.cs
- AccessText.cs
- DocumentCollection.cs
- SQLResource.cs
- XPathEmptyIterator.cs
- XhtmlBasicImageAdapter.cs
- ConfigurationManagerInternal.cs
- SynchronizedPool.cs
- Error.cs
- Model3DGroup.cs
- SafePointer.cs
- OleServicesContext.cs
- TextParagraphView.cs
- PassportAuthentication.cs
- SafeProcessHandle.cs
- MergeLocalizationDirectives.cs
- RadioButton.cs
- RelationHandler.cs
- DataGridViewSelectedColumnCollection.cs
- RightsManagementLicense.cs
- GregorianCalendarHelper.cs
- DynamicRendererThreadManager.cs
- TextServicesPropertyRanges.cs
- ResolveNextArgumentWorkItem.cs
- TaskDesigner.cs
- WebPartCatalogCloseVerb.cs
- DataSetUtil.cs
- DataGridRow.cs
- AuthorizationRuleCollection.cs
- VersionedStream.cs
- CodeLinePragma.cs
- ToolTipService.cs
- CurrentChangedEventManager.cs
- Pair.cs
- ArgumentOutOfRangeException.cs
- StyleXamlParser.cs
- SecondaryIndexList.cs
- ReaderWriterLockWrapper.cs
- TransformCryptoHandle.cs
- HeaderUtility.cs
- SafeLocalMemHandle.cs
- SafeHandle.cs
- TaskCanceledException.cs
- VirtualPath.cs
- _SslStream.cs
- DoubleKeyFrameCollection.cs
- ObjectDataSourceDisposingEventArgs.cs
- ServicePointManager.cs
- SecurityTokenSerializer.cs
- XmlImplementation.cs
- ProcessHostServerConfig.cs
- Point3D.cs
- TextBoxAutoCompleteSourceConverter.cs
- SQLBytesStorage.cs
- SqlCommand.cs
- DataGridViewCellStyleChangedEventArgs.cs
- XMLSyntaxException.cs
- RichTextBoxAutomationPeer.cs
- UIElement3D.cs
- DiscardableAttribute.cs
- SelfIssuedTokenFactoryCredential.cs
- NeutralResourcesLanguageAttribute.cs
- ProcessThreadCollection.cs
- PolicyLevel.cs
- Image.cs
- Int32Animation.cs
- WebPartEditVerb.cs
- DataServiceHost.cs
- ListBase.cs
- SqlPersonalizationProvider.cs
- TreeNodeBinding.cs
- ResourcePool.cs
- StickyNote.cs
- ImageFormatConverter.cs
- StatusBarPanelClickEvent.cs