Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Viewers Namespace / TextViewer Class / ImagePadding Property


In This Topic
    ImagePadding Property (TextViewer)
    In This Topic
    Gets or sets the padding surrounding the viewer's image.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The padding surrounding the viewer's image.")>
    <CategoryAttribute("Appearance")>
    <BrowsableAttribute(False)>
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
    Public Shadows Property ImagePadding As Margins
    'Usage
     
    Dim instance As TextViewer
    Dim value As Margins
     
    instance.ImagePadding = value
     
    value = instance.ImagePadding
    [Description("The padding surrounding the viewer's image.")]
    [Category("Appearance")]
    [Browsable(false)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    public new Margins ImagePadding {get; set;}

    Property Value

    A Xceed.Editors.Margins structure representing the viewer's image's padding. By default, DefaultImagePadding.
    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