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
- ObjectPropertyMapping.cs
- InvalidFilterCriteriaException.cs
- SessionState.cs
- AuthenticatedStream.cs
- BuilderPropertyEntry.cs
- Error.cs
- AbsoluteQuery.cs
- UdpSocketReceiveManager.cs
- SocketAddress.cs
- SpotLight.cs
- RSAPKCS1SignatureDeformatter.cs
- TraceUtils.cs
- control.ime.cs
- X509WindowsSecurityToken.cs
- PrimitiveCodeDomSerializer.cs
- SafeNativeMethods.cs
- ProxyWebPartManager.cs
- QuaternionValueSerializer.cs
- ExtensionDataObject.cs
- DesigntimeLicenseContext.cs
- PropertyFilterAttribute.cs
- Popup.cs
- MD5CryptoServiceProvider.cs
- StreamGeometry.cs
- DecoderBestFitFallback.cs
- RegionData.cs
- ProcessHostConfigUtils.cs
- ConfigDefinitionUpdates.cs
- dataprotectionpermissionattribute.cs
- WebPartTransformer.cs
- EventLogConfiguration.cs
- BindingValueChangedEventArgs.cs
- MarkupCompiler.cs
- Logging.cs
- sqlstateclientmanager.cs
- NamedPipeTransportSecurity.cs
- ReliableInputConnection.cs
- SafeNativeMethods.cs
- TypeReference.cs
- oledbmetadatacollectionnames.cs
- UserUseLicenseDictionaryLoader.cs
- EntitySet.cs
- CheckBoxPopupAdapter.cs
- GACIdentityPermission.cs
- AppDomainShutdownMonitor.cs
- ClientType.cs
- ServiceOperationHelpers.cs
- DrawingCollection.cs
- AnnotationAdorner.cs
- SQlBooleanStorage.cs
- x509utils.cs
- JoinTreeSlot.cs
- CompositeFontParser.cs
- DirtyTextRange.cs
- DefaultEventAttribute.cs
- OdbcRowUpdatingEvent.cs
- DataKey.cs
- EmbeddedObject.cs
- SHA1.cs
- XmlSerializerFactory.cs
- SiteMapPath.cs
- embossbitmapeffect.cs
- BrowserDefinitionCollection.cs
- OrthographicCamera.cs
- SqlClientFactory.cs
- NotImplementedException.cs
- InvalidWMPVersionException.cs
- IdentityModelDictionary.cs
- RestHandlerFactory.cs
- OperationContextScope.cs
- Point.cs
- Volatile.cs
- AnimatedTypeHelpers.cs
- CookieProtection.cs
- ProgressPage.cs
- TypeExtensions.cs
- _NestedSingleAsyncResult.cs
- TypeUsageBuilder.cs
- NavigateUrlConverter.cs
- ReflectionTypeLoadException.cs
- lengthconverter.cs
- Vector3D.cs
- TextComposition.cs
- NetWebProxyFinder.cs
- StorageEndPropertyMapping.cs
- WebEventTraceProvider.cs
- WebExceptionStatus.cs
- XmlEncoding.cs
- PropertyManager.cs
- ManualResetEvent.cs
- SafeLocalMemHandle.cs
- DispatcherObject.cs
- ColorPalette.cs
- HostingEnvironmentException.cs
- SBCSCodePageEncoding.cs
- HttpClientCertificate.cs
- TextBoxBase.cs
- ExtensibleClassFactory.cs
- CultureSpecificCharacterBufferRange.cs
- BaseCollection.cs