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


In This Topic
    CanUserDragDrop Property (SheetView)
    In This Topic
    Gets or sets whether to allow users to drag and drop a range.
    Syntax
    'Declaration
     
    <DefaultValueAttribute(True)>
    Public Property CanUserDragDrop As Boolean
    'Usage
     
    Dim instance As SheetView
    Dim value As Boolean
     
    instance.CanUserDragDrop = value
     
    value = instance.CanUserDragDrop
    [DefaultValue(true)]
    public bool CanUserDragDrop {get; set;}
    Example
    This example uses the CanUserDragDrop property.
    GcSpreadSheet1.View.CanUserDragDrop = true;
    GcSpreadSheet1.View.CanUserDragFill = true;
    GcSpreadSheet1.View.CanUserEditFormula = true;
    GcSpreadSheet1.View.CanUserDragDrop = True
    GcSpreadSheet1.View.CanUserDragFill = True
    GcSpreadSheet1.View.CanUserEditFormula = True
    See Also