Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewRowHeightInfoNeededEventArgs.cs / 1305376 / DataGridViewRowHeightInfoNeededEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.Diagnostics; using System.Globalization; ///public class DataGridViewRowHeightInfoNeededEventArgs : EventArgs { private int rowIndex; private int height; private int minimumHeight; internal DataGridViewRowHeightInfoNeededEventArgs() { this.rowIndex = -1; this.height = -1; this.minimumHeight = -1; } /// public int Height { get { return this.height; } set { if (value < this.minimumHeight) { value = this.minimumHeight; } if (value > DataGridViewBand.maxBandThickness) { throw new ArgumentOutOfRangeException("Height", SR.GetString(SR.InvalidHighBoundArgumentEx, "Height", (value).ToString(CultureInfo.CurrentCulture), (DataGridViewBand.maxBandThickness).ToString(CultureInfo.CurrentCulture))); } this.height = value; } } /// public int MinimumHeight { get { return this.minimumHeight; } set { if (value < DataGridViewBand.minBandThickness) { throw new ArgumentOutOfRangeException("MinimumHeight", value, SR.GetString(SR.DataGridViewBand_MinimumHeightSmallerThanOne, (DataGridViewBand.minBandThickness).ToString(CultureInfo.CurrentCulture))); } if (this.height < value) { this.height = value; } this.minimumHeight = value; } } /// public int RowIndex { get { return this.rowIndex; } } internal void SetProperties(int rowIndex, int height, int minimumHeight) { Debug.Assert(rowIndex >= -1); Debug.Assert(height > 0); Debug.Assert(minimumHeight > 0); Debug.Assert(height >= minimumHeight); this.rowIndex = rowIndex; this.height = height; this.minimumHeight = minimumHeight; } } } // 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
- MediaContext.cs
- FixedSOMPage.cs
- ManagedCodeMarkers.cs
- SetStoryboardSpeedRatio.cs
- metadatamappinghashervisitor.cs
- Axis.cs
- LiteralTextContainerControlBuilder.cs
- BaseCAMarshaler.cs
- TimeZoneNotFoundException.cs
- WebPartRestoreVerb.cs
- DataView.cs
- TextRangeEditTables.cs
- TrackingParameters.cs
- MailBnfHelper.cs
- ACE.cs
- MatrixTransform3D.cs
- InvokeWebService.cs
- SchemaNames.cs
- MdiWindowListStrip.cs
- SQLDateTime.cs
- Base64Encoder.cs
- RoleServiceManager.cs
- FilterQueryOptionExpression.cs
- SerTrace.cs
- CodeExpressionCollection.cs
- DataGridViewDataErrorEventArgs.cs
- EncryptedKey.cs
- ParameterBuilder.cs
- ActivationServices.cs
- ListChangedEventArgs.cs
- DurableMessageDispatchInspector.cs
- SmtpClient.cs
- BufferCache.cs
- FormsAuthenticationModule.cs
- PeerNodeAddress.cs
- InvariantComparer.cs
- PropVariant.cs
- ClonableStack.cs
- CompilerError.cs
- StreamHelper.cs
- IISUnsafeMethods.cs
- DropSource.cs
- XmlTextWriter.cs
- StrokeNode.cs
- Membership.cs
- ExternalCalls.cs
- HttpServerVarsCollection.cs
- BinaryExpression.cs
- WorkflowServiceBuildProvider.cs
- Pen.cs
- CollectionChangeEventArgs.cs
- PresentationSource.cs
- VerbConverter.cs
- PointAnimationBase.cs
- NavigationExpr.cs
- DispatcherExceptionFilterEventArgs.cs
- rsa.cs
- Thread.cs
- EasingFunctionBase.cs
- EpmContentSerializer.cs
- mediaclock.cs
- TableLayoutSettings.cs
- EdmTypeAttribute.cs
- SubpageParagraph.cs
- WhitespaceRule.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- SecurityContextSecurityTokenResolver.cs
- DataGridRowDetailsEventArgs.cs
- UnitySerializationHolder.cs
- ObjectConverter.cs
- DataGridCheckBoxColumn.cs
- PageRanges.cs
- Message.cs
- ButtonBaseAutomationPeer.cs
- DispatcherOperation.cs
- TypeUsageBuilder.cs
- CodeCompiler.cs
- shaperfactoryquerycachekey.cs
- XmlRawWriterWrapper.cs
- StackOverflowException.cs
- DataRelation.cs
- MinimizableAttributeTypeConverter.cs
- AffineTransform3D.cs
- ConfigurationLocationCollection.cs
- EntityCommandExecutionException.cs
- PerspectiveCamera.cs
- DataFormat.cs
- PageBuildProvider.cs
- Geometry3D.cs
- RightsManagementSuppressedStream.cs
- SctClaimDictionary.cs
- EventLogHandle.cs
- RelationshipEnd.cs
- DataGridViewControlCollection.cs
- TypeConverter.cs
- LongTypeConverter.cs
- CqlErrorHelper.cs
- QueryPageSettingsEventArgs.cs
- ResourceDescriptionAttribute.cs
- SchemaSetCompiler.cs