ImageGear .NET - Updated
TopMargin Property (ImGearThumbnailCtl)




ImageGear24.Windows.Forms Assembly > ImageGear.Windows.Forms.Thumbnails Namespace > ImGearThumbnailCtl Class : TopMargin Property
Gets or sets the amount of extra space, in pixels, to leave between the top edge of the control and the top-most item drawn inside the control.
Syntax
'Declaration
 
<DescriptionAttribute()>
<CategoryAttribute("Appearance")>
Public Property TopMargin As Integer
'Usage
 
Dim instance As ImGearThumbnailCtl
Dim value As Integer
 
instance.TopMargin = value
 
value = instance.TopMargin
[Description()]
[Category("Appearance")]
public int TopMargin {get; set;}
[Description()]
[Category("Appearance")]
public: __property int get_TopMargin();
public: __property void set_TopMargin( 
   int value
);
[Description()]
[Category("Appearance")]
public:
property int TopMargin {
   int get();
   void set (    int value);
}

Property Value

Integer value.
Remarks
Note that Thumbnail control is resizable, so the amount of margin on the bottom side is determined automatically.
See Also

Reference

ImGearThumbnailCtl Class
ImGearThumbnailCtl Members