Syncfusion.Grid.Windows


BorderMargins Property

Gets or sets extra border margins in pixels. When drawing a cell, this specifies the area between the cell rectangle without border and the inner rectangle of the cell with cell buttons. Is most useful if you want to customize GridControlBase.DrawCellFrameAppearance
Syntax
'Declaration
 
<DescriptionAttribute("Holds extra border margins in pixels. ")>
<NotifyParentPropertyAttribute(True)>
<BrowsableAttribute(True)>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)>
<SRCategoryAttribute("StyleCategoryAppearance")>
Public Property BorderMargins As GridMarginsInfo
'Usage
 
Dim instance As GridStyleInfo
Dim value As GridMarginsInfo
 
instance.BorderMargins = value
 
value = instance.BorderMargins
[Description("Holds extra border margins in pixels. ")]
[NotifyParentProperty(true)]
[Browsable(true)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[SRCategory("StyleCategoryAppearance")]
public GridMarginsInfo BorderMargins {get; set;}
Remarks

The default value for the BorderMargins property is GridMarginsInfo.Empty.

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

AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also