Search found 5 matches

by realm_mike
31 May 2023, 19:18
Forum: General Discussion
Replies: 2
Views: 2450

Re: Triggering event from xaml -> c++?

Aha. I had overlooked 'commands', this seems to work fine for triggering events like this. Thanks!
by realm_mike
29 May 2023, 23:27
Forum: General Discussion
Replies: 2
Views: 2450

Triggering event from xaml -> c++?

I feel like this is a simple thing but I can't seem to get these events to fire. I've got a collection of RealmUI_Tell that are bound as the ItemsSource of the tab control. The content bindings work (Sender, StaffTitle, and Text) But I'm trying to get an event to fire when the Close button is clicke...
by realm_mike
29 May 2023, 17:23
Forum: General Discussion
Replies: 3
Views: 1499

Re: Binding to Inlines of TextBlock

Similar to RichText, but not quite the same I think. For one, the actual TextBlock is inside a DataTemplate so I was hoping to use bindings to get at the data rather than needing the C++ code to get at the actual UI element. Secondly, this is a TextBlock that I want to append lines to over time, so ...
by realm_mike
27 May 2023, 17:47
Forum: General Discussion
Replies: 3
Views: 1499

Binding to Inlines of TextBlock

In the TextBlock documentation I see: A TextBlock can contain a string in its Text property or Inline flow content elements, such as Bold, Hyperlink, and InlineUIContainer, in its Inlines property. So is it possible to bind an inlines collection to the Inlines property? <TabControl TabStripPlacement...
by realm_mike
24 May 2023, 07:03
Forum: General Discussion
Replies: 1
Views: 1239

Issue with C++ getter that returns Noesis::String by value

Hi, I have a struct that I'm trying to reflect where the getter function creates a Noesis::String for the UI 'just in time' as it's needed for the UI: struct Message : Noesis::BaseComponent { MessageInternal* pMessage; Noesis::String GetText() const { std::string s; pMessage->GetText(&s); return...