Resets the button array to its default state.
public void ResetButtonPositions();
Public Sub ResetButtonPositions()
The following example demonstrates how to use the 'Reset
TXTextControl.ButtonBar buttonBar1 = new TXTextControl.ButtonBar();
buttonBar1.ReadOnly = false;
buttonBar1.ButtonPositions = new TXTextControl.Button[]{ // in these lines the ButtonPositions are set.
TXTextControl.Button.FontBoldButton,
TXTextControl.Button.FontItalicButton};
buttonBar1.ButtonSeparators = new bool[] { true };
buttonBar1.ButtonOffsets = new int[] { 30 };
buttonBar1.ResetButtonPositions(); // here, the ButtonPositions are reset to its default state.