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 } }