python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How can I use StaticResources defined in App.xaml in other ResourceDictionaries?
I defined some StaticResource styles inside App.xaml to use it across the app:
<Application x:Class="TaskListApp.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml...
bashka
Votes: 0
Answers: 2
In a XAML ResourceDictionary, how create a reference to an IValueConverter that is a nested class?
Given a class that implements IValueConverter:
public class MyConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
...
ToolmakerSteve
Votes: 0
Answers: 0
BitmapIconSource in a ResourceDictionary.ThemeDictionaries (UWP)
I would like to change the BitmapIcon of a NavigationViewItem depending on the current Windows theme.
I've added a ResourceDictionary.ThemeDictionaries to the MainPage like that:
<Page.Resources>...
McNets
Votes: 0
Answers: 1
WPF TextBox with StaticResource for Style and Text-Binding to property at ViewModel
I stucked at followed issue since a few days, perhaps I have misunderstood something.
I create a ResourceDictionary with stylesettings for textboxes and add it to App.xaml:
<ResourceDictionary xmln...
Merlin
Votes: 0
Answers: 1