Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ColumnWidthChangingEvent.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RemotingConfiguration.cs
- StickyNoteHelper.cs
- ReadOnlyDictionary.cs
- MDIClient.cs
- SoapTypeAttribute.cs
- Range.cs
- LightweightCodeGenerator.cs
- BuilderElements.cs
- FormsIdentity.cs
- DataContractSerializerOperationBehavior.cs
- DataSetUtil.cs
- SyndicationItem.cs
- LinkedResourceCollection.cs
- WindowsFont.cs
- SafeNativeMethodsMilCoreApi.cs
- Cursor.cs
- BooleanFacetDescriptionElement.cs
- ImageKeyConverter.cs
- TextTreeDeleteContentUndoUnit.cs
- ProfileService.cs
- AdjustableArrowCap.cs
- ToolStripDropDownClosingEventArgs.cs
- DeploymentSection.cs
- InputBindingCollection.cs
- DataRecordInfo.cs
- ActivityCodeGenerator.cs
- ThousandthOfEmRealDoubles.cs
- TemplateControlCodeDomTreeGenerator.cs
- Operators.cs
- Helpers.cs
- DoubleLinkList.cs
- ReferentialConstraintRoleElement.cs
- EventRoute.cs
- MarshalDirectiveException.cs
- InputReportEventArgs.cs
- BrowserDefinitionCollection.cs
- XmlAttributeProperties.cs
- Int32Storage.cs
- VerificationException.cs
- ISO2022Encoding.cs
- DataRow.cs
- DataGridViewTopRowAccessibleObject.cs
- OpenTypeCommon.cs
- ListBindableAttribute.cs
- NamedPermissionSet.cs
- SetIndexBinder.cs
- OpenTypeLayoutCache.cs
- IListConverters.cs
- HandleTable.cs
- XmlNodeChangedEventArgs.cs
- _ServiceNameStore.cs
- DetailsViewDesigner.cs
- XmlSchemaComplexContent.cs
- ListenerElementsCollection.cs
- ExpandCollapseProviderWrapper.cs
- TransactionTable.cs
- Native.cs
- JsonUriDataContract.cs
- TypePropertyEditor.cs
- CodeIdentifier.cs
- BadImageFormatException.cs
- X509ClientCertificateCredentialsElement.cs
- DesignTimeData.cs
- SqlDataSourceQueryEditorForm.cs
- PropertyBuilder.cs
- AdornedElementPlaceholder.cs
- IndexedString.cs
- SharingService.cs
- AppDomain.cs
- NumberFormatter.cs
- ToolStripContainer.cs
- TabletDeviceInfo.cs
- ControlParameter.cs
- DataObjectEventArgs.cs
- ContextQuery.cs
- JsonFormatGeneratorStatics.cs
- LambdaCompiler.cs
- FeatureManager.cs
- PhysicalFontFamily.cs
- ProcessProtocolHandler.cs
- CodeVariableReferenceExpression.cs
- shaper.cs
- HttpHandlerAction.cs
- CommandSet.cs
- CollectionEditorDialog.cs
- PopupRoot.cs
- SqlConnection.cs
- ConstantProjectedSlot.cs
- Assert.cs
- RuleValidation.cs
- WindowsListViewGroup.cs
- ContainerFilterService.cs
- ContentControl.cs
- BinHexEncoding.cs
- HiddenField.cs
- ClientBuildManager.cs
- SaveFileDialog.cs
- securitycriticaldata.cs
- DLinqTableProvider.cs
- PeerNameRegistration.cs