CommandItem Constructor (String, ICommand, ImageSource)
Namespace: Microsoft.TeamFoundation.Controls.WPF
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public Sub New ( _
title As String, _
command As ICommand, _
icon As ImageSource _
)
public CommandItem(
string title,
ICommand command,
ImageSource icon
)
public:
CommandItem(
String^ title,
ICommand^ command,
ImageSource^ icon
)
new :
title:string *
command:ICommand *
icon:ImageSource -> CommandItem
public function CommandItem(
title : String,
command : ICommand,
icon : ImageSource
)
Parameters
- title
Type: System.String
- command
Type: System.Windows.Input.ICommand
- icon
Type: System.Windows.Media.ImageSource
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.