ImageGear .NET v25.2 - Updated
TopMargin Property (ImGearThumbnailCtl)




ImageGear.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
 
<CategoryAttribute("Appearance")>
<DescriptionAttribute()>
Public Property TopMargin As Integer
'Usage
 
Dim instance As ImGearThumbnailCtl
Dim value As Integer
 
instance.TopMargin = value
 
value = instance.TopMargin
[Category("Appearance")]
[Description()]
public int TopMargin {get; set;}
[Category("Appearance")]
[Description()]
public: __property int get_TopMargin();
public: __property void set_TopMargin( 
   int value
);
[Category("Appearance")]
[Description()]
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

Is this page helpful?
Yes No
Thanks for your feedback.