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
- DataGridViewColumnTypeEditor.cs
- ActivityWithResultConverter.cs
- InternalCache.cs
- MULTI_QI.cs
- listitem.cs
- ISCIIEncoding.cs
- ControllableStoryboardAction.cs
- ContextStaticAttribute.cs
- UpdateCommand.cs
- WorkflowElementDialogWindow.xaml.cs
- ForwardPositionQuery.cs
- SupportsPreviewControlAttribute.cs
- ProviderConnectionPointCollection.cs
- SiteMapPathDesigner.cs
- BindingListCollectionView.cs
- ReadOnlyPropertyMetadata.cs
- TreeNodeStyle.cs
- LayoutEngine.cs
- BaseAsyncResult.cs
- Label.cs
- Annotation.cs
- ExceptionUtil.cs
- CoTaskMemSafeHandle.cs
- XmlSchemaComplexContentRestriction.cs
- IInstanceTable.cs
- DataColumnMappingCollection.cs
- PageThemeBuildProvider.cs
- ObjectConverter.cs
- Literal.cs
- URLString.cs
- RootDesignerSerializerAttribute.cs
- HttpConfigurationSystem.cs
- ExpressionBuilder.cs
- InternalConfigEventArgs.cs
- ArrayList.cs
- TreeViewImageIndexConverter.cs
- ForceCopyBuildProvider.cs
- MD5CryptoServiceProvider.cs
- ParallelRangeManager.cs
- SafeNativeMethods.cs
- StandardCommands.cs
- StateMachineExecutionState.cs
- CursorConverter.cs
- BinaryFormatterSinks.cs
- SiteMapSection.cs
- VirtualizingStackPanel.cs
- DataSourceControl.cs
- SimpleRecyclingCache.cs
- ValueType.cs
- HostedElements.cs
- BooleanConverter.cs
- XmlSchemaAny.cs
- StringExpressionSet.cs
- MenuItemBinding.cs
- Random.cs
- ZipIOLocalFileDataDescriptor.cs
- DocumentEventArgs.cs
- ArgumentDirectionHelper.cs
- FunctionParameter.cs
- CompositeTypefaceMetrics.cs
- assemblycache.cs
- EncodingDataItem.cs
- DataControlFieldTypeEditor.cs
- RequestCacheManager.cs
- WebExceptionStatus.cs
- SubclassTypeValidator.cs
- SqlConnection.cs
- ContainerSelectorGlyph.cs
- CodeMemberEvent.cs
- UnsafeNativeMethodsMilCoreApi.cs
- EmbeddedMailObjectsCollection.cs
- Int32.cs
- DocumentViewerBaseAutomationPeer.cs
- FileDialogCustomPlace.cs
- SQLMoney.cs
- XmlCharType.cs
- Transform.cs
- LayeredChannelFactory.cs
- ControlCachePolicy.cs
- UnsafeNativeMethods.cs
- PublisherMembershipCondition.cs
- HierarchicalDataSourceControl.cs
- HostedTransportConfigurationManager.cs
- GroupedContextMenuStrip.cs
- FunctionParameter.cs
- DesignerWithHeader.cs
- ReflectionUtil.cs
- BooleanAnimationBase.cs
- RestHandler.cs
- Trigger.cs
- Size3DConverter.cs
- RemotingSurrogateSelector.cs
- ListViewItemSelectionChangedEvent.cs
- LogStream.cs
- SemanticBasicElement.cs
- ParseHttpDate.cs
- TransformerInfoCollection.cs
- AlignmentYValidation.cs
- ResourceAssociationTypeEnd.cs
- WebResourceAttribute.cs