Back to Devexpress

RepositoryItemTextEdit.TextPadding Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemtextedit-b99a9303.md

latest1.6 KB
Original Source

RepositoryItemTextEdit.TextPadding Property

Gets or sets the text (value) padding within the editor.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Appearance")]
public Padding TextPadding { get; set; }
vb
<DXCategory("Appearance")>
Public Property TextPadding As Padding

Property Value

TypeDescription
Padding

The text (value) padding within the editor.

|

Remarks

The TextPadding property specifies paddings for editor text:

csharp
buttonEdit1.Properties.TextPadding = new Padding(10);
vb
buttonEdit1.Properties.TextPadding = New Padding(10)

See Also

RepositoryItemTextEdit Class

RepositoryItemTextEdit Members

DevExpress.XtraEditors.Repository Namespace