Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1475
Windows Toggle Button Style Equivalent in Infragistics WInToolBar
posted

Hi-

 Is there any Tool type that serves the same purpose as Toggle buttons in Windows. I used e.button.pushed property in WIndows for button of style Toggle on the tool type but i can't find same property in infragistics. Any Idea?

 

Thanks-

Parents
  • 2765
    Verified Answer
    posted

    You can't get the Toggle style button in infragistics but still you may play with StateToolButton to get the same behaviour. Follow these steps to add and use state button:

    1. Add a new tool item with Tool Type  "State Button"

    2. in your tool click event. put this code.

    Dim oTool As Infragistics.Win.UltraWinToolbars.StateButtonTool
    oTool = tbmSessionDetails.Tools(ToolItemkey)
    If oTool.Checked Then
          ' Do something
     Else
            'Do Something
    End If

Reply Children
No Data