CPF/CPF.Razor/Controls/generated/DocumentBlock.generated.cs
2024-01-08 20:55:43 +08:00

29 lines
871 B
C#

// CPF自动生成.
using CPF;
using CPF.Controls;
using CPF.Drawing;
using CPF.Input;
using CPF.Razor;
using CPF.Shapes;
using Microsoft.AspNetCore.Components;
namespace CPF.Razor.Controls
{
/// <summary>
/// 简单的文档控件,支持图片字符控件等元素布局,支持每个字符设置样式
/// </summary>
public partial class DocumentBlock : Element<CPF.Controls.DocumentBlock>
{
[Parameter] public string Background { get; set; }
[Parameter] public string FontFamily { get; set; }
[Parameter] public float? FontSize { get; set; }
[Parameter] public FontStyles? FontStyle { get; set; }
[Parameter] public string Foreground { get; set; }
[Parameter] public string Text { get; set; }
[Parameter] public TextDecoration? TextDecoration { get; set; }
}
}