ant-design-blazor/components/transfer/TransferItem.cs

34 lines
739 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace AntDesign
{
public class TransferItem
{
public string Key { get; set; } = "";
public string Title { get; set; } = "";
public string Description { get; set; } = "";
public bool Disabled { get; set; }
private readonly IDictionary<string, object> _properties = new Dictionary<string, object>();
public object this[string index]
{
get
{
return _properties[index];
}
set
{
_properties[index] = value;
}
}
}
}