CPF/CPF.Razor/Controls/Panel.cs

22 lines
675 B
C#
Raw Normal View History

2024-01-08 10:55:10 +08:00
using Microsoft.AspNetCore.Components;
//using Microsoft.MobileBlazorBindings.Core;
using System;
using System.Collections.Generic;
using System.Text;
namespace CPF.Razor.Controls
{
2024-01-08 17:37:26 +08:00
/// <summary>
/// 测试
/// </summary>
2024-01-08 10:55:10 +08:00
public partial class Panel : Element<CPF.Controls.Panel>
{
[Parameter] public string Background { get; set; }
#pragma warning disable CA1721 // Property names should not match get methods
[Parameter] public RenderFragment ChildContent { get; set; }
#pragma warning restore CA1721 // Property names should not match get methods
protected override RenderFragment GetChildContent() => ChildContent;
}
}