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
- AspNetCompatibilityRequirementsAttribute.cs
- CallbackValidatorAttribute.cs
- WindowsTokenRoleProvider.cs
- EnumBuilder.cs
- NavigatorInput.cs
- KeyPressEvent.cs
- ExpressionVisitor.cs
- ChildChangedEventArgs.cs
- IDReferencePropertyAttribute.cs
- ListDictionaryInternal.cs
- SessionPageStateSection.cs
- SelfIssuedAuthRSAPKCS1SignatureFormatter.cs
- ScriptComponentDescriptor.cs
- objectresult_tresulttype.cs
- XsltInput.cs
- FlagPanel.cs
- HandleRef.cs
- AndMessageFilterTable.cs
- MediaContext.cs
- DataGridCellClipboardEventArgs.cs
- LinkConverter.cs
- MembershipSection.cs
- _NestedMultipleAsyncResult.cs
- AsymmetricSignatureFormatter.cs
- basemetadatamappingvisitor.cs
- ColorBlend.cs
- SmtpCommands.cs
- DataTable.cs
- TargetControlTypeCache.cs
- HttpWriter.cs
- WebPartHeaderCloseVerb.cs
- KnownBoxes.cs
- QilReplaceVisitor.cs
- HandlerMappingMemo.cs
- ChooseAction.cs
- WebPartVerbsEventArgs.cs
- RequiredArgumentAttribute.cs
- COM2Properties.cs
- EventSetter.cs
- CompilerCollection.cs
- Rotation3D.cs
- AstNode.cs
- PngBitmapEncoder.cs
- WindowsRichEditRange.cs
- columnmapkeybuilder.cs
- AttributeEmitter.cs
- XmlSchemaSimpleContentExtension.cs
- SqlDataSourceQuery.cs
- XmlSerializerNamespaces.cs
- HashCodeCombiner.cs
- PathTooLongException.cs
- WebPartConnectionsDisconnectVerb.cs
- CultureInfo.cs
- PropertyGridView.cs
- ColorConverter.cs
- StoreAnnotationsMap.cs
- PanelContainerDesigner.cs
- FixedNode.cs
- UDPClient.cs
- InstanceKey.cs
- _ProxyRegBlob.cs
- Version.cs
- DataMisalignedException.cs
- SafeProcessHandle.cs
- TextWriter.cs
- Geometry.cs
- MustUnderstandSoapException.cs
- NavigationFailedEventArgs.cs
- CellParaClient.cs
- RSAPKCS1KeyExchangeFormatter.cs
- LogPolicy.cs
- ProxyHelper.cs
- HwndAppCommandInputProvider.cs
- MessageQueuePermissionAttribute.cs
- ContentWrapperAttribute.cs
- ActivityTypeDesigner.xaml.cs
- LineServices.cs
- LiteralTextContainerControlBuilder.cs
- SessionPageStatePersister.cs
- DetailsViewDeleteEventArgs.cs
- WebPartMenuStyle.cs
- ServiceDescriptions.cs
- PerformanceCounterPermission.cs
- HtmlTableCellCollection.cs
- ProxyFragment.cs
- TreeViewAutomationPeer.cs
- DesignerTextBoxAdapter.cs
- StyleSelector.cs
- DoubleCollectionValueSerializer.cs
- DictionarySectionHandler.cs
- TimersDescriptionAttribute.cs
- SkinBuilder.cs
- documentsequencetextpointer.cs
- Int32EqualityComparer.cs
- X509PeerCertificateAuthenticationElement.cs
- List.cs
- ReadOnlyTernaryTree.cs
- SQLSingle.cs
- Command.cs
- DataGridViewCell.cs