Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ColumnWidthChangingEvent.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UserPreferenceChangingEventArgs.cs
- ToolStripContainer.cs
- ObjectSecurity.cs
- BamlWriter.cs
- AsyncCompletedEventArgs.cs
- LabelEditEvent.cs
- Span.cs
- CodeComment.cs
- InkCanvasFeedbackAdorner.cs
- Image.cs
- NamespaceList.cs
- RC2.cs
- ACE.cs
- WebPartCancelEventArgs.cs
- Compiler.cs
- NetworkInformationException.cs
- ReadOnlyCollectionBase.cs
- ObjectListFieldCollection.cs
- AlignmentYValidation.cs
- PlaceHolder.cs
- ExceptionHandlers.cs
- AttributeProviderAttribute.cs
- mda.cs
- UInt64.cs
- StylusShape.cs
- ConstrainedDataObject.cs
- ScrollEventArgs.cs
- KeyTimeConverter.cs
- TransformerInfoCollection.cs
- UnsafeMethods.cs
- GlobalProxySelection.cs
- BinaryUtilClasses.cs
- ProgressBarAutomationPeer.cs
- IssuanceLicense.cs
- HtmlInputReset.cs
- DirectoryObjectSecurity.cs
- PiiTraceSource.cs
- UserPersonalizationStateInfo.cs
- EditorBrowsableAttribute.cs
- QueryInterceptorAttribute.cs
- HttpRuntimeSection.cs
- StatusStrip.cs
- PropertyGeneratedEventArgs.cs
- AdapterDictionary.cs
- AssemblyBuilder.cs
- SelectionItemPatternIdentifiers.cs
- CrossAppDomainChannel.cs
- Variable.cs
- SessionEndedEventArgs.cs
- ContractSearchPattern.cs
- FrameworkContentElementAutomationPeer.cs
- OptimalTextSource.cs
- XmlNamespaceMappingCollection.cs
- sqlser.cs
- ImageDrawing.cs
- ExpanderAutomationPeer.cs
- Int32EqualityComparer.cs
- CheckBox.cs
- IssuedTokenServiceCredential.cs
- QuotedPrintableStream.cs
- GridLength.cs
- Annotation.cs
- WebPartVerb.cs
- EndpointIdentity.cs
- ProfileGroupSettingsCollection.cs
- BasicKeyConstraint.cs
- DataGridViewBand.cs
- ExtractedStateEntry.cs
- ExternalCalls.cs
- BindableAttribute.cs
- RepeatButtonAutomationPeer.cs
- TrustSection.cs
- XmlText.cs
- WebAdminConfigurationHelper.cs
- IgnoreDeviceFilterElement.cs
- Solver.cs
- LocalFileSettingsProvider.cs
- TemplateControlBuildProvider.cs
- TypeReference.cs
- CacheVirtualItemsEvent.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- CodeAccessSecurityEngine.cs
- ZipIORawDataFileBlock.cs
- HostUtils.cs
- RegularExpressionValidator.cs
- ContentDisposition.cs
- SimpleType.cs
- StateItem.cs
- TextMarkerSource.cs
- HTTPNotFoundHandler.cs
- SQLChars.cs
- ValueConversionAttribute.cs
- ColumnClickEvent.cs
- ModulesEntry.cs
- EndPoint.cs
- ZipFileInfoCollection.cs
- QueryCreatedEventArgs.cs
- ProviderCollection.cs
- TableItemStyle.cs
- webclient.cs