namespace Sandbox.UI; public partial class Panel { /// /// Set via "value" property from HTML. /// [Hide] public virtual string StringValue { get; set; } /// /// Call this when the value has changed due to user input etc. This updates any /// bindings, backwards. Also triggers $"{name}.changed" event, with value being the Value on the event. /// protected void CreateValueEvent( string name, object value ) { CreateEvent( $"{name}.changed", value ); } }