Version

GetCaption Method

Gets the string caption associated with a given XamRibbon tool.
Syntax
'Declaration
 
Public Shared Function GetCaption( _
   ByVal d As DependencyObject _
) As String
public static string GetCaption( 
   DependencyObject d
)

Parameters

d
The tool for which the value is being requested

Return Value

The string caption or null if one hasn't been provided.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also