Closed

Dialog kapatılırken tetiklen olay

private void LDPDialog1_Closed(LDP.Controls.UIContracts.Base.ILDPControl sender)
{
}

Shown

Dialog görünür duruma getirildiğinde tetiklenen olay

private void LDPDialog1_Shown(LDP.Controls.UIContracts.Base.ILDPControl sender)
{
}

OnCreateFooterButtons

Dialog bileşeninde ihtiyaç duyulan butonların koddan eklenebilmesini sağlayan olay

Örnek ekran görüntüsü

using LDP.Controls.Misc;
using LDP.Controls.UIContracts.Misc;
using System.Collections.Generic;

private System.Collections.Generic.IEnumerable<LDP.Controls.Misc.LDPButton> LDPDialog1_OnCreateFooterButtons(System.Collections.Generic.IEnumerable<LDP.Controls.Misc.LDPButton> currentButtons)
{
     return new List<LDPButton>()
     {
         new LDPButton()
         { 
            ID = "NewDialogButton",
            Text = "Click Me", 
         }
     };
}