ImageGear .NET v25.2 - Updated
ImageGear.Windows.Forms Assembly / ImageGear.Windows.Forms.Thumbnails Namespace / ImGearThumbnailCtl Class / AutoFocus Property




In This Topic
    AutoFocus Property (ImGearThumbnailCtl)
    In This Topic
    Gets or sets a value indicating whether to automatically grab focus.
    Syntax
    'Declaration
     
    <CategoryAttribute("Behavior")>
    <DescriptionAttribute()>
    Public Property AutoFocus As Boolean
    'Usage
     
    Dim instance As ImGearThumbnailCtl
    Dim value As Boolean
     
    instance.AutoFocus = value
     
    value = instance.AutoFocus
    [Category("Behavior")]
    [Description()]
    public bool AutoFocus {get; set;}
    [Category("Behavior")]
    [Description()]
    public: __property bool get_AutoFocus();
    public: __property void set_AutoFocus( 
       bool value
    );
    [Category("Behavior")]
    [Description()]
    public:
    property bool AutoFocus {
       bool get();
       void set (    bool value);
    }

    Property Value

    Boolean value.
    Remarks
    If it is set to true, then the thumbnail browser gets focus when the mouse cursor is on the window. Otherwise mouse click is required.
    See Also