[]
        
(Showing Draft Content)

C1.Blazor.Core.C1ScrollViewer

C1ScrollViewer Class

Represents a scrollable area that can contain other visible elements.

Inheritance
C1ScrollViewer
Namespace: C1.Blazor.Core
Assembly: C1.Blazor.Core.dll
Syntax
public class C1ScrollViewer : C1View, IComponent, IHandleAfterRender, IHandleEvent, IDisposable, IDependencyObject
Public Class C1ScrollViewer
    Inherits C1View
    Implements IComponent, IHandleAfterRender, IHandleEvent, IDisposable, IDependencyObject

Constructors

Name Description
C1ScrollViewer()

Initializes a new instance of the C1ScrollViewer class.

Fields

Name Description
BottomHeaderProperty

Identifies the BottomHeader dependency property.

BottomLeftHeaderProperty

Identifies the BottomLeftHeader dependency property.

BottomRightHeaderProperty

Identifies the BottomRightHeader dependency property.

ChildContentProperty

Identifies the ChildContent dependency property.

HorizontalScrollBarVisibilityProperty

Identifies the HorizontalScrollBarVisibility dependency property.

LeftHeaderProperty

Identifies the LeftHeader dependency property.

RightHeaderProperty

Identifies the RightHeader dependency property.

TopHeaderProperty

Identifies the TopHeader dependency property.

TopLeftHeaderProperty

Identifies the TopLeftHeader dependency property.

TopRightHeaderProperty

Identifies the TopRightHeader dependency property.

VerticalScrollBarVisibilityProperty

Identifies the VerticalScrollBarVisibility dependency property.

Properties

Name Description
BottomHeader

Gets or sets the content of the bottom header.

BottomLeftHeader

Gets or sets the content of the bottom-left header.

BottomRightHeader

Gets or sets the content of the bottom right header.

ChildContent

Gets or sets the content of the scroll viewer.

HorizontalOffset

Gets the distance the content has been scrolled horizontally.

HorizontalScrollBarVisibility

Gets or sets a value that indicates whether a horizontal ScrollBar should be displayed.

Input

Gets or sets the callback that is called when input is received.

IsInServer

Gets whether the component is running on the server.

KeyDown

Gets or sets the callback that is called when a key is pressed.

KeyUp

Gets or sets the callback that is called when a key is pressed.

LeftHeader

Gets or sets the content of the left header.

RightHeader

Gets or sets the content of the right header.

SizeChanged

Gets or sets the callback that is called when the size changed.

TopHeader

Gets or sets the content of the top header.

TopLeftHeader

Gets or sets the content of the top-left header.

TopRightHeader

Gets or sets the content of the top right header.

VerticalOffset

Gets the distance the content has been scrolled vertically.

VerticalScrollBarVisibility

Gets or sets a value that indicates whether a vertical ScrollBar should be displayed.

ViewportChanged

Gets or sets the callback that is called when the viewport changed.

ViewportHeight

Gets the vertical size of the viewable content.

ViewportWidth

Gets the horizontal size of the viewable content.

Methods

Name Description
BuildRenderTree(RenderTreeBuilder)
ChangeView(double?, double?)

Scrolls to the specified horizontalOffset and verticalOffset position.

ChangeViewAsync(double?, double?)

Scrolls to the specified horizontalOffset and verticalOffset position.

Dispose(bool)
FocusAsync()

Sets the focus in the component.

InitializeAsync()

This method is called when the component is initialized.

OnAfterRender(bool)