Struct RDFormsCaption.Parsed
A caption as shown, and its access key.
public readonly record struct RDFormsCaption.Parsed : IEquatable<RDFormsCaption.Parsed>
- Implements
- Inherited Members
Constructors
Parsed(string, int?)
A caption as shown, and its access key.
public Parsed(string Shown, int? AccessKey)
Parameters
ShownstringThe caption as shown, its
&markers taken out.AccessKeyint?The index in
Shownof the access key, or null where it has none.
Properties
AccessKey
The index in Shown of the access key, or null where it has none.
public int? AccessKey { get; init; }
Property Value
- int?
FitsAccessText
Whether an Avalonia.Controls.Primitives.AccessText can draw the caption: it has a key, and no underscore is shown before the key.
public bool FitsAccessText { get; }
Property Value
ForAccessText
The caption spelled for an Avalonia.Controls.Primitives.AccessText: every underscore doubled, and one in front of the key. Where it does not FitsAccessText, the doubled underscores alone.
public string ForAccessText { get; }
Property Value
Shown
The caption as shown, its & markers taken out.
public string Shown { get; init; }