IPreviewCommandSource 接口

表示可调用 IPreviewCommand 的对象。

命名空间:  Microsoft.Windows.Input
程序集:  RibbonControlsLibrary(在 RibbonControlsLibrary.dll 中)

语法

声明
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

IPreviewCommandSource 类型公开以下成员。

属性

  名称 说明
公共属性 Command 获取将在调用命令源时执行的命令。 (继承自 ICommandSource。)
公共属性 CommandParameter 表示可在执行命令时传递给该命令的用户定义的数据值。 (继承自 ICommandSource。)
公共属性 CommandTarget 将在其上执行命令的对象。 (继承自 ICommandSource。)
公共属性 PreviewCommandParameter 获取或设置将传递给命令的参数。

页首

请参见

参考

Microsoft.Windows.Input 命名空间