Description
The SupportsMultiEdit
property indicates whether the ControlWidget
supports editing multiple properties simultaneously. This is useful in scenarios where batch editing of properties is required, allowing for more efficient workflows within the editor environment.
Usage
To determine if a ControlWidget
instance supports multi-editing, simply access the SupportsMultiEdit
property. This property is virtual, allowing derived classes to override its behavior if necessary.
Example
// Example of checking if a ControlWidget supports multi-edit
ControlWidget widget = new MyControlWidget();
if (widget.SupportsMultiEdit)
{
// Perform actions that require multi-edit support
Console.WriteLine("This widget supports multi-editing.");
}
else
{
// Handle the case where multi-edit is not supported
Console.WriteLine("This widget does not support multi-editing.");
}