New to Telerik UI for WPFStart a free 30-day trial

Ribbon specific scroll viewer.

Definition

Namespace:Telerik.Windows.Controls.RibbonView.Primitives

Assembly:Telerik.Windows.Controls.RibbonView.dll

Syntax:

C#
[Themable]
public class RibbonScrollViewer : ContentControl

Inheritance: objectRibbonScrollViewer

Constructors

Initializes a new instance of the RibbonScrollViewer class.

C#
public RibbonScrollViewer()

Fields

OffsetProperty

DependencyProperty

Identifies the Offset DependencyProperty.

C#
public static readonly DependencyProperty OffsetProperty

Properties

Gets or sets the horizontal Offset.

C#
public double Offset { get; set; }

Methods

Called when the control is measured.

C#
protected override Size MeasureOverride(Size availableSize)
Parameters:availableSizeSizeReturns:

Size

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call .

C#
public override void OnApplyTemplate()

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Resets the theme.

C#
public void ResetTheme()