Files
lux/Lux.UI/Components/Pages/Resources.razor.cs
T
2026-06-09 17:18:48 +02:00

39 lines
770 B
C#

namespace Lux.UI.Components.Pages
{
public partial class Resources
{
#region Private Properties
private string searchVal { get; set; } = string.Empty;
private string btnResetCss
{
get => string.IsNullOrEmpty(searchVal) ? "btn-outline-secondary" : "btn-primary";
}
private string SearchVal
{
get => searchVal;
set
{
if (searchVal != value)
{
searchVal = value;
}
}
}
#endregion Private Properties
#region Private Methods
private void ResetSearch()
{
SearchVal = "";
}
#endregion Private Methods
}
}