Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged WPF

0 votes
615 views
1 answer
    Doing some 3D stuff in wpf- want to use a simpler test to see if everything is working (before moving to curves). ... haven't found it yet.... See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
728 views
1 answer
    I have been going crazy with binding a combobox to an enum typed property of a class, where the enum itself is ... }"/> As this syntax works! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
830 views
1 answer
    I'm using the RelayCommand in my app. It's great for putting the code in the viewmodel, but how do I ... bind a keystroke to a RelayCommand? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
861 views
1 answer
    I want to design a DataTemplateSelector who compare the given value with a one passed in parameter and choose the ... of the code are similar. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
731 views
1 answer
    I am a little confused about WPF attached properties. When you use an attached property that attached property can ... to set the hoover color? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
630 views
1 answer
    Form Build your own MVVM I have the following code that lets us have typesafe NotifyOfPropertyChange calls: ... approach potentially induce? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
929 views
1 answer
    I'm developing a VS extension and I want to achieve that my UI will use colors (font, background etc.) ... some static ressources in my WPF? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I set the Background color of the tabitem in the xaml to RED, but when i run it and hover over it or select ... it RED all the time. Thanks! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
713 views
1 answer
    I want all texts in TextBlock, Label, MenuItem.Header to be displayed in upper case. The strings are taken ... case in the dictionary itself. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
840 views
1 answer
    Edit: The basic problem is binding a List to ListBox(or any other control). So I am editing the question. ... </ListBox.ItemTemplate> </ListBox> See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
942 views
1 answer
    I have a drag/drop operation on a Canvas that is supposed to do something when an object gets dragged into and ... sure how I would fix this. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
795 views
1 answer
    In wpf I setup a tab control that binds to a collection of objects each object has a data template with ... be more portable between projects. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
708 views
1 answer
    I have a ListView control that displays items from an observable collection. These items need to be filtered. I am ... done in a nicer way? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
633 views
1 answer
    What is the difference between sender and source in wpf event handling? For example, say I had an ellipse in a ... . Do I have that right? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I want to make a Viewbox (or something similar) that scales only its height, and then stretches its content ... /or some third-party panel? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
724 views
1 answer
    I can't seem to be able to add a merged dictionary to a collection of merged dictionaries within XAML. Theme. ... be able to define templates. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
658 views
1 answer
    Is it possible to give the condition within the EventTrigger?? I have written a following EventTrigger (Mouse. ... this? Thanks in advance. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
803 views
1 answer
    Platform: WPF, .NET 4.0, C# 4.0 Problem: In the Mainwindow.xaml i have a ListBox bound to a Customer ... Thanks for any suggestions, in advance. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I have an Image element in XAML. I bind the Source property to a string property in my ViewModel. However, ... cannot convert from (null). See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
805 views
1 answer
    I implemented skinning in my application. The application loads its Brushes.xaml resource dictionary which uses colors which ... 't find a way. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
683 views
1 answer
    Is there any way to get the UI thread's Dispatcher when you have no reference to any UI elements? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
902 views
1 answer
    I am getting started with using ValidationRules in my WPF application, but quite confused. I have the following ... never sees the change.) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I understand that ViewModel shouldn't have any knowledge of View, but how can I call MediaElement.Play() ... without violating MVVM pattern? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I have a storyboard animation that fades a control out of view using the Opacity property. When it completes, I ... in XAML. Is it possible? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
791 views
1 answer
    I have the following style but i need to make it programmatically: <xcdg:DataGridControl MinHeight="300" ... </xcdg:DataGridControl.Resources> See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
732 views
1 answer
    Having {Binding ElementName=foo}, will it lookup visual or logical tree? Of logical and visual trees in ... method, nor implement INameScope. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
874 views
1 answer
    I'm having a problem getting mouse wheel scrolling to work in the following XAML, which I have simplified for ... if that resolves the problem. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
848 views
1 answer
    Background: I'm creating a WPF app using MVVM, and using a DI container to build my ViewModels My App.xaml looks ... Is there a way around this? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...