RibbonControlService.SetLargeImageSource 方法

设置对象的 LargeImageSource 附加属性的值。

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

语法

声明
Public Shared Sub SetLargeImageSource ( _
    element As DependencyObject, _
    value As ImageSource _
)
public static void SetLargeImageSource(
    DependencyObject element,
    ImageSource value
)
public:
static void SetLargeImageSource(
    DependencyObject^ element, 
    ImageSource^ value
)
static member SetLargeImageSource : 
        element:DependencyObject * 
        value:ImageSource -> unit 
public static function SetLargeImageSource(
    element : DependencyObject, 
    value : ImageSource
)

参数

异常

异常 条件
ArgumentNullException

指定的 element 为 nullnull 引用(在 Visual Basic 中为 Nothing)。

.NET Framework 安全性

请参见

参考

RibbonControlService 类

Microsoft.Windows.Controls.Ribbon 命名空间