35 lines
869 B
C#
35 lines
869 B
C#
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
|
|
}
|
|
}
|