VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI Namespace / WpfThumbnailViewer Class / AllowDrag Property
Syntax Requirements SeeAlso
In This Topic
    AllowDrag Property (WpfThumbnailViewer)
    In This Topic
    Gets or sets a value indicating whether the thumbnail viewer accepts the drag operation.
    Syntax
    'Declaration
    
    <DescriptionAttribute("A value indicating whether the thumbnail viewer accepts the drag operation.")>
    <DefaultValueAttribute(True)>
    <CategoryAttribute("VintaSoft")>
    Public Property AllowDrag As Boolean
    
    
    [Description("A value indicating whether the thumbnail viewer accepts the drag operation.")]
    [DefaultValue(True)]
    [Category("VintaSoft")]
    public bool AllowDrag { get; set; }
    
    
    [Description("A value indicating whether the thumbnail viewer accepts the drag operation.")]
    [DefaultValue(True)]
    [Category("VintaSoft")]
    public: __property bool get_AllowDrag();
    public: __property void set_AllowDrag(
    bool value
    );
    [Description("A value indicating whether the thumbnail viewer accepts the drag operation.")]
    [DefaultValue(True)]
    [Category("VintaSoft")]
    public:
    property bool AllowDrag { bool get(); void set(bool value); }

    Property Value

    true - drag operation is allowed; false - drag operation is not allowed.
    Default value is true.
    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also