Version

GetLogicalName Method (XamMenuBaseProxy)

Overrides the Logical name of the XamContextMenu control to return the name of the context menu(if any), else the name of its target control(if any), else the location of the target control
Syntax
'Declaration
 
Protected Overrides Function GetLogicalName( _
   ByVal element As System.Windows.FrameworkElement _
) As System.String
protected override System.string GetLogicalName( 
   System.Windows.FrameworkElement element
)
protected: System.string* GetLogicalName( 
   System.Windows.FrameworkElement* element
) override 

Parameters

element
The XamContextMenu control

Return Value

Returns the computed locgical name for the XamContextMenu control
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