IScrollController Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies a contract for scrollbar-like widgets that can set the scroll offsets of the content in a scrolling control.
public interface class IScrollController
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 327680)]
/// [Windows.Foundation.Metadata.Guid(1413048198, 5926, 21462, 151, 163, 64, 175, 8, 56, 49, 76)]
struct IScrollController
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 327680)]
[Windows.Foundation.Metadata.Guid(1413048198, 5926, 21462, 151, 163, 64, 175, 8, 56, 49, 76)]
public interface IScrollController
Public Interface IScrollController
- Attributes
Properties
CanScroll |
Gets a value that indicates whether the user can scroll or pan with the scroll controller. |
IsScrollingWithMouse |
Gets a value that indicates whether or not the scroll controller is handling a mouse-driven scroll. |
PanningInfo |
Gets an instance of an |
Methods
GetScrollAnimation(Int32, Vector2, Vector2, CompositionAnimation) |
Provides the |
NotifyRequestedScrollCompleted(Int32) |
Indicates that a scrolling operation initiated through a |
SetIsScrollable(Boolean) |
Sets a value that indicates whether or not the |
SetValues(Double, Double, Double, Double) |
Provides dimension information about the scrolling control to the scroll controller. |
Events
AddScrollVelocityRequested |
Occurs when a scroll velocity change is requested. |
CanScrollChanged |
Occurs when the |
IsScrollingWithMouseChanged |
Occurs when the |
ScrollByRequested |
Occurs when a scroll by an particular offset delta is requested. |
ScrollToRequested |
Occurs when a scroll to a particular offset is requested. |