RibbonControlService.GetLargeImageSource 方法

获取对象的 LargeImageSource 附加属性的值。

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

语法

声明
Public Shared Function GetLargeImageSource ( _
    element As DependencyObject _
) As ImageSource
public static ImageSource GetLargeImageSource(
    DependencyObject element
)
public:
static ImageSource^ GetLargeImageSource(
    DependencyObject^ element
)
static member GetLargeImageSource : 
        element:DependencyObject -> ImageSource 
public static function GetLargeImageSource(
    element : DependencyObject
) : ImageSource

参数

返回值

类型:System.Windows.Media.ImageSource
对象的 LargeImageSource 属性值。

异常

异常 条件
ArgumentNullException

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

.NET Framework 安全性

请参见

参考

RibbonControlService 类

Microsoft.Windows.Controls.Ribbon 命名空间