public UpdateCardText ( Card>.Action |
||
action | Card>.Action | |
return | void |
public CardRun(ChatCard card) : base(new Run(card.ToString())) { this.FontWeight = FontWeights.Bold; this.Foreground = Brushes.DarkSlateGray; this.Cursor = Cursors.Hand; _card = card; _card.UpdateCardText((model, gamecard) => { (this.Inlines.FirstInline as Run).Text = model.PropertyName(); }); }
public CardRun(ChatCard card) : base(new Run(card.ToString())) { this.FontWeight = FontWeights.Bold; this.Foreground = Brushes.DarkSlateGray; this.Cursor = Cursors.Hand; _card = card; _card.UpdateCardText((model, gamecard) => { (this.Inlines.FirstInline as Run).Text = model.PropertyName(); }); }