有4个切换按钮,当我点击一个时,其他3个没有点击 例如,当我点击公开时,机密的点击将被删除。只能选择 1 个。
<toggleButton id="textButtonpublic" getLabel="getpublic" getImage="getcolor" onAction="PublicAction" getVisible="getvisiblepublic" getPressed="GetPressedPublic" />
public void PublicAction(IRibbonControl control, bool pressed){
GetPressedConfidential();}
public bool GetPressedConfidential(IRibbonControl control)
{
return false;
}
当我调用 GetPressedConfidential 方法时它不起作用。