protected override void OnBoundsChanged(RadPropertyChangedEventArgs e) { base.OnBoundsChanged(e); if (this.LayoutManager.IsUpdating) { return; } RadScrollablePanel control = this.ElementTree.Control as RadScrollablePanel; if (control == null || control.AutoSize || e.NewValueSource != ValueSource.Animation) { return; } control.Size = this.Size; }
public override ControlStyleBuilderInfoList GetThemeDesignedControls(System.Windows.Forms.Control previewSurface) { ControlStyleBuilderInfoList result = new ControlStyleBuilderInfoList(); RadScrollablePanel panelPreview = new RadScrollablePanel(); panelPreview.Size = new System.Drawing.Size(450, 450); RadScrollablePanel panelStructure = new RadScrollablePanel(); panelStructure.Size = new System.Drawing.Size(450, 450); ControlStyleBuilderInfo info = new ControlStyleBuilderInfo(panelPreview, panelStructure.RootElement); result.Add(info); return(result); }
/// <summary> /// Creates an instance of the <see cref="Telerik.WinControls.UI.RadScrollablePanelContainer"/> /// class. /// </summary> /// <param name="parentPanel">An instance of the <see cref="Telerik.WinControls.UI.RadScrollablePanel"/> /// class which represents the owner of this container.</param> public RadScrollablePanelContainer(RadScrollablePanel parentPanel) { this.DoubleBuffered = true; this.SetStyle(ControlStyles.Selectable, true); this.parentPanel = parentPanel; }
public RadScrollablePanelControlCollection(RadScrollablePanel owner) : base((Control)owner) { this.owner = owner; }
public CollapsiblePanelControlsContainerControlsCollection(RadScrollablePanel owner) : base(owner) { this.owner = owner; }
public DataEntryScrollablePanelContainer(RadScrollablePanel parentPanel) : base(parentPanel) { }
public CollapsiblePanelPanelContainer(RadScrollablePanel parentPanel) : base(parentPanel) { }