Syncfusion.Grid.Windows


TextMargins Property (GridStyleInfo)

Gets or sets text margins in pixels. When drawing a cell, this specifies the empty area between the text rectangle and the client rectangle of the cell without borders and cell buttons.
Syntax
'Declaration
 
<DescriptionAttribute("Holds text margins in pixels. When drawing a cell, this specifies the empty area between the text rectangle and the client rectangle of the cell without borders and cell buttons.")>
<NotifyParentPropertyAttribute(True)>
<BrowsableAttribute(True)>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)>
<SRCategoryAttribute("Appearance")>
Public Property TextMargins As GridMarginsInfo
'Usage
 
Dim instance As GridStyleInfo
Dim value As GridMarginsInfo
 
instance.TextMargins = value
 
value = instance.TextMargins
[Description("Holds text margins in pixels. When drawing a cell, this specifies the empty area between the text rectangle and the client rectangle of the cell without borders and cell buttons.")]
[NotifyParentProperty(true)]
[Browsable(true)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[SRCategory("Appearance")]
public GridMarginsInfo TextMargins {get; set;}
Remarks

The default value for the TextMargins property is GridMarginsInfo.Default.

The property affects the behavior or appearance of the following cell types:

AssemblyVersion

Syncfusion.Grid.Windows: 17.1460.0.47

See Also