Search found 3178 matches
- 14 Jan 2025, 11:31
- Forum: General Discussion
- Replies: 24
- Views: 17130
Re: Caliburn.Noesis (Caliburn.Micro port)
Thanks for sharing this and make it publicly available. Regarding the Trigger questions I want to remark that the classes found in NoesisApp namespace are our implementation for the Microsoft Behaviors extension, and are not compatible with the core ones defined in Noesis namespace. If you need anyt...
- 14 Jan 2025, 10:51
- Forum: General Discussion
- Replies: 4
- Views: 187
Re: FocusManager Focus Scope For Tab Control
The problem is not on your side, we have something going wrong with the TabControl/TabItem logic in relation with focus scopes. In theory it should be as easy as setting IsFocusScope to true on the TabItems and going from one tab to another it should restore the latest focused element in the tab. Co...
- 30 Dec 2024, 18:49
- Forum: General Discussion
- Replies: 2
- Views: 6687
Re: Namespace prefix not declared
Hello, You just need to add the namespace definition for using the corresponding prefix: <UserControl x:Class="Plundersea.PlunderseaMainView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:l...
- 30 Dec 2024, 11:57
- Forum: General Discussion
- Replies: 1
- Views: 6134
Re: Data Binding to property with name "Name" does not work.
Hello, The "Name" property is already defined by the UserControl's base class FrameworkElement . As indicated in the documentation the dependency property "Name" provides a reference so that code-behind, such as event handler code, can refer to a markup element after it is constr...
- 27 Dec 2024, 12:30
- Forum: General Discussion
- Replies: 3
- Views: 4878
Re: Unity WebGL Build Error (Function Signature Mismatch)
Hello, could you please report this in our bugtracker, it seems there are some signature mismatchs between the native code and the imported functions in the managed code.
- 27 Dec 2024, 11:17
- Forum: General Discussion
- Replies: 11
- Views: 12546
Re: "Insufficient buffer size" while making delegate
The problem with your last code is that the method signature does not match the event handler. This should work:
Code: Select all
void OnScrollChanged(Noesis::BaseComponent* sender, const Noesis::ScrollChangedEventArgs& e) {}
- 20 Dec 2024, 17:10
- Forum: General Discussion
- Replies: 8
- Views: 4934
Re: ContentPresenter DataContext bug
The ContentPresenters inside the UniformGrid are automatically created by the ItemsControl (the one you marked as "One page (collection of buttons)") and will have its Content (DataContext) set to each of the items of the ItemsSource collection assigned to that ItemsControl. So you should ...
- 18 Dec 2024, 23:52
- Forum: General Discussion
- Replies: 3
- Views: 6336
Re: ImageBrush ImageSource doesn't support paths relative to TextureProvider Root
Uri paths are relative to the XAML file where they are defined unless you start with '/' or use the full assembly ("/MyAssembly;component/path/to/img.png") or pack ("pack://application:,,,/path/to/image.png") versions. So the following paths should work: <ImageBrush ImageSource=...
- 17 Dec 2024, 10:58
- Forum: General Discussion
- Replies: 8
- Views: 4934
Re: ContentPresenter DataContext bug
The auto-generated ContentPresenter sets its DataContext from the Content of its templated parent (which is null as shown in your screenshot). You have to set the Content property of m_pageViewModelControl to the desired data so it is inherited down the tree of the ContentPresenter: m_pageViewModelC...
- 16 Dec 2024, 12:18
- Forum: General Discussion
- Replies: 8
- Views: 4934
Re: ContentPresenter DataContext bug
I don't see in the attached code that m_contentPresenter Content is set, only the StackPanel is filled with pages in CreatePagination(). And as I mentioned before, you could create a simple ContentControl instead of UserControl there. You're not setting the dotControl Content either, so the data con...