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
- HttpContextServiceHost.cs
- Message.cs
- LabelTarget.cs
- ObjectDataSourceDisposingEventArgs.cs
- XsdCachingReader.cs
- BaseResourcesBuildProvider.cs
- util.cs
- Token.cs
- Int32RectConverter.cs
- SimpleLine.cs
- DbDataSourceEnumerator.cs
- Paragraph.cs
- ListCardsInFileRequest.cs
- WebProxyScriptElement.cs
- RSAPKCS1KeyExchangeFormatter.cs
- GuidelineSet.cs
- GroupBoxRenderer.cs
- FunctionMappingTranslator.cs
- OrderedParallelQuery.cs
- XmlNamespaceMapping.cs
- StickyNoteAnnotations.cs
- ObjectCacheHost.cs
- CodeArrayIndexerExpression.cs
- ListBase.cs
- MediaCommands.cs
- Attributes.cs
- Method.cs
- Version.cs
- ActivityDesignerHighlighter.cs
- ZoneIdentityPermission.cs
- LayoutTableCell.cs
- OleDbConnectionInternal.cs
- StateManagedCollection.cs
- SyncOperationState.cs
- UIElementParaClient.cs
- MarginCollapsingState.cs
- HuffCodec.cs
- ImageFormat.cs
- ConfigXmlText.cs
- CustomTrackingRecord.cs
- XmlSchemaProviderAttribute.cs
- AssemblyBuilderData.cs
- GcHandle.cs
- UIElement3D.cs
- WindowsSecurityToken.cs
- NamespaceDecl.cs
- InlinedAggregationOperatorEnumerator.cs
- Deserializer.cs
- HttpMethodConstraint.cs
- DataMemberConverter.cs
- CompiledXpathExpr.cs
- TableAdapterManagerHelper.cs
- LazyTextWriterCreator.cs
- PKCS1MaskGenerationMethod.cs
- DataGridCellAutomationPeer.cs
- CompilerTypeWithParams.cs
- DSASignatureFormatter.cs
- HierarchicalDataBoundControl.cs
- DivideByZeroException.cs
- AsyncOperation.cs
- XmlTextReaderImpl.cs
- ExceptionHelpers.cs
- NamedPipeWorkerProcess.cs
- NativeRecognizer.cs
- ProviderMetadataCachedInformation.cs
- FloatUtil.cs
- IncrementalReadDecoders.cs
- _FixedSizeReader.cs
- AdornedElementPlaceholder.cs
- ParameterBuilder.cs
- ContractCodeDomInfo.cs
- Timer.cs
- Transform3D.cs
- QueueException.cs
- ExecutorLocksHeldException.cs
- CodeIdentifier.cs
- HitTestFilterBehavior.cs
- ConnectionPointGlyph.cs
- MetadataStore.cs
- HttpProfileGroupBase.cs
- XmlSchemaFacet.cs
- InternalConfirm.cs
- Pkcs7Recipient.cs
- HttpListener.cs
- ECDiffieHellmanCngPublicKey.cs
- HebrewCalendar.cs
- ColumnHeader.cs
- AddressUtility.cs
- MdImport.cs
- AccessViolationException.cs
- AttachmentCollection.cs
- WebConfigurationHost.cs
- SqlConnectionString.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- ParameterExpression.cs
- Base64Decoder.cs
- GeometryValueSerializer.cs
- IPGlobalProperties.cs
- KoreanLunisolarCalendar.cs
- StickyNoteContentControl.cs