HypernovaDesktop Components · docs
Binarymission
WPFRibbon › BinaryRibbonThumbnailControl

BinaryRibbonThumbnailControl

class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Controls.Office

A custom control that acts as a thumbnail control as is seen in MS Office Ribbon applications.

public class BinaryRibbonThumbnailControl : ListBoxItem, IBinaryRibbonKeyTipControl

Inherits from / implements: ListBoxItem, IBinaryRibbonKeyTipControl

Members at a glance

ImageSourceGets or sets the image source.
StretchGets or sets the stretch aspect for this instance.
OnMouseEnterRaises the MouseEnter event. BinaryRibbonThumbnailControl overrides it so the control's own handling runs alongside the base behavior.
OnMouseLeaveRaises the MouseLeave event. BinaryRibbonThumbnailControl overrides it so the control's own handling runs alongside the base behavior.
OnMouseLeftButtonDownRaises the MouseLeftButtonDown event. BinaryRibbonThumbnailControl overrides it so the control's own handling runs alongside the base behavior.
OnMouseLeftButtonUpRaises the MouseLeftButtonUp event. BinaryRibbonThumbnailControl overrides it so the control's own handling runs alongside the base behavior.
ImageSourcePropertyIdentifies the ImageSource dependency property.
StretchPropertyStretchProperty property.

Properties

ImageSource

public ImageSource ImageSource

Gets or sets the image source.

Value. The image source.

Stretch

public Stretch Stretch

Gets or sets the stretch aspect for this instance.

Value. The stretch.

Methods

OnMouseEnter

protected override void OnMouseEnter(System.Windows.Input.MouseEventArgs e)

Raises the MouseEnter event. BinaryRibbonThumbnailControl overrides it so the control's own handling runs alongside the base behavior.

e
The data for the event.

OnMouseLeave

protected override void OnMouseLeave(System.Windows.Input.MouseEventArgs e)

Raises the MouseLeave event. BinaryRibbonThumbnailControl overrides it so the control's own handling runs alongside the base behavior.

e
The data for the event.

OnMouseLeftButtonDown

protected override void OnMouseLeftButtonDown(System.Windows.Input.MouseButtonEventArgs e)

Raises the MouseLeftButtonDown event. BinaryRibbonThumbnailControl overrides it so the control's own handling runs alongside the base behavior.

e
The data for the event.

OnMouseLeftButtonUp

protected override void OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs e)

Raises the MouseLeftButtonUp event. BinaryRibbonThumbnailControl overrides it so the control's own handling runs alongside the base behavior.

e
The data for the event.

Fields

ImageSourceProperty

public static readonly DependencyProperty ImageSourceProperty

Identifies the ImageSource dependency property.

StretchProperty

public static readonly DependencyProperty StretchProperty

StretchProperty property.