Code:
/ FX-1434 / FX-1434 / 1.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
- ServiceModelConfigurationSectionGroup.cs
- ConfigurationManagerInternalFactory.cs
- InternalConfigSettingsFactory.cs
- SubclassTypeValidator.cs
- TreeViewItemAutomationPeer.cs
- SpeechRecognizer.cs
- TextViewDesigner.cs
- XmlDataProvider.cs
- SamlEvidence.cs
- DetailsViewRow.cs
- _Connection.cs
- XsltQilFactory.cs
- DependentList.cs
- Transactions.cs
- _SecureChannel.cs
- FormattedText.cs
- KeyMatchBuilder.cs
- LastQueryOperator.cs
- SqlProcedureAttribute.cs
- WorkflowApplicationEventArgs.cs
- BrowserDefinition.cs
- WebPartMovingEventArgs.cs
- SystemIcons.cs
- Constraint.cs
- VariableAction.cs
- CompositeDataBoundControl.cs
- DrawingBrush.cs
- counter.cs
- FontEmbeddingManager.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- BoundField.cs
- ReadOnlyPropertyMetadata.cs
- ArraySortHelper.cs
- ResolveInfo.cs
- SqlInternalConnection.cs
- NetworkCredential.cs
- CodeGen.cs
- RuleRefElement.cs
- TextTreeText.cs
- XmlQuerySequence.cs
- WebPartConnectionsDisconnectVerb.cs
- RelationshipFixer.cs
- FormViewInsertedEventArgs.cs
- Context.cs
- log.cs
- PerformanceCounterPermission.cs
- TargetException.cs
- InputLangChangeEvent.cs
- UIElementCollection.cs
- ActivityDesignerHighlighter.cs
- Point3DAnimationUsingKeyFrames.cs
- DataGridViewImageCell.cs
- TreeViewItem.cs
- BinaryConverter.cs
- DataGridViewComponentPropertyGridSite.cs
- TextBoxBase.cs
- Vector3DKeyFrameCollection.cs
- CacheMemory.cs
- EdmMember.cs
- TraceContextRecord.cs
- SEHException.cs
- ControlBuilder.cs
- SharedHttpTransportManager.cs
- WindowsRebar.cs
- Duration.cs
- Win32Native.cs
- KnownIds.cs
- ErrorStyle.cs
- SequentialUshortCollection.cs
- SplitterPanel.cs
- Point3D.cs
- BinaryMethodMessage.cs
- UInt32Converter.cs
- RTLAwareMessageBox.cs
- ElementNotAvailableException.cs
- AutomationElementIdentifiers.cs
- ApplicationException.cs
- NativeMethodsOther.cs
- ConfigurationSection.cs
- WorkflowRuntimeElement.cs
- Operand.cs
- Screen.cs
- mediaeventshelper.cs
- TdsEnums.cs
- WsatServiceCertificate.cs
- HuffCodec.cs
- URLAttribute.cs
- Viewport3DVisual.cs
- OperationCanceledException.cs
- CodeExpressionStatement.cs
- StructuralComparisons.cs
- CodeConstructor.cs
- ClientSettingsStore.cs
- ConditionalWeakTable.cs
- PhoneCallDesigner.cs
- SelectorAutomationPeer.cs
- HtmlLink.cs
- WindowsIdentity.cs
- Span.cs
- BasicExpressionVisitor.cs