CommandItem Class
This is for internal use only.
Class to represent a command item without a dependency on WPF or other UI framework, so that view models can use this to populate command item data and the UI can be responsible for how is render using a DataTemplate.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Controls.WPF.CommandItem
Namespace: Microsoft.TeamFoundation.Controls.WPF
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public Class CommandItem
public class CommandItem
public ref class CommandItem
type CommandItem = class end
public class CommandItem
The CommandItem type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CommandItem(String, ICommand, ImageSource) | ||
CommandItem(String, ICommand, ImageSource, Object) |
Top
Properties
Name | Description | |
---|---|---|
Command | ||
Icon | ||
Param | ||
Title |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.