diff --git a/Documentation/Blazorise.Docs/Components/ComponentApiDocs.razor b/Documentation/Blazorise.Docs/Components/ComponentApiDocs.razor index c0f9476371..502ae0b01f 100644 --- a/Documentation/Blazorise.Docs/Components/ComponentApiDocs.razor +++ b/Documentation/Blazorise.Docs/Components/ComponentApiDocs.razor @@ -14,8 +14,18 @@ { foreach (var property in ApiDocsForComponent.Properties.OrderBy(x=>x.Name)) { - + @((MarkupString)property.Description) + + @if (property.IsBlazoriseEnum) + { + Possible values: + for (int i = 0; i < Enum.GetNames(property.Type).Length; i++) + { + int i1 = i; + @Enum.GetNames(property.Type)[i1]@(i < Enum.GetNames(property.Type).Length-1? ", ":"") + } + } } }