Highlight of DockTabControl

Posted by: vinothkumar.r2210 on 16 September 2020, 9:54 pm EST

    • Post Options:
    • Link

    Posted 16 September 2020, 9:54 pm EST - Updated 3 October 2022, 11:50 pm EST

    Hi,

    I have two C1DockTabControls inside C1DockControl. I want to know which docktabcontrol is selected. Please let me know if is there any properties available to get the selected docktabcontrol. Please find the below screenshot and code snippet for reference.

    <c1:C1DockControl x:Name=“dockControl” Grid.Row=“2”>

    <c1:C1DockGroup Name=“dockGroup”>

    c1:C1DockTabControl

    <c1:C1DockTabItem Header=“DockControl 1”></c1:C1DockTabItem>

    </c1:C1DockTabControl>

    c1:C1DockTabControl

    <c1:C1DockTabItem Header=“DockControl 2”></c1:C1DockTabItem>

    </c1:C1DockTabControl>

    </c1:C1DockGroup>

    </c1:C1DockControl>

    Thanks and Regards,

    Vinoth Kumar Ravi

  • Posted 17 September 2020, 9:30 pm EST

    Hi Vinoth,

    You can use the IsSelected property of C1DockTabItem. If needed you can traverse through the items through the Items property of dockControl.

    Regards,

  • Posted 21 September 2020, 6:16 pm EST

    Hi Ruchir,

    Thanks for the reply. It works fine.

    Thanks and Regards,

    Vinoth Kumar Ravi

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels