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
- DBParameter.cs
- SecurityKeyIdentifierClause.cs
- DataGridTemplateColumn.cs
- ForceCopyBuildProvider.cs
- SiteOfOriginPart.cs
- _LocalDataStore.cs
- CollectionView.cs
- CodeAttributeDeclaration.cs
- VersionedStreamOwner.cs
- ContextQuery.cs
- SymbolPair.cs
- basevalidator.cs
- BlobPersonalizationState.cs
- ZipIOExtraFieldPaddingElement.cs
- ControlTemplate.cs
- GenericWebPart.cs
- httpapplicationstate.cs
- CompatibleComparer.cs
- DbMetaDataColumnNames.cs
- AuthenticationModuleElementCollection.cs
- ScrollProperties.cs
- CompositeCollection.cs
- Evidence.cs
- ObjectPersistData.cs
- FacetValueContainer.cs
- DoubleStorage.cs
- Attribute.cs
- Thumb.cs
- ActivityValidationServices.cs
- ObjectStateEntry.cs
- GridViewSelectEventArgs.cs
- DragEventArgs.cs
- CodeIndexerExpression.cs
- CommonGetThemePartSize.cs
- AssemblyNameProxy.cs
- TableHeaderCell.cs
- Method.cs
- WmlMobileTextWriter.cs
- ScriptingSectionGroup.cs
- PolicyLevel.cs
- DesignerObjectListAdapter.cs
- BindUriHelper.cs
- ActiveDocumentEvent.cs
- TailCallAnalyzer.cs
- ObjectToken.cs
- TraversalRequest.cs
- WindowsTokenRoleProvider.cs
- Operators.cs
- DateTimeParse.cs
- Size3D.cs
- DrawingContextWalker.cs
- RichTextBoxAutomationPeer.cs
- AddInController.cs
- XpsFilter.cs
- _NegotiateClient.cs
- SqlClientWrapperSmiStream.cs
- SettingsPropertyIsReadOnlyException.cs
- FileDetails.cs
- ClientRoleProvider.cs
- ObjectViewFactory.cs
- PlanCompiler.cs
- InlineCollection.cs
- HandlerFactoryCache.cs
- VarRemapper.cs
- HttpVersion.cs
- WmlLinkAdapter.cs
- GuidConverter.cs
- QuaternionValueSerializer.cs
- BooleanExpr.cs
- SynchronizationContext.cs
- AppSettingsExpressionBuilder.cs
- HandlerFactoryCache.cs
- ReachDocumentReferenceCollectionSerializer.cs
- SoapAttributeAttribute.cs
- RijndaelCryptoServiceProvider.cs
- RegexMatch.cs
- ListViewHitTestInfo.cs
- Visitors.cs
- EditorPartCollection.cs
- ConnectionProviderAttribute.cs
- TreeViewEvent.cs
- OpenTypeLayout.cs
- VirtualPathProvider.cs
- UserNamePasswordClientCredential.cs
- RtfToXamlReader.cs
- SrgsGrammarCompiler.cs
- DataServiceStreamResponse.cs
- NamedPipeActivation.cs
- TextDecorationCollectionConverter.cs
- EventRouteFactory.cs
- PageCache.cs
- InternalsVisibleToAttribute.cs
- ListViewTableCell.cs
- BitmapScalingModeValidation.cs
- ProcessThread.cs
- FormsAuthenticationUser.cs
- WebPartDisplayModeCancelEventArgs.cs
- WebControlAdapter.cs
- unitconverter.cs
- TreeNodeCollection.cs