CPF/CPF.Razor/Controls/Panel.cs

17 lines
462 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
{
public partial class Panel : Element<CPF.Controls.Panel>
{
2024-01-08 20:55:43 +08:00
//[Parameter] public string Background { get; set; }
2024-01-08 10:55:10 +08:00
[Parameter] public RenderFragment ChildContent { get; set; }
2024-01-09 00:39:58 +08:00
protected override RenderFragment GetChild() => ChildContent;
2024-01-08 10:55:10 +08:00
}
}