Share via


IPreviewCommandSource Interface

Represents an object that can invoke an IPreviewCommand.

Namespace:  Microsoft.Windows.Input
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Interface IPreviewCommandSource _
    Inherits ICommandSource
public interface IPreviewCommandSource : ICommandSource
public interface class IPreviewCommandSource : ICommandSource
type IPreviewCommandSource =  
    interface
        interface ICommandSource
    end
public interface IPreviewCommandSource extends ICommandSource

The IPreviewCommandSource type exposes the following members.

Properties

  Name Description
Public property Command Gets the command that will be executed when the command source is invoked. (Inherited from ICommandSource.)
Public property CommandParameter Represents a user defined data value that can be passed to the command when it is executed. (Inherited from ICommandSource.)
Public property CommandTarget The object that the command is being executed on. (Inherited from ICommandSource.)
Public property PreviewCommandParameter Gets or sets the parameter that will be passed to the command.

Top

See Also

Reference

Microsoft.Windows.Input Namespace