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
- BinaryObjectInfo.cs
- CodePageUtils.cs
- Overlapped.cs
- DefaultBindingPropertyAttribute.cs
- BitmapScalingModeValidation.cs
- BaseConfigurationRecord.cs
- SQLBinaryStorage.cs
- LambdaCompiler.ControlFlow.cs
- ThreadExceptionDialog.cs
- MinMaxParagraphWidth.cs
- HttpCookie.cs
- IDispatchConstantAttribute.cs
- CodeIterationStatement.cs
- SqlFormatter.cs
- TransformerTypeCollection.cs
- VectorValueSerializer.cs
- CryptographicAttribute.cs
- BitmapEffectvisualstate.cs
- ActiveXHelper.cs
- AutoResetEvent.cs
- Viewport2DVisual3D.cs
- entitydatasourceentitysetnameconverter.cs
- DataRow.cs
- XsltCompileContext.cs
- ChangeBlockUndoRecord.cs
- ADConnectionHelper.cs
- LiteralText.cs
- ListBoxItemAutomationPeer.cs
- FactoryGenerator.cs
- OracleDataAdapter.cs
- ArgumentValidation.cs
- SizeConverter.cs
- ChannelToken.cs
- _TransmitFileOverlappedAsyncResult.cs
- CodeDomDecompiler.cs
- PackageDigitalSignature.cs
- XslTransform.cs
- SmiMetaDataProperty.cs
- KnownColorTable.cs
- FreezableDefaultValueFactory.cs
- userdatakeys.cs
- ResourceManagerWrapper.cs
- AxisAngleRotation3D.cs
- Double.cs
- OpenTypeCommon.cs
- StylusPointPropertyId.cs
- SecurityKeyUsage.cs
- OutKeywords.cs
- ControlCollection.cs
- XPathDescendantIterator.cs
- SearchForVirtualItemEventArgs.cs
- PersonalizationState.cs
- OleDbCommandBuilder.cs
- ConfigurationCollectionAttribute.cs
- SqlVersion.cs
- TemplateBuilder.cs
- DataKeyCollection.cs
- TimeSpanSecondsConverter.cs
- ClientScriptManager.cs
- SynchronizationFilter.cs
- InputReport.cs
- UInt16Storage.cs
- SendActivity.cs
- KeyValuePair.cs
- ProcessRequestArgs.cs
- ServiceBusyException.cs
- ModelService.cs
- Avt.cs
- CommandHelper.cs
- KnownColorTable.cs
- CompilationLock.cs
- InputLanguage.cs
- OleDbPropertySetGuid.cs
- DataContractSerializerOperationGenerator.cs
- TrackingMemoryStreamFactory.cs
- DbConnectionClosed.cs
- ListItem.cs
- WhitespaceRuleReader.cs
- UnitySerializationHolder.cs
- SafeArrayTypeMismatchException.cs
- DesignerTextBoxAdapter.cs
- hwndwrapper.cs
- CollectionChange.cs
- CompressEmulationStream.cs
- RemoteWebConfigurationHost.cs
- DataGridViewControlCollection.cs
- ConstrainedDataObject.cs
- CodeTypeDeclarationCollection.cs
- Main.cs
- EncryptedPackageFilter.cs
- XXXInfos.cs
- LocalizabilityAttribute.cs
- UnsafeNativeMethods.cs
- MtomMessageEncodingElement.cs
- HtmlControlPersistable.cs
- FormViewModeEventArgs.cs
- HttpFileCollection.cs
- XmlnsPrefixAttribute.cs
- Helpers.cs
- _ScatterGatherBuffers.cs