Version

GetFWElementFromSubItem Method (XamRibbonProxy)

Returns the visible UI framework element of the specified sub-item
Syntax
'Declaration
 
Protected Function GetFWElementFromSubItem( _
   ByVal oSubItem As System.Object, _
   ByVal bValidate As System.Boolean _
) As System.Windows.FrameworkElement
protected System.Windows.FrameworkElement GetFWElementFromSubItem( 
   System.object oSubItem,
   System.bool bValidate
)
protected: System.Windows.FrameworkElement* GetFWElementFromSubItem( 
   System.Object* oSubItem,
   System.bool bValidate
) 

Parameters

oSubItem
The specified sub-item
bValidate
Boolean of true checks if the sub-item is of a valid type

Return Value

Returns the visible UI framework element of the specified sub-item
Requirements

Target Platforms: Windows 7, 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