Spread WPF 15
GrapeCity.Windows.SpreadSheet.UI Namespace / GcSpreadSheet Class / CanUserDragDrop Property
Example


In This Topic
    CanUserDragDrop Property (GcSpreadSheet)
    In This Topic
    Gets or sets whether to allow the user to drag and drop cell range data to another range.
    Syntax
    'Declaration
     
    <CategoryAttribute("Spread Workbook")>
    <DefaultValueAttribute(True)>
    Public Property CanUserDragDrop As Boolean
    'Usage
     
    Dim instance As GcSpreadSheet
    Dim value As Boolean
     
    instance.CanUserDragDrop = value
     
    value = instance.CanUserDragDrop
    [Category("Spread Workbook")]
    [DefaultValue(true)]
    public bool CanUserDragDrop {get; set;}
    Example
    This example sets the CanUserDragDrop property.
    gcSpreadSheet1.CanUserDragDrop = true;
    GcSpreadSheet1.CanUserDragDrop = True
    See Also