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
- OperatingSystem.cs
- XamlToRtfParser.cs
- METAHEADER.cs
- DataGridLength.cs
- PropertyTabChangedEvent.cs
- HtmlFormParameterWriter.cs
- X509CertificateClaimSet.cs
- HTTPNotFoundHandler.cs
- ZoomPercentageConverter.cs
- WeakEventTable.cs
- SerializationStore.cs
- CollectionContainer.cs
- RijndaelManaged.cs
- TraceUtils.cs
- ExtractorMetadata.cs
- GenerateScriptTypeAttribute.cs
- PropertyInfoSet.cs
- InstanceOwner.cs
- ShaperBuffers.cs
- Events.cs
- SiteMapDataSourceDesigner.cs
- AutomationAttributeInfo.cs
- PermissionSetEnumerator.cs
- ReadWriteSpinLock.cs
- Registry.cs
- Gdiplus.cs
- TypeUnloadedException.cs
- ValidationResult.cs
- AttributedMetaModel.cs
- ObjectDataSourceFilteringEventArgs.cs
- WebPartUserCapability.cs
- EntityCommandExecutionException.cs
- OleStrCAMarshaler.cs
- EventManager.cs
- StructuredTypeEmitter.cs
- CodeNamespace.cs
- PictureBox.cs
- EntityContainerEntitySet.cs
- ProcessHostServerConfig.cs
- StringFormat.cs
- WpfMemberInvoker.cs
- EventDescriptor.cs
- OleDbSchemaGuid.cs
- DBAsyncResult.cs
- ColumnReorderedEventArgs.cs
- HtmlInputCheckBox.cs
- ButtonChrome.cs
- ResolveCriteria.cs
- ObjectTypeMapping.cs
- ControlBindingsCollection.cs
- ThaiBuddhistCalendar.cs
- SpecialNameAttribute.cs
- oledbconnectionstring.cs
- XmlUtf8RawTextWriter.cs
- DbProviderFactories.cs
- BaseComponentEditor.cs
- GroupedContextMenuStrip.cs
- SimpleHandlerBuildProvider.cs
- Opcode.cs
- CultureSpecificStringDictionary.cs
- DbTransaction.cs
- BinaryCommonClasses.cs
- SoapServerMessage.cs
- FunctionUpdateCommand.cs
- SqlErrorCollection.cs
- InputLangChangeRequestEvent.cs
- ListView.cs
- AsymmetricSignatureDeformatter.cs
- MD5CryptoServiceProvider.cs
- Dictionary.cs
- Canvas.cs
- ProviderMetadataCachedInformation.cs
- RowBinding.cs
- XmlPreloadedResolver.cs
- TextElement.cs
- AttachmentService.cs
- DatagridviewDisplayedBandsData.cs
- XmlNullResolver.cs
- BindingListCollectionView.cs
- metadatamappinghashervisitor.cs
- DynamicDataRoute.cs
- BasicExpandProvider.cs
- PropertySet.cs
- OdbcCommand.cs
- ObjectComplexPropertyMapping.cs
- RemotingServices.cs
- DataAccessException.cs
- ObjectStateFormatter.cs
- UnsafeNativeMethods.cs
- CqlIdentifiers.cs
- DataServiceHost.cs
- WebConfigurationFileMap.cs
- HostProtectionException.cs
- HttpListenerContext.cs
- SynthesizerStateChangedEventArgs.cs
- CuspData.cs
- DbTransaction.cs
- SmiConnection.cs
- SafeViewOfFileHandle.cs
- clipboard.cs