Interface IScrollInfo
Scroll Info interface with data for scroll support
Namespace: EmptyKeys.UserInterface.Controls.Primitives
Assembly: EmptyKeys.UserInterface.dll
Syntax
public interface IScrollInfo
Properties
CanHorizontallyScroll
Gets or sets a value indicating whether this instance can horizontally scroll.
Declaration
bool CanHorizontallyScroll { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
CanVerticallyScroll
Gets or sets a value indicating whether this instance can vertically scroll.
Declaration
bool CanVerticallyScroll { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ExtentHeight
Gets the height of the extent.
Declaration
float ExtentHeight { get; }
Property Value
Type | Description |
---|---|
System.Single | The height of the extent. |
ExtentWidth
Gets the width of the extent.
Declaration
float ExtentWidth { get; }
Property Value
Type | Description |
---|---|
System.Single | The width of the extent. |
HorizontalOffset
Gets the horizontal offset.
Declaration
float HorizontalOffset { get; }
Property Value
Type | Description |
---|---|
System.Single | The horizontal offset. |
ScrollOwner
Gets or sets the scroll owner.
Declaration
ScrollViewer ScrollOwner { get; set; }
Property Value
Type | Description |
---|---|
ScrollViewer | The scroll owner. |
VerticalOffset
Gets the vertical offset.
Declaration
float VerticalOffset { get; }
Property Value
Type | Description |
---|---|
System.Single | The vertical offset. |
ViewportHeight
Gets the height of the view port.
Declaration
float ViewportHeight { get; }
Property Value
Type | Description |
---|---|
System.Single | The height of the view port. |
ViewportWidth
Gets the width of the view port.
Declaration
float ViewportWidth { get; }
Property Value
Type | Description |
---|---|
System.Single | The width of the view port. |
Methods
MakeVisible(UIElement, Rect)
Makes area of element visible
Declaration
void MakeVisible(UIElement element, Rect rectangle)
Parameters
Type | Name | Description |
---|---|---|
UIElement | element | The element. |
EmptyKeys.UserInterface.Rect | rectangle | The rectangle area |
ScrollLineDown()
Scrolls the line down.
Declaration
void ScrollLineDown()
ScrollLineLeft()
Scrolls the line left.
Declaration
void ScrollLineLeft()
ScrollLineRight()
Scrolls the line right.
Declaration
void ScrollLineRight()
ScrollLineUp()
Scrolls the line up.
Declaration
void ScrollLineUp()
ScrollMouseWheelDown()
Scrolls the mouse wheel down.
Declaration
void ScrollMouseWheelDown()
ScrollMouseWheelLeft()
Scrolls the mouse wheel left.
Declaration
void ScrollMouseWheelLeft()
ScrollMouseWheelRight()
Scrolls the mouse wheel right.
Declaration
void ScrollMouseWheelRight()
ScrollMouseWheelUp()
Scrolls the mouse wheel up.
Declaration
void ScrollMouseWheelUp()
ScrollPageDown()
Scrolls the page down.
Declaration
void ScrollPageDown()
ScrollPageLeft()
Scrolls the page left.
Declaration
void ScrollPageLeft()
ScrollPageRight()
Scrolls the page right.
Declaration
void ScrollPageRight()
ScrollPageUp()
Scrolls the page up.
Declaration
void ScrollPageUp()
SetHorizontalOffset(Single)
Sets the horizontal offset.
Declaration
void SetHorizontalOffset(float offset)
Parameters
Type | Name | Description |
---|---|---|
System.Single | offset | The offset. |
SetVerticalOffset(Single)
Sets the vertical offset.
Declaration
void SetVerticalOffset(float offset)
Parameters
Type | Name | Description |
---|---|---|
System.Single | offset | The offset. |