[]
        
(Showing Draft Content)

C1.WPF.Core.C1ScrollViewer

C1ScrollViewer Class

Represents a scrollable area that can contain other visible elements.

Namespace: C1.WPF.Core
Assembly: C1.WPF.Core.dll
Syntax
[StyleTypedProperty(Property = "ScrollTipStyle", StyleTargetType = typeof(ToolTip))]
public class C1ScrollViewer : ContentControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IDisposable

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.

BringIntoViewOnFocusChangeProperty

Identifies the BringIntoViewOnFocusChange dependency property.

EmptyBackgroundProperty

Identifies the EmptyBackground dependency property.

HorizontalScrollBarVisibilityProperty

Identifies the HorizontalScrollBarVisibility dependency property.

HorizontalSmallChangeProperty

Identifies the HorizontalSmallChange dependency property.

LeftHeaderProperty

Identifies the LeftHeader dependency property.

MaxZoomFactorProperty

Identifies the MaxZoomFactor dependency property.

MinZoomFactorProperty

Identifies the MinZoomFactor dependency property.

RightHeaderProperty

Identifies the RightHeader dependency property.

ScrollTipStyleProperty

Identifies the ScrollTipStyle 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.

VerticalSmallChangeProperty

Identifies the VerticalSmallChange dependency property.

ZoomModeProperty

Identifies the ZoomMode dependency property.

_emptyBackground

Gets or sets a brush that describes the background of an empty space in the corner between the vertical and horizontal scrollbars.

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.

BringIntoViewOnFocusChange

Gets or sets a value that determines whether the C1ScrollViewer uses a bring-into-view scroll behavior when an item in the view gets focus.

EmptyBackground

Gets or sets a brush that describes the background of an empty space in the corner between the vertical and horizontal scrollbars.

ExtentHeight

Gets the vertical size of all the scrollable content in the C1ScrollViewer.

ExtentWidth

Gets the horizontal size of all the scrollable content in the C1ScrollViewer.

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.

HorizontalSmallChange

Gets or sets how long the content is scrolled horizontally when pressing scrollbar buttons.

IsDisposed

Gets whether this instance is disposed.

LeftHeader

Gets or sets the content of the left header.

MaxZoomFactor

Gets or sets a value that indicates the maximum permitted run-time value of ZoomFactor.

MinZoomFactor

Gets or sets a value that indicates the minimum permitted run-time value of ZoomFactor.

RightHeader

Gets or sets the content of the right header.

ScrollTipStyle

Gets or set the style of the tooltip

ScrollableHeight

Gets a value that represents the vertical size of the area that can be scrolled; the difference between the height of the extent and the height of the viewport.

ScrollableWidth

Gets a value that represents the horizontal size of the area that can be scrolled; the difference between the width of the extent and the width of the viewport.

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.

VerticalSmallChange

Gets or sets how long the content is scrolled vertically when pressing scrollbar buttons.

ViewportHeight

Gets the vertical size of the viewable content.

ViewportWidth

Gets the horizontal size of the viewable content.

VisualChildrenCount
ZoomFactor

Gets a value that indicates the current zoom factor engaged for content scaling.

ZoomMode

Gets or sets a value that indicates whether zoom behavior in the ScrollViewer content is enabled.

Methods

Name Description
ArrangeOverride(Size)
ChangeView(double?, double?, double?, bool)

Changes the view.

Dispose()
Dispose(bool)
Finalize()

Finalizes this instance of the C1ScrollViewer class.

GetVisualChild(int)
HitTestCore(PointHitTestParameters)
MeasureOverride(Size)
OnApplyTemplate()
OnContentChanged(object, object)
OnCreateAutomationPeer()
OnMouseMove(MouseEventArgs)
OnRenderSizeChanged(SizeChangedInfo)
OnToolTipShown(ScrollBar)

Raises the ToolTipShown event, determining the appropriate tooltip position based on user-defined input or scrollbar movement.

OnViewChanged(C1ScrollViewerViewChangedEventArgs)

Raises the ViewChanged event.

OnViewChanging(C1ScrollViewerViewChangingEventArgs)

Raises the ViewChanging event.

Events

Name Description
ToolTipShown

Define the ToolTipShown event

ViewChanged

Occurs when manipulations such as scrolling and zooming have caused the view to change.

ViewChanging

Occurs when manipulations such as scrolling and zooming cause the view to change.