This commit is contained in:
2020-04-18 16:24:49 +02:00
parent c44931c11e
commit 05338dd0d2
10 changed files with 24 additions and 24 deletions

View File

@@ -0,0 +1,31 @@
using System.Windows;
namespace ModernWpfPlayground.PropertyPresenter2
{
/// <summary>
/// A component of the symbol
/// </summary>
public readonly struct TextComponent
{
/// <summary>
/// Constructor
/// </summary>
/// <param name="text"></param>
/// <param name="style"></param>
public TextComponent(string text, BaselineAlignment style = BaselineAlignment.Baseline)
{
Text = text;
Style = style;
}
/// <summary>
/// Text of the symbol component
/// </summary>
public readonly string Text;
/// <summary>
/// Style of the symbol component
/// </summary>
public readonly BaselineAlignment Style;
}
}