Search found 9 matches

by Dmirty
28 Apr 2024, 06:54
Forum: General Discussion
Replies: 3
Views: 307

Re: Can't apply a style to TextBox

Hi, if you apply a local style without a template to a TextBox, your style should specify the BasedOn to inherit the template from the theme styles. <Style x:Key="DarkInput" TargetType="{x:Type TextBox}" BasedOn="{StaticResource {x:Type TextBox}}"> But I suggest you pr...
by Dmirty
19 Apr 2024, 07:10
Forum: General Discussion
Replies: 3
Views: 307

Can't apply a style to TextBox

Hello there. This code works in Blend, but doesn't in XamlToy/Noesis app. How to fix it (textBox2)? <UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/exp...
by Dmirty
18 Mar 2024, 07:18
Forum: General Discussion
Replies: 4
Views: 377

Re: How can I get Noesis Studio?

According this, it's available only to paying customers. So, indies are out of business 😭
by Dmirty
04 Sep 2023, 17:53
Forum: General Discussion
Replies: 4
Views: 789

Re: Access an array item (in ResourceDictionary) in xaml

With a converter you will provide the key in the binding, and the converter will access the application resources to get the specified resource.
I think this is what I needed. I will try. Thank you!
by Dmirty
30 Aug 2023, 18:13
Forum: General Discussion
Replies: 4
Views: 789

Re: Access an array item (in ResourceDictionary) in xaml

Thank you for the answer. Arrays are not supported in Noesis: 668 , so this approach won't work. Access denied. Would something like that work for you? The main question is: how can I change it using bindings? When I create the window, I want show one of the available icons. Is it possible at all (v...
by Dmirty
26 Aug 2023, 15:55
Forum: General Discussion
Replies: 4
Views: 789

Access an array item (in ResourceDictionary) in xaml

Hello there. I have an array of images, defined in ResourceDictionary, like this: <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <x:Array x:Key="NotificationIcons" Type="...
by Dmirty
15 Nov 2022, 18:52
Forum: General Discussion
Replies: 9
Views: 775

Re: Newbie + Blend + dark Noesis.App.Theme

Have you tried one of our examples? For example, the Gallery? You don't need to download it from GitHub, it is included in our C# SDK.
No. Thank you, I'll try it.
by Dmirty
14 Nov 2022, 21:32
Forum: General Discussion
Replies: 9
Views: 775

Re: Newbie + Blend + dark Noesis.App.Theme

Use the NuGet package manager and install the Noesis.GUI.Extensions.
Done. Now it shows:
XDG0062 Cannot locate resource "theme/noesistheme.darkblue.xaml"
by Dmirty
13 Nov 2022, 08:25
Forum: General Discussion
Replies: 9
Views: 775

Newbie + Blend + dark Noesis.App.Theme

Hello there. I just start with NoesisGUI and know almost nothing. I'm trying to make a window in Blend with dark theme. So, I created a new WPF project, then added Noesis.App.Theme NuGet\Install-Package Noesis.App.Theme -Version 3.1.5 After that I added ResourceDictionary Source into my App.xaml <Ap...