Code:
/ FX-1434 / FX-1434 / 1.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
- EventsTab.cs
- UserValidatedEventArgs.cs
- DateTimeConstantAttribute.cs
- BehaviorDragDropEventArgs.cs
- EntryWrittenEventArgs.cs
- DBConcurrencyException.cs
- SafeHGlobalHandleCritical.cs
- PriorityItem.cs
- figurelengthconverter.cs
- EntityParameterCollection.cs
- IDispatchConstantAttribute.cs
- TreeViewImageIndexConverter.cs
- LockRecursionException.cs
- ProxyElement.cs
- GenericEnumConverter.cs
- StylusOverProperty.cs
- EncoderReplacementFallback.cs
- SecurityTokenException.cs
- ValidatorUtils.cs
- AxDesigner.cs
- PrinterSettings.cs
- StreamGeometry.cs
- _SecureChannel.cs
- EdmTypeAttribute.cs
- RadioButtonList.cs
- WebServiceMethodData.cs
- Camera.cs
- ToolStripItemBehavior.cs
- SafeMILHandle.cs
- FixedStringLookup.cs
- Base64Decoder.cs
- PropertyStore.cs
- CodeMemberProperty.cs
- AnnotationComponentChooser.cs
- RefType.cs
- ContentDefinition.cs
- ContextDataSource.cs
- AnnotationComponentManager.cs
- RootBuilder.cs
- PanelDesigner.cs
- XmlRawWriter.cs
- SpellerError.cs
- returneventsaver.cs
- ObjectAnimationUsingKeyFrames.cs
- DataControlPagerLinkButton.cs
- ColorMatrix.cs
- ObjectViewQueryResultData.cs
- DNS.cs
- SerializableAttribute.cs
- PageCatalogPart.cs
- ProfileSection.cs
- CodeDomDesignerLoader.cs
- ChildChangedEventArgs.cs
- CfgSemanticTag.cs
- ColorPalette.cs
- ModelPropertyImpl.cs
- ExtensionSimplifierMarkupObject.cs
- Ops.cs
- DataSourceCache.cs
- HttpModuleActionCollection.cs
- StateDesigner.TransitionInfo.cs
- PersonalizationProviderCollection.cs
- unsafenativemethodsother.cs
- TextBoxAutomationPeer.cs
- DeviceContext2.cs
- AliasExpr.cs
- AspNetSynchronizationContext.cs
- ObjectAssociationEndMapping.cs
- OrderedDictionaryStateHelper.cs
- ChineseLunisolarCalendar.cs
- Attachment.cs
- FormatterConverter.cs
- Parser.cs
- Base64Stream.cs
- ConstructorBuilder.cs
- EventPropertyMap.cs
- SafeArrayTypeMismatchException.cs
- IntPtr.cs
- TransformValueSerializer.cs
- SQLDouble.cs
- UnsafeNativeMethods.cs
- MarkupCompilePass2.cs
- Single.cs
- IdnElement.cs
- HtmlValidationSummaryAdapter.cs
- RegexRunner.cs
- DbXmlEnabledProviderManifest.cs
- InstallerTypeAttribute.cs
- DataGridRow.cs
- CqlIdentifiers.cs
- RangeBase.cs
- followingquery.cs
- Point.cs
- DeviceContext2.cs
- Schema.cs
- SqlTypeSystemProvider.cs
- PngBitmapDecoder.cs
- HotSpotCollection.cs
- ISCIIEncoding.cs
- NativeRecognizer.cs