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
877 views
1 answer
    I have a test dictionary MyDict = new Dictionary<string, Uri> { {"First", new Uri("alma.jpg", UriKind.Relative)}, ... "200" Height="30" /> thx. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
754 views
1 answer
    I want to make part of the text of a textblock bold. This is what i tried in the IValueConverter but ... the TextBlock to the converter? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
781 views
1 answer
    Probably a confusing question title. The Grid with the Red Rectangle is an example of how it should look. ... wrong? Need more clarification? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
728 views
1 answer
    I am a little confused with wpf themes. I would like to have the wpf screens look the same on Vista, ... of combobox appearance on Windows 8 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
903 views
1 answer
    I have some images added to my solution, right now it is under the folder imagesflowers ose.png inside the ... it to the target system. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
942 views
1 answer
    I am able to use an ItemTemplate within an ItemsControl to render items in a specific format. However, if one ... followed by a red rectangle. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I am trying to embed a PNG graphic into a DLL and load it into an Image control as a ... bSkipJournaledProperties) bei System.Windows.Application.DoStartup() bei System.Win...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
922 views
1 answer
    I have a DataGridTemplateColumn with DataTemplate as a PasswordBox. I want to warn user if CapsLock is toggled. ... need an independent Popup. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
999 views
1 answer
    I have a ListBox which displays the collection of MyObjects. The collection is in the ViewModel. I want to handle a ... button was clicked? } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
905 views
1 answer
    I can bind a label to a slider as shown below: <Label Name="lblTest" Content="{Binding ElementName=slider1, Path= ... not in my code? Thanks. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
778 views
1 answer
    Hello WPF Pros at least I hope some of you read this! DataContext is a property on FrameworkElement (base ... the DataContext Property ??? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
772 views
1 answer
    I have a three level treeview. How do I select any item in third level from code? I tried a method mentioned in many ... true }); } catch { } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
838 views
1 answer
    I am using MVVM tool kit version1. I have two Text boxes textbox1 and textbox2. I need to pass these two ... return the result to the texbox3? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
728 views
1 answer
    It's not uncommon for me to write something like below for styling a data entry form, but my problem ... "{StaticResource BaseElementStyle}" /> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I wanted to have a customized window so followed a few tutorials which enable this by setting the window style to ... WindowStyle.None)); } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
873 views
1 answer
    Is there a simple possibility to check if the DataGrid is currently in EditMode (Without to subscribe to BeginningEdit and CellEditEnding) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
769 views
1 answer
    When the user presses a tab in this textbox, the cursor jumps an equivalent of 8 spaces. How can I change it ... Text="{Binding OutlineText}"/> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
785 views
1 answer
    The following snippet: <Window x:Class="Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/ ... a better situation. Thanks See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
737 views
1 answer
    I try to do something like this: <DataGrid Name="myGrid" ItemSource="{Binding Path=MyCollection}"> <DataGrid ... }" CommandParameter="1"> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
800 views
1 answer
    There seem to be two main ways to define DataContext in WPF: either in code like this: App.xaml.cs (taken from ... XAML, anyone know what it is? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I have a attached property of type ObservableCollection on a control. If I add or remove items from the ... this within the dependency property See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    My assembly includes an image with BuildAction==Resource. I want to obtain a BitmapImage from this embedded resource. ... to use pack URIs. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
737 views
1 answer
    I'm having trouble pasting from a csv into the wpf datagrid - I have followed the suggestions here http://blogs. ... ][columnDataIndex]); } } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I have a StackPanel, but the following line : <TextBlock Grid.Row="1" Grid.Column="0" Text="{Binding Notes}" ... it. Where am I going wrong? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I have a login window and a main window. Now, I want to close the login window after a successful login and ... want to display the main window. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
994 views
1 answer
    I have an TabControl which displays a collection of my ViewModels. The mapping between ViewModel and View is ... approach 2 in MVVM. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I am building a WPF app with several assemblies, and I want to share a resource dictionary among them. That ... working? Thanks for your help. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    Hi i am having some troube with DataTables. So What i need is to detect whenever i change any cell in ... nothing happens. Thanks in advance! See Question&Answers more detail:os...
asked Oct 24, 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

...