Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / HScrollProperties.cs / 1 / HScrollProperties.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 HScrollProperties : ScrollProperties { ////// Basic Properties for VScroll. /// ///public HScrollProperties(ScrollableControl container) : base(container) { } internal override int PageSize { get { return ParentControl.ClientRectangle.Width; } } internal override int Orientation { get { return NativeMethods.SB_HORZ; } } internal override int HorizontalDisplayPosition { get { return -this.value; } } internal override int VerticalDisplayPosition { get { return ParentControl.DisplayRectangle.Y; } } } } // 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
- ElementHostAutomationPeer.cs
- ChangeBlockUndoRecord.cs
- ResXResourceReader.cs
- SamlAttribute.cs
- FullTextBreakpoint.cs
- ProfileProvider.cs
- MenuItemCollection.cs
- IsolatedStoragePermission.cs
- SortedDictionary.cs
- TypeConverter.cs
- Point3DCollection.cs
- FrameAutomationPeer.cs
- WebPart.cs
- ScrollBar.cs
- ProgressBarBrushConverter.cs
- LinkTarget.cs
- MembershipSection.cs
- GPPOINTF.cs
- SoapSchemaMember.cs
- XmlAttributeCache.cs
- XpsResource.cs
- EntityParameter.cs
- OutputScopeManager.cs
- TagPrefixAttribute.cs
- ServiceOperationUIEditor.cs
- SmtpMail.cs
- DropTarget.cs
- RemotingAttributes.cs
- MetaTableHelper.cs
- XslAstAnalyzer.cs
- _SslSessionsCache.cs
- PriorityQueue.cs
- ViewGenerator.cs
- DeviceOverridableAttribute.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- ComponentCommands.cs
- CounterCreationData.cs
- TemplateBamlTreeBuilder.cs
- TextDecorationCollection.cs
- ParserStreamGeometryContext.cs
- MarkupWriter.cs
- RtType.cs
- XmlDataSource.cs
- RegexCharClass.cs
- PartitionResolver.cs
- XmlException.cs
- AssemblyNameUtility.cs
- ContextMarshalException.cs
- ListView.cs
- Utils.cs
- SqlNode.cs
- EventArgs.cs
- ExtensionWindowHeader.cs
- WebServiceErrorEvent.cs
- DPCustomTypeDescriptor.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- FacetValues.cs
- DocumentEventArgs.cs
- DataControlButton.cs
- RemoteAsymmetricSignatureFormatter.cs
- ModulesEntry.cs
- SqlWriter.cs
- SystemSounds.cs
- DeploymentSectionCache.cs
- TemplateContainer.cs
- ComponentChangingEvent.cs
- Stack.cs
- smtppermission.cs
- webproxy.cs
- TransportSecurityProtocolFactory.cs
- StatusBarPanelClickEvent.cs
- AuthorizationContext.cs
- ColumnWidthChangingEvent.cs
- CqlIdentifiers.cs
- Int32CAMarshaler.cs
- AutomationPatternInfo.cs
- CodeObject.cs
- XmlSchemaIdentityConstraint.cs
- ModelServiceImpl.cs
- Rotation3DAnimationUsingKeyFrames.cs
- AnnotationElement.cs
- _ConnectStream.cs
- DirectoryGroupQuery.cs
- SqlDataSourceCache.cs
- Cursor.cs
- SkewTransform.cs
- XmlMapping.cs
- HwndProxyElementProvider.cs
- FtpWebResponse.cs
- DataGridViewComboBoxColumn.cs
- X509PeerCertificateAuthenticationElement.cs
- ResourceContainer.cs
- shaper.cs
- RightsManagementPermission.cs
- TimelineClockCollection.cs
- UIElementParaClient.cs
- DragAssistanceManager.cs
- EventDrivenDesigner.cs
- DataGridColumnHeadersPresenterAutomationPeer.cs
- BinaryObjectReader.cs