Gets or sets an array of buttons the button bar consists of. The maximum size of the array is 31 buttons.
public Button[] ButtonPositions { get; set; }
Public Property ButtonPositions() As Button()
Member | Description |
---|---|
Alignment |
Specifies a button for setting a left aligned paragraph. |
Alignment |
Specifies a button for setting a right aligned paragraph. |
Alignment |
Specifies a button for setting a centered paragraph. |
Alignment |
Specifies a button for setting a justified paragraph. |
Control |
Specifies a button for showing or hiding control characters. |
Decrease |
Specifies a button for decreasing a paragraph's indent. |
Font |
Specifies a combobox containing all fonts of the current formatting device. |
Font |
Specifies a combobox containing all sizes of the current font. |
Font |
Specifies a button for setting the font bold attribute. |
Font |
Specifies a button for setting the font italic attribute. |
Font |
Specifies a button for setting the font underline attribute. |
Grow |
Specifies a button for growing the font size. |
Increase |
Specifies a button for increasing a paragraph's indent. |
Left |
Specifies a button to set a paragraph's text direction from left to right. |
List |
Specifies a button for setting a bulleted list. |
List |
Specifies a button for setting a numbered list. |
List |
Specifies a button for setting a structured numbered list. |
Right |
Specifies a button to set a paragraph's text direction from right to left. |
Shrink |
Specifies a button for shrinking the font size. |
Strike |
Specifies a button for setting the font strike out attribute. |
Style |
Specifies a combobox containing the document's formatting styles. |
Subscript |
Specifies a button for setting the baseline of selected text to subscript. |
Superscript |
Specifies a button for setting the baseline of selected text to superscript. |
Tab |
Specifies a button for selecting a left aligned tab. |
Tab |
Specifies a button for selecting a right aligned tab. |
Tab |
Specifies a button for selecting a centered tab. |
Tab |
Specifies a button for selecting a decimal tab. |
XMLAdd |
Specifies a combobox for inserting XML elements. |
XMLRemove |
Specifies a combobox for deleting XML elements. |
Zoom |
Specifies a combobox for setting the current zoom factor. |
In this example, the Button
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};
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}