Partager via


IPivotViewerUICommand Interface

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Represents an ICommand that can be displayed in the PivotViewer.

Namespace:  System.Windows.Controls.Pivot
Assembly:  System.Windows.Controls.Pivot (in System.Windows.Controls.Pivot.dll)

Syntax

'Declaration
Public Interface IPivotViewerUICommand _
    Inherits ICommand
public interface IPivotViewerUICommand : ICommand

The IPivotViewerUICommand type exposes the following members.

Properties

  Name Description
Public property DisplayName Gets the display name of the action.
Public property Icon Gets the URI to an image to use for the icon associated with the action.
Public property ToolTip Gets the tooltip for the ICommand that provides the user with some guidance as to what the command does.

Top

Methods

  Name Description
Public method CanExecute Defines the method that determines whether the command can execute in its current state. (Inherited from ICommand.)
Public method Execute Defines the method to be called when the command is invoked. (Inherited from ICommand.)

Top

Events

  Name Description
Public event CanExecuteChanged Occurs when changes occur that affect whether the command should execute. (Inherited from ICommand.)

Top

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.