mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-16 01:41:14 +08:00
26 lines
577 B
C#
26 lines
577 B
C#
using Microsoft.AspNetCore.Components;
|
|
using System.Collections.Generic;
|
|
|
|
namespace AntDesign
|
|
{
|
|
public class SliderMark
|
|
{
|
|
public double Key { get; }
|
|
public RenderFragment Value { get; }
|
|
public string Style { get; }
|
|
|
|
public SliderMark(double key, string value)
|
|
{
|
|
Key = key;
|
|
Value = (b) => b.AddContent(0, value);
|
|
}
|
|
|
|
public SliderMark(double key, RenderFragment value, string style)
|
|
{
|
|
Key = key;
|
|
Value = value;
|
|
Style = style;
|
|
}
|
|
}
|
|
}
|