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
- ListManagerBindingsCollection.cs
- MDIControlStrip.cs
- DescendantQuery.cs
- SoapSchemaExporter.cs
- CroppedBitmap.cs
- WsdlBuildProvider.cs
- ScrollEventArgs.cs
- FunctionMappingTranslator.cs
- TheQuery.cs
- TypeForwardedToAttribute.cs
- PassportAuthentication.cs
- QuotaThrottle.cs
- MachineSettingsSection.cs
- OleDbException.cs
- XslCompiledTransform.cs
- StateItem.cs
- QilLoop.cs
- TextBox.cs
- ApplicationActivator.cs
- EventBuilder.cs
- MenuItem.cs
- DesignObjectWrapper.cs
- EasingQuaternionKeyFrame.cs
- SafeRightsManagementPubHandle.cs
- RepeaterItem.cs
- MaxMessageSizeStream.cs
- RectAnimationClockResource.cs
- DesignerSerializationManager.cs
- FixedFlowMap.cs
- Compilation.cs
- XmlComplianceUtil.cs
- SplashScreenNativeMethods.cs
- SerializationIncompleteException.cs
- StatusBarAutomationPeer.cs
- CompositeFontFamily.cs
- SystemResourceHost.cs
- XComponentModel.cs
- HttpRuntimeSection.cs
- ViewStateException.cs
- DataGridViewCellConverter.cs
- Soap11ServerProtocol.cs
- _LocalDataStoreMgr.cs
- MiniMapControl.xaml.cs
- DataGridRowHeaderAutomationPeer.cs
- ToggleProviderWrapper.cs
- TreeNodeBindingCollection.cs
- Pkcs7Signer.cs
- AmbientLight.cs
- Latin1Encoding.cs
- ParameterInfo.cs
- TableLayout.cs
- TextRange.cs
- DataControlImageButton.cs
- WebControl.cs
- DocumentEventArgs.cs
- ModuleBuilderData.cs
- DBConnection.cs
- CrossAppDomainChannel.cs
- BindingContext.cs
- KeyConverter.cs
- XmlSchemaComplexType.cs
- MultipartIdentifier.cs
- ListChunk.cs
- MemoryStream.cs
- ChtmlMobileTextWriter.cs
- returneventsaver.cs
- ComPlusSynchronizationContext.cs
- SystemUnicastIPAddressInformation.cs
- CompilationSection.cs
- OleCmdHelper.cs
- FileEnumerator.cs
- DeferredReference.cs
- OptimizedTemplateContent.cs
- ProtocolViolationException.cs
- ProtocolsConfiguration.cs
- XmlSchemaSimpleContent.cs
- SymbolEqualComparer.cs
- IResourceProvider.cs
- RangeBase.cs
- PartitionResolver.cs
- XslTransform.cs
- MetadataArtifactLoaderComposite.cs
- StreamSecurityUpgradeInitiator.cs
- SRGSCompiler.cs
- AccessText.cs
- InstanceCreationEditor.cs
- LabelDesigner.cs
- RSAPKCS1KeyExchangeFormatter.cs
- StdValidatorsAndConverters.cs
- TransformValueSerializer.cs
- DataGridAddNewRow.cs
- CodeCatchClauseCollection.cs
- NumberSubstitution.cs
- HwndMouseInputProvider.cs
- BooleanAnimationUsingKeyFrames.cs
- DataDocumentXPathNavigator.cs
- MSAAEventDispatcher.cs
- ObjectQueryProvider.cs
- MergeExecutor.cs
- NavigationProgressEventArgs.cs