public sealed class TabItemOne tab's header.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
A tab without the panel it shows is half a thing, and the pairing has to be made somewhere that can put the two in different parts of the tree. That used to mean AddTab and only AddTab; it now means OnCreated, so that a tab written in markup is the same tab.
⚠ The pairing moved to a lifecycle hook rather than growing a second maker. AddTab could not be what markup calls — a .vxml writes tags, and the tag is what has to work. Leaving the pairing in AddTab and adding an equivalent for the declarative path would be two ways to half-build a tab, and the day they disagreed the symptom would be a panel with nothing in it. So AddTab now does what markup does: it adds a TabItem to the strip and lets the tab join.
Fields and properties (6)
protected override string TagNameThe element name this type answers to when a caller does not choose one.
public UiElement PanelThe panel this tab shows.
public bool IsSelectedWhether this is the tab currently showing.
protected override AccessibleRole NativeRoleprotected override AccessibleStates NativeAccessibleStateprotected override UiElement ContentHostA tab's content is its panel's content.
Methods (3)
protected override void Activate(ActivationDevice device, int count, ModifierKeys modifiers)protected override void OnCreated()protected override void OnRemoved()
Used by (8)
- GalleryHelloUi
- AccessibilityTreeTestsVixen.Ui.Controls.Tests
- SelectionTestsVixen.Ui.Controls.Tests
- TabbedSheetVixen.Ui.Controls.Tests
- TabsVixen.Ui.Controls
- PrefabViewVixen.Editor.AssetEditors
- SceneEditorFactoryVixen.Editor.AssetEditors
- TextureImportViewVixen.Editor.AssetEditors