RadFlyoutBase: add title

This commit is contained in:
2024-06-10 09:59:34 +02:00
parent 9e8ca9140f
commit af6f4c07fa
3 changed files with 125 additions and 30 deletions

View File

@@ -13,8 +13,8 @@ public partial class RadFlyoutBase : UserControl
protected bool ActionPanelVisible
{
get => tableLayoutPanel_ActionButtons.Visible;
set => tableLayoutPanel_ActionButtons.Visible = value;
get => tableLayoutPanel_ActionPanel.Visible;
set => tableLayoutPanel_ActionPanel.Visible = value;
}
protected bool CancelButtonVisible
@@ -35,6 +35,18 @@ public partial class RadFlyoutBase : UserControl
set => radButton_Confirm.Enabled = value;
}
public string Title
{
get => radLabel_Title.Text;
set => radLabel_Title.Text = value;
}
public RadSvgImage TitleIcon
{
get => radLabel_Title.Icon;
set => radLabel_Title.Icon = value;
}
protected RadFlyoutBase()
{
InitializeComponent();