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
- ScrollContentPresenter.cs
- SecureConversationServiceCredential.cs
- FocusChangedEventArgs.cs
- SectionInput.cs
- ElapsedEventArgs.cs
- CompilationLock.cs
- EntityParameter.cs
- PasswordTextNavigator.cs
- ViewManager.cs
- MemoryRecordBuffer.cs
- ConnectionInterfaceCollection.cs
- CompositionDesigner.cs
- SeverityFilter.cs
- AuthorizationRule.cs
- NativeActivityTransactionContext.cs
- BitmapPalette.cs
- BuildManager.cs
- RemoteWebConfigurationHostServer.cs
- WindowsListViewGroup.cs
- DefaultSection.cs
- NextPreviousPagerField.cs
- SerialPinChanges.cs
- XmlUTF8TextWriter.cs
- HexParser.cs
- MarkupCompilePass1.cs
- SettingsPropertyNotFoundException.cs
- ConfigurationManager.cs
- SwitchCase.cs
- DescendantOverDescendantQuery.cs
- ManifestBasedResourceGroveler.cs
- ProcessHostMapPath.cs
- ListViewSortEventArgs.cs
- OrderedDictionary.cs
- SafeFileMappingHandle.cs
- SqlNodeAnnotations.cs
- Number.cs
- SequenceFullException.cs
- FixedSOMLineRanges.cs
- VerticalAlignConverter.cs
- Border.cs
- SqlGenericUtil.cs
- LineServicesRun.cs
- ButtonFieldBase.cs
- XmlSchemaParticle.cs
- BuildProviderAppliesToAttribute.cs
- SequenceNumber.cs
- SystemColors.cs
- Blend.cs
- X509ChainPolicy.cs
- CharConverter.cs
- MeshGeometry3D.cs
- GroupDescription.cs
- ResolvedKeyFrameEntry.cs
- DefaultBindingPropertyAttribute.cs
- XmlNamespaceManager.cs
- ISCIIEncoding.cs
- QilStrConcatenator.cs
- base64Transforms.cs
- ContentHostHelper.cs
- ObjectToken.cs
- CheckBox.cs
- HttpResponseMessageProperty.cs
- Accessible.cs
- LockCookie.cs
- SQLMoney.cs
- RootAction.cs
- SafeSystemMetrics.cs
- HGlobalSafeHandle.cs
- PropertyPushdownHelper.cs
- ScriptReferenceBase.cs
- WpfWebRequestHelper.cs
- Cloud.cs
- CookieProtection.cs
- PeerConnector.cs
- GridViewColumnCollection.cs
- MessageQueuePermissionAttribute.cs
- TypeConstant.cs
- DataTemplateSelector.cs
- TimeZone.cs
- X509Certificate.cs
- _CacheStreams.cs
- SelfIssuedAuthRSAPKCS1SignatureDeformatter.cs
- IndicShape.cs
- BooleanToVisibilityConverter.cs
- CodeTypeParameter.cs
- TypefaceCollection.cs
- TextProviderWrapper.cs
- ClientCultureInfo.cs
- SqlTransaction.cs
- EncoderParameter.cs
- LocationUpdates.cs
- SynchronizationLockException.cs
- BrowsableAttribute.cs
- DatePickerTextBox.cs
- TypeNameParser.cs
- StringFormat.cs
- ComboBoxDesigner.cs
- SuppressMergeCheckAttribute.cs
- SQLMoney.cs
- MemberPathMap.cs