Files
radzen-blazor/RadzenBlazorDemos/Models/Example.cs
Vasil Yordanov 7214cd7179 Add RadzenToc component (#2094)
RadzenToc component is a table of contents based on the titles in a page allowing users to quickly navigate the page.

---------

Co-authored-by: Atanas Korchev <akorchev@gmail.com>
2025-04-15 11:14:38 +03:00

26 lines
780 B
C#

using System.Collections.Generic;
namespace RadzenBlazorDemos
{
public class Example
{
public bool New { get; set; }
public bool Updated { get; set; }
public bool Pro { get; set; }
public string Name { get; set; }
public string Icon { get; set; }
public string Path { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public bool Expanded { get; set; }
public IEnumerable<Example> Children { get; set; }
public IEnumerable<string> Tags { get; set; }
public IEnumerable<ExampleSection> Toc { get; set; }
}
public class ExampleSection
{
public string Text { get; set; }
public string Anchor { get; set; }
}
}