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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RsaSecurityToken.cs
- CompositeTypefaceMetrics.cs
- StrongNameUtility.cs
- ContainerFilterService.cs
- PagedDataSource.cs
- Nodes.cs
- StrokeNodeOperations.cs
- ExpressionBindings.cs
- ActivityInfo.cs
- QualificationDataAttribute.cs
- MDIClient.cs
- OpenFileDialog.cs
- SessionEndingEventArgs.cs
- ConfigXmlElement.cs
- RadioButtonList.cs
- Transform.cs
- FixedPageStructure.cs
- CustomCredentialPolicy.cs
- RequestQueue.cs
- SequentialOutput.cs
- XmlAnyElementAttribute.cs
- SqlRowUpdatingEvent.cs
- EnumUnknown.cs
- RootBrowserWindow.cs
- HttpCachePolicyElement.cs
- UdpSocket.cs
- MailSettingsSection.cs
- SafeArrayRankMismatchException.cs
- SegmentInfo.cs
- PhonemeEventArgs.cs
- ImageSourceConverter.cs
- DiscreteKeyFrames.cs
- HelpPage.cs
- References.cs
- XmlSchemaSequence.cs
- SerializationHelper.cs
- MemberDomainMap.cs
- ObjectStateManagerMetadata.cs
- ControlIdConverter.cs
- SecureStringHasher.cs
- InputLanguageManager.cs
- WebServicesSection.cs
- ValueChangedEventManager.cs
- TileBrush.cs
- EntryIndex.cs
- EntityDataSourceChangedEventArgs.cs
- WebServiceFaultDesigner.cs
- HandlerFactoryWrapper.cs
- GenericsInstances.cs
- CacheEntry.cs
- DeleteCardRequest.cs
- IPPacketInformation.cs
- AttributeParameterInfo.cs
- WebPartConnectionsCloseVerb.cs
- ExpressionUtilities.cs
- NameValueFileSectionHandler.cs
- ExpressionPrefixAttribute.cs
- MergeFilterQuery.cs
- DependencyPropertyChangedEventArgs.cs
- DocumentScope.cs
- PrimitiveSchema.cs
- DataTable.cs
- CompilerResults.cs
- TemplateColumn.cs
- DesignerVerbCollection.cs
- ValidationRule.cs
- PictureBox.cs
- ServiceConfigurationTraceRecord.cs
- _BufferOffsetSize.cs
- View.cs
- VirtualizedItemPattern.cs
- SafeNativeMethods.cs
- DataGridCaption.cs
- DateTimeConverter2.cs
- DataGridViewCellEventArgs.cs
- RelOps.cs
- MsmqProcessProtocolHandler.cs
- CodeObjectCreateExpression.cs
- XamlFigureLengthSerializer.cs
- MetadataPropertyCollection.cs
- ApplicationBuildProvider.cs
- LinkedResource.cs
- TextProperties.cs
- GroupItem.cs
- TreeNodeStyleCollection.cs
- CreatingCookieEventArgs.cs
- XmlMapping.cs
- OperationPickerDialog.cs
- ChannelTraceRecord.cs
- Vector3D.cs
- AnnotationHighlightLayer.cs
- ThumbAutomationPeer.cs
- Rotation3DAnimationUsingKeyFrames.cs
- SoapCodeExporter.cs
- PlanCompiler.cs
- WaitHandle.cs
- DataGridViewTopLeftHeaderCell.cs
- RenderData.cs
- TemplateControl.cs
- IPEndPoint.cs