Class ToolBarButtonDefinition
Definition of an ToolBarButton
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public class ToolBarButtonDefinition
Constructors
View SourceToolBarButtonDefinition()
Creates a new instance of the ToolBarButtonDefinition class.
Declaration
public ToolBarButtonDefinition()
ToolBarButtonDefinition(Guid?)
Creates a new instance of the ToolBarButtonDefinition class.
Declaration
public ToolBarButtonDefinition(Guid? id)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid? | id | The identifier. |
Properties
View SourceCommand
Gets or sets the command of the Button.
Declaration
public ICommand Command { get; set; }
Property Value
| Type | Description |
|---|---|
| ICommand |
CommandParameter
Gets or sets the command parameter of the Button.
Declaration
public object CommandParameter { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
Content
Gets or sets the content of the Button.
Declaration
public object Content { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
Id
The unique identifier of the ToolBarButtonDefinition.
Declaration
public Guid? Id { get; }
Property Value
| Type | Description |
|---|---|
| Guid? |
Tooltip
Gets or sets the tooltip of the Button.
Declaration
public object Tooltip { get; set; }
Property Value
| Type | Description |
|---|---|
| object |