Search found 2991 matches
- 10 Apr 2024, 11:20
- Forum: General Discussion
- Replies: 3
- Views: 110
Re: MVVM (Model View ViewModel) design in C++, research for understanding and apply an example
I don't understand, can you attach an image pointing what you are trying to remove/disable?I want to make an Image gallery and I want to disable the corner button when it reach the end of the gallery (unclickable button and, gray color),
do some have a suggestion how to do so ?
- 10 Apr 2024, 11:16
- Forum: General Discussion
- Replies: 2
- Views: 96
Re: Hybrid UserControl
Hi Kristoffer, UserControl (which inherits from ContentControl) already exposes a ContentPropertyMetadata for the Content property, so it will conflict with your custom class and it won't work as you expected. For adding multiple children, have you considered using an ItemsControl? You can define th...
- 10 Apr 2024, 11:02
- Forum: General Discussion
- Replies: 3
- Views: 2079
Re: Localization and ChangePropertyAction
I've created ticket #3226 to track development of this feature.
For the moment there's been no progress, sorry.
Can you use the proposed workaround or is not an option for you?
For the moment there's been no progress, sorry.
Can you use the proposed workaround or is not an option for you?
- 10 Apr 2024, 10:56
- Forum: General Discussion
- Replies: 5
- Views: 106
Re: localization change from data trigger
Hi Sam, if you need support for using LocExtension as a Setter value, could you please open a ticket about it. We will try to find a way to make it work in those scenarios too.
- 10 Apr 2024, 10:43
- Forum: General Discussion
- Replies: 6
- Views: 98
Re: Connect to Child Event
We've updated the events tutorial so documentation will be fixed in the next release, thanks for your feedback.
- 04 Apr 2024, 17:16
- Forum: General Discussion
- Replies: 6
- Views: 98
Re: Connect to Child Event
Hello, I want to mention that we already define a macro in C++ for attached events to be used in ConnectEvent: bool ConnectEvent(BaseComponent* source, const char* event, const char* handler) override { NS_CONNECT_ATTACHED_EVENT(TreeViewItem, Expanded, OnTreeViewExpanded); return false; } And for C#...
- 02 Apr 2024, 11:58
- Forum: General Discussion
- Replies: 5
- Views: 106
Re: localization change from data trigger
Hello, Let me see if I understood correctly the problem you have. You want to show a different dialog message depending on some enums in the viewmodel, and then have the message localized, right? Couldn't you just have the different texts in the DataTemplate and show the appropriate one? <DataTempla...
- 28 Mar 2024, 12:44
- Forum: General Discussion
- Replies: 1
- Views: 60
Re: Problem with ListBox scrolling
Could you try to set the background of the ListBox to Transparent?
I think the problem is that our ListBox default style does not set it, we will fix it.
Code: Select all
<ListBox Background="Transparent">
- 27 Mar 2024, 20:51
- Forum: General Discussion
- Replies: 3
- Views: 191
Re: ListBox vs StackPanel of Buttons
Thanks for the suggestion @nadjibus, I also think it is the right approach here. You will use an ItemsControl bound to a list of options/settings items exposing all the required information: Name/Label Type of value (you can use an enum here to select what to show on the ItemTemplate, or it can be i...
- 27 Mar 2024, 12:00
- Forum: General Discussion
- Replies: 4
- Views: 156
Re: EventManager.RegisterClassHandler Unity crash
Hi, Do you really need to use EventManager.RegisterClassHandler, which is mostly intended to create custom controls? Or will be enough to just hook to the Click event of your button in code behind: <Grid x:Name="root"> ... <Button x:Name="btn" Content="LOGIN"/> </Grid> ...