Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / VScrollProperties.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CustomWebEventKey.cs
- ClientSession.cs
- SignedXml.cs
- GridViewCommandEventArgs.cs
- RegexGroupCollection.cs
- Model3DGroup.cs
- DataSourceHelper.cs
- WMIGenerator.cs
- SystemTcpConnection.cs
- TabControlCancelEvent.cs
- PolicyChain.cs
- Properties.cs
- CapabilitiesUse.cs
- DataSourceHelper.cs
- ThreadAbortException.cs
- DetailsViewDeleteEventArgs.cs
- SqlDataRecord.cs
- BridgeDataRecord.cs
- WebBrowserEvent.cs
- SystemException.cs
- RTTrackingProfile.cs
- SecurityContextTokenCache.cs
- DataObjectEventArgs.cs
- RoutedCommand.cs
- AttributeTable.cs
- Logging.cs
- UInt32Converter.cs
- IOException.cs
- EncodingConverter.cs
- ButtonBase.cs
- RowTypeElement.cs
- ObjectSpanRewriter.cs
- WebBrowser.cs
- IconHelper.cs
- TdsParser.cs
- Binding.cs
- SafeProcessHandle.cs
- XMLSyntaxException.cs
- DataListItemEventArgs.cs
- CodeTypeReferenceSerializer.cs
- XPathDescendantIterator.cs
- NavigatingCancelEventArgs.cs
- GenericXmlSecurityToken.cs
- ContentElement.cs
- indexingfiltermarshaler.cs
- AuthenticationConfig.cs
- OleDbDataAdapter.cs
- InputQueueChannelAcceptor.cs
- assertwrapper.cs
- SiteMapSection.cs
- OpCellTreeNode.cs
- IFlowDocumentViewer.cs
- _SslState.cs
- TextControlDesigner.cs
- PropertyKey.cs
- ExpressionBindingCollection.cs
- webproxy.cs
- TextOptionsInternal.cs
- ChineseLunisolarCalendar.cs
- SystemBrushes.cs
- SqlStream.cs
- ActivityCodeDomSerializer.cs
- SystemIcmpV6Statistics.cs
- WebPartEditorOkVerb.cs
- LocalizabilityAttribute.cs
- LinkClickEvent.cs
- ClientFactory.cs
- ClockController.cs
- FixedSOMTableCell.cs
- CanonicalXml.cs
- HttpRequestTraceRecord.cs
- ScriptingRoleServiceSection.cs
- SafeEventLogReadHandle.cs
- LicenseProviderAttribute.cs
- CodeCompiler.cs
- XmlSchemaAnnotation.cs
- XmlSerializerFaultFormatter.cs
- Rectangle.cs
- SqlDataSourceWizardForm.cs
- DoubleCollection.cs
- Math.cs
- Marshal.cs
- UshortList2.cs
- ContextToken.cs
- XmlSchemaComplexContentExtension.cs
- RenderTargetBitmap.cs
- securitycriticaldataformultiplegetandset.cs
- OutOfMemoryException.cs
- ObjectCloneHelper.cs
- LinkLabelLinkClickedEvent.cs
- SetMemberBinder.cs
- RichTextBoxDesigner.cs
- KeyValueConfigurationCollection.cs
- KeyGestureValueSerializer.cs
- ReadOnlyDataSourceView.cs
- DataSet.cs
- ConstraintEnumerator.cs
- Shape.cs
- ActivationServices.cs
- BitmapMetadata.cs