BinaryRibbonThumbnailControl
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
ImageSource | Gets or sets the image source. |
Stretch | Gets or sets the stretch aspect for this instance. |
OnMouseEnter | Raises the MouseEnter event. BinaryRibbonThumbnailControl overrides it so the control's own handling runs alongside the base behavior. |
OnMouseLeave | Raises the MouseLeave event. BinaryRibbonThumbnailControl overrides it so the control's own handling runs alongside the base behavior. |
OnMouseLeftButtonDown | Raises the MouseLeftButtonDown event. BinaryRibbonThumbnailControl overrides it so the control's own handling runs alongside the base behavior. |
OnMouseLeftButtonUp | Raises the MouseLeftButtonUp event. BinaryRibbonThumbnailControl overrides it so the control's own handling runs alongside the base behavior. |
ImageSourceProperty | Identifies the ImageSource dependency property. |
StretchProperty | StretchProperty property. |
Properties
ImageSource
Gets or sets the image source.
Value. The image source.
Stretch
Gets or sets the stretch aspect for this instance.
Value. The stretch.
Methods
OnMouseEnter
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
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
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
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
Identifies the ImageSource dependency property.
StretchProperty
StretchProperty property.