TX Text Control .NET for Windows Forms

ButtonOffsets Property

Property
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets an array of additional offsets, in pixels, between the buttons. The maximum size of the array is 31.

Syntax

public int[] ButtonOffsets { get; set; }

Examples

The following example uses ButtonBar.ButtonOffsets to configure button offsets as part of the button bar workflow. The change is then applied to the active document or user interface.

buttonBar.ButtonOffsets = new int[] { 10 };
buttonBar.Update();