Gets or sets a value indicating whether to pad the inner part of the specific shape's content bounds.
<SRDescriptionAttribute("Indicates the inner padding for the specific shape's content bounds.")>
<SRCategoryAttribute("Appearance")>
<DefaultValueAttribute()>
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
Public Property ContentPadding As Padding
Dim instance As ShapeRenderer
Dim value As Padding
instance.ContentPadding = value
value = instance.ContentPadding
[SRDescription("Indicates the inner padding for the specific shape's content bounds.")]
[SRCategory("Appearance")]
[DefaultValue()]
[RefreshProperties(RefreshProperties.Repaint)]
public Padding ContentPadding {get; set;}
Property Value
A
System.Windows.Forms.Padding value that indicates the padding for the inner part of the specific shape's content bounds. The default value is a
System.Windows.Forms.Padding, which has a value of 0 for its Left, Top, Right, and Bottom properties.
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