Resets the separator array to its default state.

ResetButtonSeparators()

public void ResetButtonSeparators();
Public Sub ResetButtonSeparators()

Examples

This example describes how to use the 'ResetButtonSeparators' method. Here, the 'ButtonSeparators' property is reset to its system dependent default value.

TXTextControl.ButtonBar buttonBar1 = new TXTextControl.ButtonBar();
buttonBar1.ReadOnly = false;
buttonBar1.ButtonPositions = new TXTextControl.Button[]{ 
                                 TXTextControl.Button.FontBoldButton,
                                 TXTextControl.Button.FontItalicButton};
buttonBar1.ButtonSeparators = new bool[] { true }; // in this line the ButtonSeparators are set.
buttonBar1.ButtonOffsets = new int[] { 30 };

buttonBar1.ResetButtonSeparators(); // here, the ButtonSeparators are reset to its default state.
Dim buttonBar1 As TXTextControl.ButtonBar = New TXTextControl.ButtonBar()
buttonBar1.[ReadOnly] = False
buttonBar1.ButtonPositions = New TXTextControl.Button() {TXTextControl.Button.FontBoldButton, TXTextControl.Button.FontItalicButton}
buttonBar1.ButtonSeparators = New Boolean() {True} ' in this line the ButtonSeparators are set.
buttonBar1.ButtonOffsets = New Integer() {30}

buttonBar1.ResetButtonSeparators() ' here, the ButtonSeparators are reset to its default state.