FormDraggerAddForm Method
Assigns the specified
Form as a draggable element.
Namespace: DevCase.Core.Application.FormsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public void AddForm(
Form form,
bool enabled = false,
Cursor cursor = null
)
Public Sub AddForm (
form As Form,
Optional enabled As Boolean = false,
Optional cursor As Cursor = Nothing
)
Dim instance As FormDragger
Dim form As Form
Dim enabled As Boolean
Dim cursor As Cursor
instance.AddForm(form, enabled, cursor)
public:
void AddForm(
Form^ form,
bool enabled = false,
Cursor^ cursor = nullptr
)
member AddForm :
form : Form *
?enabled : bool *
?cursor : Cursor
(* Defaults:
let _enabled = defaultArg enabled false
let _cursor = defaultArg cursor null
*)
-> unit
No code example is currently available or this language may not be supported.
Parameters
- form Form
-
The Form.
- enabled Boolean (Optional)
-
If set to , inmediatelly enables dragging on the Form.
- cursor Cursor (Optional)
-
The Cursor to use when dragging the Form.