Skip to content

TitleAction

Namespace: Hex1b

Assembly: Hex1b.dll

Represents a title bar action descriptor created by .

csharp
public sealed class TitleAction

Inheritance

ObjectTitleAction

Properties

Handler

The action handler called when this button is clicked.

Returns: Action<WindowActionContext>

csharp
public Action<WindowActionContext> Handler { get; }

Icon

The icon displayed for this action.

Returns: String

csharp
public string Icon { get; }

Remarks

TitleAction is an immutable descriptor that captures the icon and handler for a title bar button. It is converted to a internally when the window is opened.

Released under the MIT License.