mirror of
https://gitee.com/csharpui/CPF.git
synced 2025-06-28 13:34:09 +08:00
29 lines
871 B
C#
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; }
|
||
|
|
||
|
}
|
||
|
}
|