HeaderPane
Main
Hide
Share Link
Print

RestoreButton Property, ButtonsClass Class

Defines whether the Restore button is shown.

Class: ButtonsClass
Namespace: Softelvdm.SftTabsNET
Assembly: Softelvdm.SftTabsNET

Syntax

public bool RestoreButton { get; set; }
Public Property RestoreButton As Boolean

Value

True if the Restore button is shown, otherwise False.

The default value is False.

Comments

Defines whether the Restore button is shown.

Examples

C# View entire sample code

            sftTabs1.AllowReordering = checkReorder.Checked;
        }

        private void checkButtons_CheckedChanged(object sender, EventArgs e) {
            if (loading) return;
            RestorePages();
            sftTabs1.Buttons.CloseButton = checkButtons.Checked;
            sftTabs1.Buttons.MinimizeButton = checkButtons.Checked;
            sftTabs1.Buttons.RestoreButton = checkButtons.Checked;
        }

        private void checkToolTips_CheckedChanged(object sender, EventArgs e) {
            if (loading) return;
            sftTabs1.ShowToolTips = checkToolTips.Checked;
        }

VB.NET View entire sample code

    SftTabs1.AllowReordering = CheckReorder.Checked
End Sub

Private Sub CheckButtons_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckButtons.CheckedChanged
    If loading Then Return
    RestorePages()
    SftTabs1.Buttons.CloseButton = CheckButtons.Checked
    SftTabs1.Buttons.MinimizeButton = CheckButtons.Checked
    SftTabs1.Buttons.RestoreButton = CheckButtons.Checked
End Sub

Private Sub CheckToolTips_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckToolTips.CheckedChanged
    If loading Then Return
    SftTabs1.ShowToolTips = CheckToolTips.Checked
End Sub

See Also ButtonsClass Class | Classes | SftTabs/NET 3.0