The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
When I try to get to the form controls to get the bar items the bi are layered into the CommandDockBarExt. Is there anyway to get to the bar item generically?
Syncfusion.Windows.Forms.Tools.XPMenus.CommandDockBarExt ctl;
Control returnControl=null;
foreach(Control con in container.Controls)
{
if (con.GetType() == typeof(Syncfusion.Windows.Forms.Tools.XPMenus.CommandDockBarExt))
{
ctl = (CommandDockBarExt)con;
//Can't get the controllerEXT from the ctl.
//Thus unable to get to the baritems. There has to be a way to get to this...
// foreach(BarItem bi in ctl.controllerExt.Manager.Items)
// {
// MessageBox.Show(bi.Text);
//// if( == name)
//// {
//// returnControl = bi;
//// }
// }
}
else
{
if (con.HasChildren)
returnControl=GetControl(con,name);
else
if(con.Name==name)
returnControl = con;
}
//if found stop searching
if(returnControl !=null)
break;
}
return returnControl;