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
- securitycriticaldataClass.cs
- XmlIncludeAttribute.cs
- IncrementalReadDecoders.cs
- OdbcConnectionOpen.cs
- ParameterToken.cs
- DataViewManager.cs
- EmptyStringExpandableObjectConverter.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- _NestedSingleAsyncResult.cs
- TextSegment.cs
- SymbolEqualComparer.cs
- ObjectParameterCollection.cs
- SessionEndingEventArgs.cs
- XmlSchemaAny.cs
- PartialList.cs
- SqlNamer.cs
- ObjectIDGenerator.cs
- Nullable.cs
- CommandField.cs
- ManagedWndProcTracker.cs
- MarkupCompiler.cs
- X509ChainPolicy.cs
- TreeSet.cs
- XmlElementList.cs
- UniqueID.cs
- MeasurementDCInfo.cs
- Schema.cs
- HwndHost.cs
- AnnotationHelper.cs
- EventListenerClientSide.cs
- PhysicalFontFamily.cs
- SafeThreadHandle.cs
- SingleConverter.cs
- Automation.cs
- TemplateControl.cs
- HttpProcessUtility.cs
- LongValidator.cs
- CharacterMetricsDictionary.cs
- DataTemplateKey.cs
- OutputCacheSettings.cs
- DataSetUtil.cs
- XPathNavigatorReader.cs
- ReadOnlyHierarchicalDataSource.cs
- WorkflowMarkupSerializationException.cs
- InheritanceAttribute.cs
- OpenTypeLayoutCache.cs
- EventProxy.cs
- SortQuery.cs
- XmlNamespaceMappingCollection.cs
- TreeViewImageIndexConverter.cs
- PartManifestEntry.cs
- DelegatingStream.cs
- BuildTopDownAttribute.cs
- WorkflowTimerService.cs
- UriParserTemplates.cs
- SystemWebCachingSectionGroup.cs
- LinkLabel.cs
- HealthMonitoringSection.cs
- Viewport3DVisual.cs
- DataGridRelationshipRow.cs
- DynamicMetaObjectBinder.cs
- TemplateColumn.cs
- LoadWorkflowByKeyAsyncResult.cs
- StateRuntime.cs
- GenericXmlSecurityTokenAuthenticator.cs
- SequentialWorkflowRootDesigner.cs
- WinFormsSpinner.cs
- CapiNative.cs
- WebPartRestoreVerb.cs
- MobileUITypeEditor.cs
- XmlSchemaSimpleContent.cs
- CodeIndexerExpression.cs
- FontStyle.cs
- LogEntrySerializer.cs
- GeneratedCodeAttribute.cs
- QuaternionAnimationUsingKeyFrames.cs
- SqlDataSourceEnumerator.cs
- DrawingAttributes.cs
- SecurityProtocol.cs
- BrowserDefinitionCollection.cs
- DateTimeSerializationSection.cs
- WindowsIdentity.cs
- PrimitiveSchema.cs
- NTAccount.cs
- MeasurementDCInfo.cs
- VerificationAttribute.cs
- TokenBasedSetEnumerator.cs
- _NegotiateClient.cs
- StrongName.cs
- CryptoSession.cs
- DynamicActivity.cs
- EncryptedData.cs
- CodeExporter.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- Token.cs
- TokenBasedSetEnumerator.cs
- TypeConverters.cs
- ColumnWidthChangingEvent.cs
- PersistenceProvider.cs
- _DomainName.cs