ImageGear .NET v25.2 - Updated
ImageGear.Wpf Assembly / ImageGear.WPF Namespace / ImGearThumbnailCtl Class / Margin Property




In This Topic
    Margin Property
    In This Topic
    Gets or sets the amount of extra space, in pixels, to leave between the left edge of the control and the left-most item drawn inside the control.
    Syntax
    'Declaration
     
    <CategoryAttribute("Appearance")>
    <ImGearFilterAttribute("Default")>
    Public Shadows Property Margin As Thickness
    'Usage
     
    Dim instance As ImGearThumbnailCtl
    Dim value As Thickness
     
    instance.Margin = value
     
    value = instance.Margin
    [Category("Appearance")]
    [ImGearFilter("Default")]
    public new Thickness Margin {get; set;}
    [Category("Appearance")]
    [ImGearFilter("Default")]
    public: __property new Thickness get_Margin();
    public: __property new void set_Margin( 
       Thickness value
    );
    [Category("Appearance")]
    [ImGearFilter("Default")]
    public:
    new property Thickness Margin {
       Thickness get();
       void set (    Thickness value);
    }

    Property Value

    System.Windows.Thickness value.
    Remarks
    The Thumbnail control is resizable, so the amount of margin on the right side is determined automatically.
    See Also