C# Class ComponentFactory.Krypton.Ribbon.KryptonRibbonQATButton

Inheritance: System.ComponentModel.Component, IQuickAccessToolbarButton
Show file Open project: Cocotteseb/Krypton Class Usage Examples

Private Properties

Property 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

Public Methods

Method 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.

Protected Methods

Method 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

Method 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 method

Make the ribbon tab hidden.
public Hide ( ) : void
return void

KryptonRibbonQATButton() public method

Initialise a new instance of the KryptonRibbonQATButton class.
public KryptonRibbonQATButton ( ) : System
return System

OnClick() protected method

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

OnCommandPropertyChanged() protected method

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.
return void

OnPropertyChanged() protected method

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

PerformClick() public method

Generates a Click event for a button.
public PerformClick ( ) : void
return void

ResetShortcutKeys() public method

Resets the ShortcutKeys property to its default value.
public ResetShortcutKeys ( ) : void
return void

Show() public method

Make the ribbon tab visible.
public Show ( ) : void
return void