Exemple #1
0
 internal XPanderPanelCollection(XPanderPanelList xpanderPanelList)
 {
     this.m_xpanderPanelList = xpanderPanelList;
     this.m_controlCollection = this.m_xpanderPanelList.Controls;
 }
Exemple #2
0
 /// <summary>
 /// Initializes the designer with the specified component.
 /// </summary>
 /// <param name="component">The IComponent to associate with the designer.</param>
 public override void Initialize(System.ComponentModel.IComponent component)
 {
     base.Initialize(component);
     this.m_xpanderPanelList = (XPanderPanelList)this.Control;
     //Disable the autoscroll feature for the control during design time.  The control
     //itself sets this property to true when it initializes at run time.  Trying to position
     //controls in this control with the autoscroll property set to True is problematic.
     this.m_xpanderPanelList.AutoScroll = false;
 }