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

30 lines
827 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 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>
/// 用于内嵌原生控件一般来说原生控件无法使用渲染变换无法调整ZIndex只能在最前端可能无法透明。一般尽可能少用该控件
/// </summary>
public partial class NativeElement : Element<CPF.Controls.NativeElement>
{
/// <summary>
/// 背景色,有些平台可能无法透明
/// <summary>
[Parameter] public string BackColor { get; set; }
/// <summary>
/// 设置对应平台的控件句柄
/// <summary>
[Parameter] public object Content { get; set; }
}
}