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


In This Topic
    ImageAlignment Property (TextViewer)
    In This Topic
    Gets or sets the alignment of the image in the ImageArea.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The alignment of the image in the ImageArea.")>
    <CategoryAttribute("Appearance")>
    <LocalizableAttribute(True)>
    <BrowsableAttribute(False)>
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
    Public Shadows Property ImageAlignment As ViewerImageAlignment
    'Usage
     
    Dim instance As TextViewer
    Dim value As ViewerImageAlignment
     
    instance.ImageAlignment = value
     
    value = instance.ImageAlignment
    [Description("The alignment of the image in the ImageArea.")]
    [Category("Appearance")]
    [Localizable(true)]
    [Browsable(false)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    public new ViewerImageAlignment ImageAlignment {get; set;}

    Property Value

    A ViewerImageAlignment value representing the alignmnent of the image in the ImageArea. By default, DefaultImageAlignment.
    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