Table of Contents

Class ScrollViewerStyle

Namespace
Myra.Graphics2D.UI.Styles
Assembly
Myra.dll

Style class that defines the visual appearance of scroll viewer widgets.

public class ScrollViewerStyle : WidgetStyle
Inheritance
ScrollViewerStyle
Inherited Members

Constructors

ScrollViewerStyle()

Initializes a new instance of the ScrollViewerStyle class.

public ScrollViewerStyle()

ScrollViewerStyle(ScrollViewerStyle)

Initializes a new instance of the ScrollViewerStyle class by copying properties from another style.

public ScrollViewerStyle(ScrollViewerStyle style)

Parameters

style ScrollViewerStyle

The source scroll viewer style to copy from.

Properties

HorizontalScrollBackground

Gets or sets the image used for the horizontal scrollbar background.

public IImage HorizontalScrollBackground { get; set; }

Property Value

IImage

HorizontalScrollKnob

Gets or sets the image used for the horizontal scrollbar thumb (draggable knob).

public IImage HorizontalScrollKnob { get; set; }

Property Value

IImage

VerticalScrollBackground

Gets or sets the image used for the vertical scrollbar background.

public IImage VerticalScrollBackground { get; set; }

Property Value

IImage

VerticalScrollKnob

Gets or sets the image used for the vertical scrollbar thumb (draggable knob).

public IImage VerticalScrollKnob { get; set; }

Property Value

IImage

Methods

Clone()

Creates a deep copy of this scroll viewer style.

public override WidgetStyle Clone()

Returns

WidgetStyle

A new ScrollViewerStyle instance with the same properties.