Search found 3003 matches
- 19 Apr 2024, 12:44
- Forum: General Discussion
- Replies: 4
- Views: 204
Re: Hybrid UserControl
As I mentioned before you can use any kind of element for each item in the ItemsControl, simple TextBlocks or whole panels, for example: <Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <ItemsControl W...
- 19 Apr 2024, 12:36
- Forum: General Discussion
- Replies: 1
- Views: 117
Re: LocTable propagation to ContentControl's content via TemplateBinding
Hello, sorry for the late reply. I think the problem is that your MainLayout properties are not connected to the logical tree, so context is not properly inherited or markup extensions can't traverse the tree up as expected. Do you have a property changed callback for those properties? You should co...
- 10 Apr 2024, 11:20
- Forum: General Discussion
- Replies: 3
- Views: 156
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: 4
- Views: 204
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: 2116
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: 194
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: 183
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: 183
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: 194
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: 174
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">