Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ExitEventArgs.cs
- METAHEADER.cs
- LayoutEngine.cs
- PassportIdentity.cs
- ExpressionBuilder.cs
- QueryableDataSourceEditData.cs
- PlainXmlDeserializer.cs
- _SslState.cs
- Process.cs
- SigningCredentials.cs
- Bitmap.cs
- HtmlInputImage.cs
- AspNetCompatibilityRequirementsAttribute.cs
- ToolStripSplitButton.cs
- TextViewBase.cs
- IsolatedStoragePermission.cs
- CqlWriter.cs
- MetafileHeaderWmf.cs
- Translator.cs
- StringFunctions.cs
- altserialization.cs
- XmlAttributes.cs
- WebCategoryAttribute.cs
- ConvertersCollection.cs
- EllipticalNodeOperations.cs
- EntryPointNotFoundException.cs
- ProxySimple.cs
- SmtpDigestAuthenticationModule.cs
- Size.cs
- Positioning.cs
- HandleRef.cs
- EventLogEntryCollection.cs
- SrgsElementList.cs
- TdsParser.cs
- Vector3DConverter.cs
- Subtree.cs
- AuthenticateEventArgs.cs
- FileController.cs
- FixedSOMLineRanges.cs
- AppDomainManager.cs
- ContainerActivationHelper.cs
- MissingMethodException.cs
- XmlAttributeProperties.cs
- TargetConverter.cs
- ConfigurationPropertyCollection.cs
- MulticastOption.cs
- ScriptManager.cs
- XAMLParseException.cs
- Int64Animation.cs
- OracleInternalConnection.cs
- wgx_exports.cs
- DefaultPropertyAttribute.cs
- HtmlImage.cs
- XamlFigureLengthSerializer.cs
- InstanceBehavior.cs
- Single.cs
- SystemColorTracker.cs
- UserInitiatedNavigationPermission.cs
- SettingsPropertyNotFoundException.cs
- UnSafeCharBuffer.cs
- AutomationEventArgs.cs
- IBuiltInEvidence.cs
- DBSqlParser.cs
- DependencyPropertyConverter.cs
- XsltException.cs
- WebPartAuthorizationEventArgs.cs
- FactoryRecord.cs
- WorkflowMarkupSerializerMapping.cs
- CorrelationManager.cs
- ByteRangeDownloader.cs
- RIPEMD160Managed.cs
- PropertyChangedEventArgs.cs
- FileCodeGroup.cs
- HttpApplication.cs
- DataGridViewCellCollection.cs
- ActivationWorker.cs
- _UncName.cs
- X509SecurityTokenProvider.cs
- WebBrowserBase.cs
- Decimal.cs
- SkewTransform.cs
- FamilyMapCollection.cs
- Pts.cs
- EmissiveMaterial.cs
- CacheSection.cs
- IdentitySection.cs
- GroupQuery.cs
- CharConverter.cs
- NotImplementedException.cs
- uribuilder.cs
- ScriptControlDescriptor.cs
- MetadataPropertyvalue.cs
- GlyphsSerializer.cs
- CalendarDataBindingHandler.cs
- UriTemplatePathPartiallyEquivalentSet.cs
- BamlTreeMap.cs
- TextTreeNode.cs
- QueryStringConverter.cs
- StreamUpgradeAcceptor.cs
- MethodRental.cs