DotNet 4.8.1 build of DotNetBar
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using DevComponents.DotNetBar.Layout;
|
||||
using System.Collections;
|
||||
|
||||
namespace DevComponents.DotNetBar.Layout.Design
|
||||
{
|
||||
public class LayoutControlItemDesigner : LayoutItemBaseDesigner
|
||||
{
|
||||
#region Constructor
|
||||
|
||||
#endregion
|
||||
|
||||
#region Implementation
|
||||
public override System.Collections.ICollection AssociatedComponents
|
||||
{
|
||||
get
|
||||
{
|
||||
LayoutControlItem item = (LayoutControlItem)this.Component;
|
||||
|
||||
if (item.Control != null && item.Control.Site != null)
|
||||
{
|
||||
ArrayList list = new ArrayList();
|
||||
list.Add(item.Control);
|
||||
return list;
|
||||
}
|
||||
|
||||
return base.AssociatedComponents;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user