C# Class ComponentFactory.Krypton.Ribbon.KryptonRibbonQATButton

Inheritance: System.ComponentModel.Component, IQuickAccessToolbarButton
Afficher le fichier Open project: Cocotteseb/Krypton Class Usage Examples

Private Properties

Свойство Type Description
GetEnabled bool
GetImage Image
GetShortcutKeys Keys
GetText string
GetToolTipBody string
GetToolTipImage Image
GetToolTipImageTransparentColor Color
GetToolTipStyle LabelStyle
GetToolTipTitle string
GetVisible bool
ResetTag void
SetRibbon void
SetVisible void
ShouldSerializeImage bool
ShouldSerializeShortcutKeys bool
ShouldSerializeTag bool

Méthodes publiques

Méthode Description
Hide ( ) : void

Make the ribbon tab hidden.

KryptonRibbonQATButton ( ) : System

Initialise a new instance of the KryptonRibbonQATButton class.

PerformClick ( ) : void

Generates a Click event for a button.

ResetShortcutKeys ( ) : void

Resets the ShortcutKeys property to its default value.

Show ( ) : void

Make the ribbon tab visible.

Méthodes protégées

Méthode Description
OnClick ( EventArgs e ) : void

Raises the Click event.

OnCommandPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles a change in the property of an attached command.

OnPropertyChanged ( string propertyName ) : void

Raises the PropertyChanged event.

Private Methods

Méthode Description
GetEnabled ( ) : bool
GetImage ( ) : Image
GetShortcutKeys ( ) : Keys
GetText ( ) : string
GetToolTipBody ( ) : string
GetToolTipImage ( ) : Image
GetToolTipImageTransparentColor ( ) : Color
GetToolTipStyle ( ) : LabelStyle
GetToolTipTitle ( ) : string
GetVisible ( ) : bool
ResetTag ( ) : void
SetRibbon ( KryptonRibbon ribbon ) : void
SetVisible ( bool visible ) : void
ShouldSerializeImage ( ) : bool
ShouldSerializeShortcutKeys ( ) : bool
ShouldSerializeTag ( ) : bool

Method Details

Hide() public méthode

Make the ribbon tab hidden.
public Hide ( ) : void
Résultat void

KryptonRibbonQATButton() public méthode

Initialise a new instance of the KryptonRibbonQATButton class.
public KryptonRibbonQATButton ( ) : System
Résultat System

OnClick() protected méthode

Raises the Click event.
protected OnClick ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
Résultat void

OnCommandPropertyChanged() protected méthode

Handles a change in the property of an attached command.
protected OnCommandPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
sender object Source of the event.
e System.ComponentModel.PropertyChangedEventArgs A PropertyChangedEventArgs that contains the event data.
Résultat void

OnPropertyChanged() protected méthode

Raises the PropertyChanged event.
protected OnPropertyChanged ( string propertyName ) : void
propertyName string Name of property that has changed.
Résultat void

PerformClick() public méthode

Generates a Click event for a button.
public PerformClick ( ) : void
Résultat void

ResetShortcutKeys() public méthode

Resets the ShortcutKeys property to its default value.
public ResetShortcutKeys ( ) : void
Résultat void

Show() public méthode

Make the ribbon tab visible.
public Show ( ) : void
Résultat void