Code:
/ FX-1434 / FX-1434 / 1.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
- DBAsyncResult.cs
- TextTreeInsertUndoUnit.cs
- StringArrayConverter.cs
- RequestBringIntoViewEventArgs.cs
- ProxyDataContractResolver.cs
- DropDownList.cs
- BlurEffect.cs
- ResourceLoader.cs
- Validator.cs
- XhtmlStyleClass.cs
- CompModHelpers.cs
- IProducerConsumerCollection.cs
- Font.cs
- MediaContextNotificationWindow.cs
- WebPartEditorCancelVerb.cs
- AutomationTextAttribute.cs
- XomlCompilerHelpers.cs
- ScrollEventArgs.cs
- BigInt.cs
- HttpCachePolicy.cs
- XmlQualifiedName.cs
- DesignerPerfEventProvider.cs
- TextRange.cs
- dsa.cs
- GroupItemAutomationPeer.cs
- CodeDesigner.cs
- SafeLibraryHandle.cs
- DataViewSetting.cs
- VariableAction.cs
- DataServiceProviderWrapper.cs
- Line.cs
- PixelShader.cs
- CustomAttributeFormatException.cs
- EntityDataSourceDesigner.cs
- StorageBasedPackageProperties.cs
- Propagator.Evaluator.cs
- TableCellsCollectionEditor.cs
- EditorZone.cs
- ValueSerializerAttribute.cs
- XmlAttributeAttribute.cs
- PairComparer.cs
- TextEditorSelection.cs
- SocketAddress.cs
- SystemDiagnosticsSection.cs
- MachineKeySection.cs
- AsyncOperationManager.cs
- PolicyManager.cs
- WebException.cs
- NotifyInputEventArgs.cs
- EventLog.cs
- FileLogRecordEnumerator.cs
- AssociationProvider.cs
- DbConnectionPoolOptions.cs
- PerfCounterSection.cs
- CodePageEncoding.cs
- RootBuilder.cs
- BaseDataBoundControl.cs
- TerminatorSinks.cs
- StructuredTypeInfo.cs
- ImageMapEventArgs.cs
- RegionInfo.cs
- PageFunction.cs
- HostSecurityManager.cs
- _LoggingObject.cs
- TreePrinter.cs
- CapabilitiesState.cs
- RenderCapability.cs
- Journaling.cs
- ThreadNeutralSemaphore.cs
- TemplateParser.cs
- ConvertersCollection.cs
- NeutralResourcesLanguageAttribute.cs
- ActivityScheduledRecord.cs
- DbConnectionPoolCounters.cs
- StylusButtonEventArgs.cs
- TickBar.cs
- FixedTextView.cs
- ListViewHitTestInfo.cs
- QilSortKey.cs
- AssemblyBuilder.cs
- BitmapEffectInput.cs
- SqlIdentifier.cs
- XmlSchemaInclude.cs
- ToolStripContentPanelRenderEventArgs.cs
- BinaryObjectInfo.cs
- MemberInfoSerializationHolder.cs
- TrackBarRenderer.cs
- Point3DKeyFrameCollection.cs
- CompoundFileStorageReference.cs
- CanExecuteRoutedEventArgs.cs
- DataServiceKeyAttribute.cs
- PathSegmentCollection.cs
- Byte.cs
- Binding.cs
- BamlCollectionHolder.cs
- HttpStreams.cs
- XPathNode.cs
- ImmutableObjectAttribute.cs
- SortAction.cs
- XmlSchemaSearchPattern.cs