public ViewportPanel(ViewportControl owner) { _owner = owner; base.SetStyle(ControlStyles.ResizeRedraw, true); }
public ViewportPanel(ViewportControl owner) { _owner = owner; base.SetStyle(ControlStyles.ResizeRedraw, true); }
public override void Initialize(IComponent component) { base.Initialize(component); _viewportControl = component as ViewportControl; EnableDesignMode(_viewportControl.ContentPanel, "ScrollableControl1"); }