UI/DialoguesView/DialoguesView.razor
@using Sandbox;
@using Sandbox.UI;
@inherits PanelComponent
@namespace Sandbox

<root>
  <div class="title" style="display: none;">@MyStringValue</div>
</root>

@code
{

  [Property, TextArea] public string MyStringValue { get; set; } = "Hello World!";

  /// <summary>
  /// the hash determines if the system should be rebuilt. If it changes, it will be rebuilt
  /// </summary>
  protected override int BuildHash() => System.HashCode.Combine(MyStringValue);
}