File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/BootstrapBlazor.Server/Components/Samples Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 2727 Introduction =" @Localizer[" TreeViewNormalIntro " ]"
2828 Name =" Normal" >
2929 <section ignore >@( (MarkupString )Localizer [" TreeViewNormalDescription" ].Value ) </section >
30- <TreeView TItem =" TreeFoo" Items =" @Items " OnTreeItemClick =" @OnTreeItemClick" />
30+ <TreeView TItem =" TreeFoo" Items =" @NormalItems " OnTreeItemClick =" @OnTreeItemClick" />
3131 <ConsoleLogger @ref =" Logger1" />
3232</DemoBlock >
3333
Original file line number Diff line number Diff line change @@ -23,8 +23,11 @@ public sealed partial class TreeViews
2323 private ConsoleLogger ? Logger3 { get ; set ; }
2424
2525 private bool DisableCanExpand { get ; set ; }
26+
2627 private bool IsDisabled { get ; set ; }
2728
29+ private List < TreeViewItem < TreeFoo > > NormalItems { get ; } = TreeFoo . GetTreeItems ( ) ;
30+
2831 private List < TreeViewItem < TreeFoo > > Items { get ; } = TreeFoo . GetTreeItems ( ) ;
2932
3033 private bool AutoCheckChildren { get ; set ; }
You can’t perform that action at this time.
0 commit comments