Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / VScrollProperties.cs / 1 / VScrollProperties.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Runtime.InteropServices; using System.Diagnostics; using System; using System.Security.Permissions; using System.Runtime.Serialization.Formatters; using System.ComponentModel; using System.Drawing; using Microsoft.Win32; using System.Windows.Forms; ////// /// public class VScrollProperties : ScrollProperties { ////// Basic Properties for VScroll. /// ///public VScrollProperties(ScrollableControl container) : base(container) { } internal override int PageSize { get { return ParentControl.ClientRectangle.Height; } } internal override int Orientation { get { return NativeMethods.SB_VERT; } } internal override int HorizontalDisplayPosition { get { return ParentControl.DisplayRectangle.X; } } internal override int VerticalDisplayPosition { get { return -this.value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- KeyManager.cs
- SelectionProviderWrapper.cs
- GetWinFXPath.cs
- SqlConnectionHelper.cs
- DataGridCell.cs
- Accessible.cs
- ExceptionHandlers.cs
- SafeMemoryMappedViewHandle.cs
- ClientRuntimeConfig.cs
- HandleCollector.cs
- ProtectedConfiguration.cs
- EventlogProvider.cs
- HashMembershipCondition.cs
- Transform3DCollection.cs
- ListViewItemEventArgs.cs
- TransformedBitmap.cs
- StaticSiteMapProvider.cs
- PageBuildProvider.cs
- CharUnicodeInfo.cs
- StorageConditionPropertyMapping.cs
- SHA512.cs
- HelpProvider.cs
- StopRoutingHandler.cs
- XmlLoader.cs
- UnSafeCharBuffer.cs
- FilePrompt.cs
- InheritablePropertyChangeInfo.cs
- CodeConditionStatement.cs
- LinkLabel.cs
- UIElement3D.cs
- UserControl.cs
- SecureStringHasher.cs
- PreviewKeyDownEventArgs.cs
- x509store.cs
- ProxyManager.cs
- RequestResizeEvent.cs
- MenuEventArgs.cs
- Substitution.cs
- Variant.cs
- Semaphore.cs
- WeakEventManager.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- TrustLevel.cs
- BindableAttribute.cs
- GridViewSortEventArgs.cs
- SqlUdtInfo.cs
- IDispatchConstantAttribute.cs
- RectKeyFrameCollection.cs
- BooleanFunctions.cs
- XPathExpr.cs
- PersonalizationStateInfoCollection.cs
- ElementsClipboardData.cs
- ProfessionalColors.cs
- CustomAssemblyResolver.cs
- ProfileManager.cs
- WebSysDescriptionAttribute.cs
- XamlTypeMapperSchemaContext.cs
- SmtpNegotiateAuthenticationModule.cs
- SHA256Managed.cs
- ArglessEventHandlerProxy.cs
- RelationHandler.cs
- EpmContentSerializer.cs
- PixelFormat.cs
- DynamicResourceExtension.cs
- AbsoluteQuery.cs
- FormViewUpdateEventArgs.cs
- SqlTriggerContext.cs
- BuildResult.cs
- DecimalAverageAggregationOperator.cs
- WebPartHeaderCloseVerb.cs
- SapiGrammar.cs
- DataControlFieldHeaderCell.cs
- ListBoxItemAutomationPeer.cs
- MessageEventSubscriptionService.cs
- HttpVersion.cs
- PageTheme.cs
- DeflateStream.cs
- Misc.cs
- Encoder.cs
- PropertyKey.cs
- EUCJPEncoding.cs
- MachineKeySection.cs
- ConfigViewGenerator.cs
- DataSourceHelper.cs
- RowCache.cs
- TextParaClient.cs
- XmlLangPropertyAttribute.cs
- ConfigurationSettings.cs
- SolidBrush.cs
- PropertyInformation.cs
- CacheChildrenQuery.cs
- HostingEnvironment.cs
- CfgArc.cs
- SchemaHelper.cs
- SslStreamSecurityUpgradeProvider.cs
- ReflectionUtil.cs
- WindowsScrollBar.cs
- NameValueConfigurationElement.cs
- ViewValidator.cs
- TransportBindingElement.cs