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
- TargetException.cs
- ellipse.cs
- DataTableCollection.cs
- Mutex.cs
- ManipulationStartingEventArgs.cs
- DesignTimeVisibleAttribute.cs
- BindingMAnagerBase.cs
- DateBoldEvent.cs
- SmtpCommands.cs
- SpeechSeg.cs
- Span.cs
- WarningException.cs
- EncodingDataItem.cs
- BroadcastEventHelper.cs
- AttributeXamlType.cs
- SolidColorBrush.cs
- ConsumerConnectionPoint.cs
- Hyperlink.cs
- SerializationObjectManager.cs
- HeaderedContentControl.cs
- WizardSideBarListControlItemEventArgs.cs
- ExcludeFromCodeCoverageAttribute.cs
- SystemNetworkInterface.cs
- ColorAnimationUsingKeyFrames.cs
- AsyncResult.cs
- DelegatedStream.cs
- X509Extension.cs
- PEFileEvidenceFactory.cs
- DataGridViewTopLeftHeaderCell.cs
- Dictionary.cs
- TypeUsage.cs
- Int64.cs
- XmlElementList.cs
- SoapExtension.cs
- GetPageNumberCompletedEventArgs.cs
- AlternateViewCollection.cs
- HttpListener.cs
- CodeMemberMethod.cs
- DetailsViewRow.cs
- CompositeScriptReference.cs
- XmlNavigatorStack.cs
- XmlSchemaSequence.cs
- WizardDesigner.cs
- DataGridViewCellStyleConverter.cs
- OletxEnlistment.cs
- XmlExpressionDumper.cs
- DetailsViewInsertedEventArgs.cs
- XmlValueConverter.cs
- TextStore.cs
- MetadataItemEmitter.cs
- ProtocolsConfiguration.cs
- NameValueConfigurationElement.cs
- Win32SafeHandles.cs
- InstallerTypeAttribute.cs
- XmlSchemaInferenceException.cs
- InvalidCastException.cs
- _AutoWebProxyScriptEngine.cs
- WorkflowQueueInfo.cs
- AuditLog.cs
- SoapMessage.cs
- BaseResourcesBuildProvider.cs
- Vector3DAnimation.cs
- LayoutUtils.cs
- ByteKeyFrameCollection.cs
- SettingsBase.cs
- PropertyGridCommands.cs
- ToolStripManager.cs
- ParameterModifier.cs
- DecoderFallback.cs
- WCFModelStrings.Designer.cs
- UserPreferenceChangedEventArgs.cs
- TypeDependencyAttribute.cs
- messageonlyhwndwrapper.cs
- GroupStyle.cs
- WindowsFormsSectionHandler.cs
- MouseActionValueSerializer.cs
- InheritanceRules.cs
- DataControlFieldHeaderCell.cs
- DataBindingCollectionEditor.cs
- BitmapDecoder.cs
- CodeGotoStatement.cs
- ReaderOutput.cs
- Matrix.cs
- LowerCaseStringConverter.cs
- SoapAttributes.cs
- SortedList.cs
- StateMachine.cs
- CultureMapper.cs
- HttpResponseInternalWrapper.cs
- _TimerThread.cs
- WebPartDisplayModeEventArgs.cs
- PngBitmapDecoder.cs
- StubHelpers.cs
- PreservationFileWriter.cs
- HttpProfileBase.cs
- BooleanSwitch.cs
- AudioDeviceOut.cs
- VisualStyleRenderer.cs
- XmlComment.cs
- DefaultBinder.cs