ant-design-blazor/components/core/ForwardRef.cs

21 lines
370 B
C#
Raw Normal View History

2019-12-08 00:51:07 +08:00
using Microsoft.AspNetCore.Components;
namespace AntBlazor
{
public class ForwardRef
{
private ElementReference _current;
public ElementReference Current
{
get => _current;
set => Set(value);
}
public void Set(ElementReference value)
{
_current = value;
}
}
}