If the children property is not null then the expand children arrow will display.
It displays even if the children is an empty array.
This may be a feature but seems more like a bug to me.
<
TelerikMenu
Data
=
"@MenuItems"
Orientation
=
"MenuOrientation.Vertical"
UrlField
=
"@nameof(MenuItem.Url)"
ItemsField
=
"@nameof(MenuItem.Children)"
TextField
=
"@nameof(MenuItem.Text)"
ImageUrlField
=
"@nameof(MenuItem.Image)"
>
</
TelerikMenu
>
public
class
MenuItem
{
public
string
Text {
get
;
set
; } =
""
;
public
string
Url {
get
;
set
; } =
""
;
public
string
Image {
get
;
set
; } =
""
;
public
MenuItem[] Children {
get
;
set
; } // Arrow will show on all items if: = Array.Empty<MenuItem>();
}