From 865b7e558189b6697f9efcda8fcf595fb79515f1 Mon Sep 17 00:00:00 2001 From: Nadezhda Tacheva <73842592+ntacheva@users.noreply.github.com> Date: Mon, 6 Dec 2021 19:28:01 +0200 Subject: [PATCH] Update Dynamic Tabs readme (#139) * update readme Include Visible parameter info and link * Update tabstrip/DynamicTabs/readme.md Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com> Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com> --- tabstrip/DynamicTabs/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabstrip/DynamicTabs/readme.md b/tabstrip/DynamicTabs/readme.md index 3ac4ffd5..9203ff50 100644 --- a/tabstrip/DynamicTabs/readme.md +++ b/tabstrip/DynamicTabs/readme.md @@ -29,7 +29,7 @@ Comments in the code offer more details. You can dynamically create `TabStripTab` instances by looping through a collection of descriptors. To extract the underlying model from the currently active tab you can: 1. Create a collection of all Visible tabs - * This example shows how to do that by using the `Visible` property from the `TabDescriptor` as a condition. + * This example shows how to do that by using the `Visible` property from the `TabDescriptor` as a condition. **UI for Blazor 2.30 exposes a `Visible` parameter of the `TabStripTab` for easier control of tab visibility. Read more at [Tabs Configuration](https://docs.telerik.com/blazor-ui/components/tabstrip/tabs-configuration)** 1. Use the `ActiveTabIndex` and `ActiveTabIndexChanged` * In the handler for the `ActiveTabIndexChanged` event you can get the model from the collection of visible tabs based on the index received as an argument in the event. 1. Create a deep copy of the model and store it in a property. This would ensure that the model would not be change unintentionally.