You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good request for TabItem. However TreeNode is not the same, that is just an ID and it’s up to the developer to manage the presentation of the tree nodes.
Is your feature request related to a problem? Please describe:
We cannot disable container.TabItem using attribute inside container.TabItem
Is it possible to construct a solution with the existing API?
if tabs.CurrentTabIndex() != 0 && someCondition {
fmt.Println("Disable!")
tabs.SelectTab(tabs.Items[0])
}
Describe the solution you'd like to see:
There is an attribute in container.TabItem named "Disable", default value is false.
When Disable is set to true, user cannot select this tab
The text was updated successfully, but these errors were encountered: