Simulates the effect of clicking this button.
If ButtonType is RebarButtonType.Toggle, the Checked property is toggled. If ButtonType is RebarButtonType.Group, the Checked property is set to true, and the Checked property of the other buttons in the group is set to false. Finally, the ButtonClick event is raised for the current button.
RebarButton Class | Skybound.Rebar Namespace