RadzenListBox template visibility binding

Given the class:

public Class UploadTask
{
    public double UploadProgress {get; set;}
    public bool PbarIsVisible {get;set;}
    ....

Inside a RadzenListBox template i can bind a RadzenProgressBar value to the progress field with:

@bind-Value="(context as UploadTask).UploadProgress"

But, how can i bind the PbarIsVisible field to the visibility of the RadzenProgressBar?

Thanks!

Hi @husk3rdu,

The Visible property does not support two-way binding at the moment hence there is no @bind-Visible. The reason is simple - the Progress does not hide itself so it never changes the Visible property.