Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. // //----------------------------------------------------------------------------- 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
- IgnoreSectionHandler.cs
- DesigntimeLicenseContext.cs
- __Filters.cs
- ContextMenuStripActionList.cs
- NavigationHelper.cs
- EncodingInfo.cs
- SR.cs
- FieldDescriptor.cs
- PtsPage.cs
- WeakEventTable.cs
- FileRecordSequence.cs
- SizeAnimation.cs
- InputScopeConverter.cs
- DataKeyArray.cs
- GradientSpreadMethodValidation.cs
- PathGeometry.cs
- TimestampInformation.cs
- RewritingProcessor.cs
- FileDialog_Vista_Interop.cs
- StorageTypeMapping.cs
- InputBuffer.cs
- AmbientLight.cs
- Normalization.cs
- RecordBuilder.cs
- BoundsDrawingContextWalker.cs
- ButtonBaseAdapter.cs
- DependencyPropertyChangedEventArgs.cs
- RegexBoyerMoore.cs
- LinkedList.cs
- SoapIgnoreAttribute.cs
- PageParserFilter.cs
- DataTableExtensions.cs
- SystemUnicastIPAddressInformation.cs
- TargetControlTypeCache.cs
- AssemblyBuilder.cs
- AddInBase.cs
- safelinkcollection.cs
- GlobalizationAssembly.cs
- OutputScope.cs
- MemoryStream.cs
- EventEntry.cs
- Geometry3D.cs
- ConfigurationSettings.cs
- handlecollector.cs
- CharacterBufferReference.cs
- DataGridViewCellCancelEventArgs.cs
- OleDbPermission.cs
- CallId.cs
- StoreAnnotationsMap.cs
- SafeRightsManagementHandle.cs
- _DomainName.cs
- QilReplaceVisitor.cs
- embossbitmapeffect.cs
- SecurityElement.cs
- RTLAwareMessageBox.cs
- ToolStripSeparator.cs
- RunWorkerCompletedEventArgs.cs
- ByteStorage.cs
- Pens.cs
- IsolatedStorage.cs
- Label.cs
- CqlLexerHelpers.cs
- Ray3DHitTestResult.cs
- TdsValueSetter.cs
- NumberFormatInfo.cs
- DataGridViewSelectedColumnCollection.cs
- Reference.cs
- CanonicalFontFamilyReference.cs
- StrongName.cs
- ExpressionBuilderCollection.cs
- FacetEnabledSchemaElement.cs
- ApplicationInfo.cs
- CookieHandler.cs
- IsolatedStorageException.cs
- DrawingBrush.cs
- sqlcontext.cs
- SafeViewOfFileHandle.cs
- DetailsViewModeEventArgs.cs
- CodeDirectionExpression.cs
- MouseActionValueSerializer.cs
- FeatureManager.cs
- DataReaderContainer.cs
- ReadContentAsBinaryHelper.cs
- QuaternionConverter.cs
- NavigationCommands.cs
- AspNetCompatibilityRequirementsAttribute.cs
- XmlObjectSerializerReadContextComplex.cs
- MessageContractImporter.cs
- NumberSubstitution.cs
- AsyncPostBackTrigger.cs
- ValueTable.cs
- ProfileService.cs
- HttpPostedFile.cs
- ViewBox.cs
- SerTrace.cs
- dsa.cs
- WmpBitmapDecoder.cs
- CertificateReferenceElement.cs
- RawStylusInput.cs
- ProjectionCamera.cs