Version

GetCheckState Method (XamRibbonProxy)

Returns the Check state of a checkable tool from its string value
Syntax
'Declaration
 
Protected Function GetCheckState( _
   ByVal sStateValue As System.String _
) As System.Nullable(Of Boolean)
protected System.Nullable<bool> GetCheckState( 
   System.string sStateValue
)
protected: System.Nullable<bool> GetCheckState( 
   System.string* sStateValue
) 

Parameters

sStateValue
The string value of the check state of a tool(from the Recorded action)

Return Value

Returns true to Check the tool, false to Uncheck it and null to set it to indeterminate state
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