// 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
{
///
/// 简单的文档控件,支持图片字符控件等元素布局,支持每个字符设置样式
///
public partial class DocumentBlock : Element
{
[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; }
}
}