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
705 views
1 answer
    The built-in WPF TreeView control does not allow for multi selection, like a ListBox does. How can I ... multi selection without rewriting it. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
928 views
1 answer
    I've been struggling looking for an understandable way to do this. I have four points, a StartPt, EndPoint, and ... - it's over my head. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
571 views
1 answer
    Through generous help on this question, I put together the following MVVM structure which displays the changes of a model in ... )); } } } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
836 views
1 answer
    I am trying to perform a Post to my WebAPI from a c# WPF desktop app. No matter what I do, I get {"error ... if I can help clarify. Thanks!! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I followed this small "tutorial" on how to add a scrollbar to an ItemsControl, and it works in Designer view, but ... .Value> </Setter> </Style> See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
974 views
1 answer
    I have a control with two properties. One is a DependencyProperty, the other is an "alias" to the ... thing, only using DependencyProperties. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
549 views
1 answer
    Does .NET framework have a collection of icons for use in Windows Forms or WPF application somewhere? How does ... more icons in the framework? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
773 views
1 answer
    I am using .NET and am creating a desktop app/service that will display notifications in the corner of my ... this with regular .NET libraries? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
845 views
1 answer
    My output window does not show binding errors for my project. However on a colleagues machine, binding errors are ... is an IDE setting). See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
814 views
1 answer
    How do I create a new UI element using TaskFactory? When I try I get the following error : The calling ... txtBoxList.Add(txtBox)) End Sub See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    Well, I needed to bind DateTime.Now to a TextBlock, I used that: Text="{Binding Source={x:Static System:DateTime. ... and wouldn't update it... See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
887 views
1 answer
    I would like to have something like a resizable Expander. My basic idea was something like this: <Grid ... make the expander "resizable" See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
788 views
1 answer
    I have some WPF control. For example, TextBox. How to enumerate all dependency properties of that control (like XAML editor does)? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
904 views
1 answer
    I'd like to change the properties of a ScrollViewer of a ListBox from C#. I found this question here on ... to that darn ScrollViewer? :-) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
977 views
1 answer
    Whenever I try to play with the look of WPF menu item, I get a wast opportunities to customize the header, which ... of the menu item? Thanks. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I cannot set the background color for the selected item on a list box. I don't want the alternating ... </ListBox.ItemTemplate> </ListBox> See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I have a collection of textblocks that I'm going to be showing and I'm needing the text of each textblock to be displayed ... '{}{0:MyTag}'}" /> See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
973 views
1 answer
    i am trying to binding a very simple property to a TextBlock, but I have to do all in code-behind (C#). ... the same of the Property SomeText. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
666 views
1 answer
    I've seen both styles used in the same project, and I wonder if there's any semantic difference between them, ... over the other and why. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    The following DataTemplate.DataTrigger makes the age display red if it is equal to 30. How do I make ... DataTemplate.Triggers> </DataTemplate> See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
981 views
1 answer
    I would like to change the base template of the MahApps.Metro dialogs (or create a new dialog type), ... BaseMetroWindow with my new one? 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 3 tables: Item - which is the DataContext - it has a navigation column Group Group - has a ... the Category ComboBox it works fine. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
978 views
1 answer
    How can the background color of a button once another button is pressed? What I have at the moment is: ButtonToday. ... ; And it's not working. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
796 views
1 answer
    I've created a simple subclass of StackPanel that I can move around on the screen using an animated TranslateTransform. ... yet: what is it? 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 designed a reuseable usercontrol. It contains UserControl.InputBindings. It is quite simple as it only contains a ... of the un-focused. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
730 views
1 answer
    Under the View-Model-ViewModel pattern for WPF, I am trying to databind the Heights and Widths of various ... My own answer to follow. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I have a TextBox with a ContextMenu in it. When the user right clicks inside the TextBox and chooses the ... handle issues like this. Thoughts? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
797 views
1 answer
    I've started using the XmlnsDefinition attribute to tie together some CLR namespaces into a single xmlns for ... that assembly via XAML? 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

2.1m questions

2.1m answers

60 comments

57.0k users

...