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
- StringPropertyBuilder.cs
- HostSecurityManager.cs
- TextElementEnumerator.cs
- GridViewRowEventArgs.cs
- FixedTextPointer.cs
- UidPropertyAttribute.cs
- AspCompat.cs
- EmptyElement.cs
- BindingValueChangedEventArgs.cs
- ToolStripControlHost.cs
- RuntimeConfigLKG.cs
- EntitySet.cs
- ShapingWorkspace.cs
- DbException.cs
- VirtualizingPanel.cs
- IgnoreFileBuildProvider.cs
- RecordBuilder.cs
- TraceListeners.cs
- ThreadInterruptedException.cs
- InfiniteIntConverter.cs
- updatecommandorderer.cs
- SystemGatewayIPAddressInformation.cs
- ServiceOperationListItemList.cs
- Int64KeyFrameCollection.cs
- XmlAttributeCache.cs
- DiscoveryExceptionDictionary.cs
- ExpressionBinding.cs
- XmlSerializer.cs
- NumericExpr.cs
- ListViewInsertEventArgs.cs
- CallbackHandler.cs
- XpsFilter.cs
- BamlReader.cs
- SQLUtility.cs
- ItemAutomationPeer.cs
- CustomDictionarySources.cs
- Italic.cs
- Filter.cs
- XmlMemberMapping.cs
- CqlWriter.cs
- CompositionAdorner.cs
- DefaultTraceListener.cs
- uribuilder.cs
- ISAPIApplicationHost.cs
- SourceSwitch.cs
- IndexedGlyphRun.cs
- ContentControl.cs
- StyleCollection.cs
- EventSinkHelperWriter.cs
- StorageMappingItemLoader.cs
- HwndHost.cs
- LogLogRecordEnumerator.cs
- OrderedDictionaryStateHelper.cs
- _NegotiateClient.cs
- OlePropertyStructs.cs
- Style.cs
- ContentType.cs
- RunInstallerAttribute.cs
- ScriptManagerProxy.cs
- PrintController.cs
- RefreshEventArgs.cs
- TrackingMemoryStream.cs
- WebSysDescriptionAttribute.cs
- TextElementEnumerator.cs
- ConnectivityStatus.cs
- SortedDictionary.cs
- DBParameter.cs
- ObjectNotFoundException.cs
- CollectionChangedEventManager.cs
- Point4DValueSerializer.cs
- ConfigurationFileMap.cs
- ListMarkerSourceInfo.cs
- ExpandCollapseProviderWrapper.cs
- XmlArrayItemAttributes.cs
- CompilerInfo.cs
- SetStoryboardSpeedRatio.cs
- XmlSignatureProperties.cs
- CqlParser.cs
- Object.cs
- SqlErrorCollection.cs
- CapabilitiesSection.cs
- BuildResult.cs
- Error.cs
- BitmapMetadata.cs
- BindingNavigator.cs
- Logging.cs
- Metadata.cs
- XmlElementList.cs
- HtmlElementErrorEventArgs.cs
- Or.cs
- FlowLayoutPanel.cs
- SaveFileDialogDesigner.cs
- SessionStateContainer.cs
- AnnotationComponentManager.cs
- SelectionPattern.cs
- ConnectionStringsExpressionEditor.cs
- ProviderBase.cs
- GridViewUpdatedEventArgs.cs
- PageSettings.cs
- DebugView.cs