Represents a selectable item in a ActiproSoftware.Windows.Controls.Ribbon.Controls.GalleryItem.Gallery.
- Inheritance:
-
object
Visual
UIElement
Framework
Element Control ContentControl ButtonBase Button object
Constructors
GalleryItem()
Initializes an instance of the class.
Properties
CanZoomIn
Gets whether mouse moves over the item can show a zoomed-in popup.
Property Value
- bool:
true
if mouse moves over the item can show a zoomed-in popup; otherwise,false
.
IsMouseOverBounds
Gets whether the mouse is really over the item.
Property Value
- bool:
true
if the mouse is really over the item; otherwise,false
.
Remarks
This is added because the zoomed-in popup won't let IsMouseOver
work appropriately.
IsSelected
Gets whether the item is selected.
Property Value
- bool:
true
if the item is selected; otherwise,false
.
ScreenTipDescription
Gets or sets the description object that will be displayed in screen tips for the control.
Property Value
- object:
The description object that will be displayed in screen tips for the control.
ScreenTipFooter
Gets or sets the footer object that will be displayed in screen tips for the control.
Property Value
- object:
The footer object that will be displayed in screen tips for the control.
ScreenTipHeader
Gets or sets the header object that will be displayed in screen tips for the control.
Property Value
- object:
The header object that will be displayed in screen tips for the control.
ScreenTipHelpUri
Gets or sets the System.Uri specifying the location of context-sensitive help related to the control when its screen tip is displayed and F1
is pressed.
Property Value
- Uri:
The System.Uri specifying the location of context-sensitive help related to the control when its screen tip is displayed and
F1
is pressed.
ScreenTipImageSource
Gets or sets the Image
Property Value
- Image
Source : The Image
Source for the image that will be displayed in screen tips for the control.
Methods
OnClick()
Occurs when the button is clicked.
OnMouseEnter(MouseEventArgs)
Occurs when the mouse enters the control.
Parameter | Type | Description |
---|---|---|
e | Mouse |
A Mouse |
OnMouseLeave(MouseEventArgs)
Occurs when the mouse leaves the control.
Parameter | Type | Description |
---|---|---|
e | Mouse |
A Mouse |
OnMouseLeftButtonUp(MouseButtonEventArgs)
Invoked when an unhandled Mouse
Parameter | Type | Description |
---|---|---|
e | Mouse |
The event data for the Mouse |
OnMouseMove(MouseEventArgs)
Invoked when an unhandled Mouse.Mouse
Parameter | Type | Description |
---|---|---|
e | Mouse |
A Mouse |
OnScreenTipClosing(RoutedEventArgs)
Invoked when an unhandled Screen
Parameter | Type | Description |
---|---|---|
e | Routed |
A |
Remarks
This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.
OnScreenTipOpening(RoutedEventArgs)
Invoked when an unhandled Screen
Parameter | Type | Description |
---|---|---|
e | Routed |
A |
Remarks
This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.
Events
ScreenTipClosing
Occurs before any screen tip on the control is closed.
Event Type
ScreenTipOpening
Occurs before any screen tip on the control is opened.
Event Type
Fields
CanZoomInProperty
Identifies the Can
IsMouseOverBoundsProperty
Identifies the Is
IsSelectedProperty
Identifies the Is
ScreenTipClosingEvent
Identifies the Screen
ScreenTipDescriptionProperty
Identifies the Screen
ScreenTipFooterProperty
Identifies the Screen
ScreenTipHeaderProperty
Identifies the Screen
ScreenTipHelpUriProperty
Identifies the Screen
ScreenTipImageSourceProperty
Identifies the Screen
ScreenTipOpeningEvent
Identifies the Screen