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
- MetadataArtifactLoaderComposite.cs
- ControlCollection.cs
- ManagementPath.cs
- KeyBinding.cs
- FrameSecurityDescriptor.cs
- SizeKeyFrameCollection.cs
- SqlWebEventProvider.cs
- ContactManager.cs
- EntityDataSourceMemberPath.cs
- WebPartAddingEventArgs.cs
- GeometryGroup.cs
- ClientSideProviderDescription.cs
- DoubleConverter.cs
- XsdCachingReader.cs
- ConcurrencyMode.cs
- LocationSectionRecord.cs
- IgnoreFileBuildProvider.cs
- WorkflowInstanceProxy.cs
- Clock.cs
- HandleInitializationContext.cs
- ConfigurationLockCollection.cs
- SecurityTokenSerializer.cs
- PriorityQueue.cs
- PassportAuthenticationModule.cs
- Privilege.cs
- GeometryGroup.cs
- _ServiceNameStore.cs
- SettingsPropertyValue.cs
- HexParser.cs
- HostedTransportConfigurationBase.cs
- RestClientProxyHandler.cs
- PathSegmentCollection.cs
- HostedNamedPipeTransportManager.cs
- XamlWriter.cs
- HttpPostLocalhostServerProtocol.cs
- DataGridViewRowPostPaintEventArgs.cs
- SqlNotificationEventArgs.cs
- ArrayExtension.cs
- XmlArrayAttribute.cs
- DecoderNLS.cs
- TextMarkerSource.cs
- ChannelFactory.cs
- MethodRental.cs
- EdmProperty.cs
- Window.cs
- DataGridViewButtonColumn.cs
- XmlImplementation.cs
- DragDropHelper.cs
- GenericFlowSwitchHelper.cs
- CornerRadiusConverter.cs
- NegotiateStream.cs
- HttpCachePolicy.cs
- SizeAnimation.cs
- COM2ComponentEditor.cs
- HtmlHistory.cs
- WebPartZoneBase.cs
- Span.cs
- SetterBaseCollection.cs
- ListView.cs
- WebControlParameterProxy.cs
- DesignerCatalogPartChrome.cs
- Quaternion.cs
- RightsManagementErrorHandler.cs
- ControlsConfig.cs
- ConfigsHelper.cs
- CodeDirectionExpression.cs
- SerializableTypeCodeDomSerializer.cs
- GeneratedView.cs
- TextTreeRootNode.cs
- _MultipleConnectAsync.cs
- HttpDictionary.cs
- MemberMaps.cs
- TransformConverter.cs
- XmlDictionaryWriter.cs
- StyleTypedPropertyAttribute.cs
- RC2.cs
- InputLanguageSource.cs
- SR.cs
- querybuilder.cs
- UserPreferenceChangedEventArgs.cs
- XmlCharCheckingReader.cs
- LambdaCompiler.Unary.cs
- DoubleLinkListEnumerator.cs
- PeerInputChannel.cs
- Message.cs
- Comparer.cs
- ArrangedElement.cs
- SerialStream.cs
- ScriptModule.cs
- MultipleViewPattern.cs
- AsyncOperation.cs
- DbConnectionStringBuilder.cs
- IgnoreSectionHandler.cs
- DbCommandTree.cs
- DelayedRegex.cs
- StateMachineWorkflowDesigner.cs
- EntityObject.cs
- CodeTypeOfExpression.cs
- MetadataUtilsSmi.cs
- querybuilder.cs