Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. // //----------------------------------------------------------------------------- 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
- Filter.cs
- XmlDictionaryWriter.cs
- AxisAngleRotation3D.cs
- QueryAccessibilityHelpEvent.cs
- EpmContentSerializerBase.cs
- WindowsFormsHost.cs
- TraceSwitch.cs
- QilTargetType.cs
- CellTreeNodeVisitors.cs
- AsyncCompletedEventArgs.cs
- OleDbTransaction.cs
- ComPlusContractBehavior.cs
- LinearQuaternionKeyFrame.cs
- NamedPipeProcessProtocolHandler.cs
- CompilerInfo.cs
- Decorator.cs
- FileLoadException.cs
- FactoryGenerator.cs
- SequentialActivityDesigner.cs
- Semaphore.cs
- OSFeature.cs
- HttpCacheParams.cs
- XmlIncludeAttribute.cs
- Translator.cs
- PaintValueEventArgs.cs
- TypeLoadException.cs
- SafeRegistryKey.cs
- OutputCacheProfileCollection.cs
- DashStyles.cs
- Glyph.cs
- SqlIdentifier.cs
- EntitySet.cs
- ValueChangedEventManager.cs
- TextSearch.cs
- MetaForeignKeyColumn.cs
- XPathScanner.cs
- NavigatorOutput.cs
- SubclassTypeValidator.cs
- ToolboxDataAttribute.cs
- CodeExpressionStatement.cs
- SafeProcessHandle.cs
- SocketManager.cs
- MediaElementAutomationPeer.cs
- FileAuthorizationModule.cs
- TransformerInfoCollection.cs
- FontFamily.cs
- IImplicitResourceProvider.cs
- TypeSource.cs
- PackagePart.cs
- SafeUserTokenHandle.cs
- unsafenativemethodsother.cs
- GB18030Encoding.cs
- MatrixKeyFrameCollection.cs
- XmlChoiceIdentifierAttribute.cs
- SmiEventSink_DeferedProcessing.cs
- DesignerAttribute.cs
- SchemaNotation.cs
- EntryWrittenEventArgs.cs
- FileBasedResourceGroveler.cs
- TextFormattingConverter.cs
- TagNameToTypeMapper.cs
- UniqueSet.cs
- EventLogHandle.cs
- SQLDouble.cs
- LayoutSettings.cs
- RadioButton.cs
- HtmlForm.cs
- Input.cs
- VectorConverter.cs
- PrimitiveType.cs
- PropertyStore.cs
- WorkflowMarkupSerializationManager.cs
- DataGridRow.cs
- XmlMemberMapping.cs
- SystemIPv4InterfaceProperties.cs
- IndexedGlyphRun.cs
- FieldAccessException.cs
- httpstaticobjectscollection.cs
- XamlBrushSerializer.cs
- PackageRelationship.cs
- ToolStripProgressBar.cs
- StylusPointCollection.cs
- Maps.cs
- FactoryId.cs
- Binding.cs
- WebServiceBindingAttribute.cs
- ToolstripProfessionalRenderer.cs
- PropertyDescriptor.cs
- GeometryHitTestResult.cs
- ProcessingInstructionAction.cs
- X509Utils.cs
- ToolStripItem.cs
- CompositeFontFamily.cs
- MimeFormImporter.cs
- MainMenu.cs
- CodeStatementCollection.cs
- HttpHandlerAction.cs
- Encoder.cs
- TabRenderer.cs
- AuditLogLocation.cs