GrapeCity MultiRow Windows Forms Documentation
Padding Property (CellNoteStyle)


Gets or sets the space between the edge of a CellNote and its content.
Syntax
<DefaultValueAttribute()>
<SRCategoryAttribute("Layout")>
<SRDescriptionAttribute("Indicates the space between the edge of a CellNote and its content.")>
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
Public Property Padding As Padding
Dim instance As CellNoteStyle
Dim value As Padding
 
instance.Padding = value
 
value = instance.Padding
[DefaultValue()]
[SRCategory("Layout")]
[SRDescription("Indicates the space between the edge of a CellNote and its content.")]
[RefreshProperties(RefreshProperties.Repaint)]
public Padding Padding {get; set;}

Property Value

A System.Windows.Forms.Padding value that represents the space between the edge of a CellNote and its content. The default value is a System.Windows.Forms.Padding that has a value of -1 for its Left, Top, Right, and Bottom properties.
Exceptions
ExceptionDescription
System.ArgumentException If the top, bottom, left, and right values are less then 0, they are not -1.
Remarks
If the top, bottom, left, and right values are not all less than 0, then any value that is less than 0, is adjusted to 0.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CellNoteStyle Class
CellNoteStyle Members

 

 


Copyright © GrapeCity, inc. All rights reserved.