Table of Contents

Class Text2Tile

Namespace
The.WPF.Screens.Stats.Tiles
Assembly
Instagile.WPF.dll
public class Text2Tile : NotificationObject, INotifyPropertyChanged, ITile
Inheritance
Text2Tile
Implements
Inherited Members
Extension Methods

Constructors

Text2Tile(string, string, string, Func<Task<(ColouredString Left, ColouredString Right)>>, ICommand, ICommand)

public Text2Tile(string name, string leftTitle, string rightTitle, Func<Task<(ColouredString Left, ColouredString Right)>> loadContent, ICommand leftCommand, ICommand rightCommand)

Parameters

name string
leftTitle string
rightTitle string
loadContent Func<Task<(ColouredString Left, ColouredString Right)>>
leftCommand ICommand
rightCommand ICommand

Properties

Content

public object? Content { get; set; }

Property Value

object

LeftCommand

public ICommand LeftCommand { get; }

Property Value

ICommand

LeftTitle

public string LeftTitle { get; }

Property Value

string

Name

public string Name { get; }

Property Value

string

RightCommand

public ICommand RightCommand { get; }

Property Value

ICommand

RightTitle

public string RightTitle { get; }

Property Value

string

Methods

LoadAsync()

public Task LoadAsync()

Returns

Task