Welcome to Jonic Developer 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
415 views
1 answer
    I'd trying to style my ComboBoxes to match the rest of the UI but I'm having problems with the IsMouseOver highlighting. It highlights with the color I ... can I do to make the background color stay? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
801 views
1 answer
    I'm trying to return entities where the bool "isAssy" is true: public ObservableCollection<MasterPartsList> ParentAssemblyBOM { get {return this._parentAssemblyBOM.Where( ... ...are you missing a cast?" See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
676 views
1 answer
    I have a bunch of Xaml vector icons inside a separated .xaml. I load them inside my window using this directive: <Window.Resources> <ResourceDictionary> ... I can't have multiple properties Resource... See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
514 views
1 answer
    Here's a basic example to explain my problem. Let's say I have ObservableCollection<int> Numbers {get; set;} and an IValueConverter that returns the ... run when items are added and removed to Numbers? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
575 views
1 answer
    I populate DataGrid in WPF through MVVM. I have business object with 4 properties to create the Row and Columns in the DataGrid. <DataGrid ... not have information about items of the DataGrid? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
511 views
1 answer
    I have a styled listbox. Listbox items change color when hovered over and when selected. Hover and select work fine. But when selecting an item ... "theControl" Style="{StaticResource myListBoxStyle}" /> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
473 views
1 answer
    let's say i have a section on my screen where "current record" is edited.. so my view model has a class with all currently edited ... this notation is correct: {Binding Path=CurrentRecord.Notes} See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
675 views
1 answer
    Can anyone please help how to programatically add the following style: <style> <style.Triggers> <Trigger Binding="{Binding CustomerId}" Value ="1"/> <setter ... Value="Red"/> </style.Triggers> </style> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
539 views
1 answer
    I am showing a Tool Tip when Mouse hovers on Help image. The xaml is given below: <Image x:Name="HelpImage" Width="16" Height="16" Grid.Row="1 ... ToolTip when user clicks on the image ? Please Help!! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
554 views
1 answer
    We are looking for a way to make a textbox replace certain characters as a person types in it. Note, we are focusing on the control itself, not bindings, ... as you type. Hope that makes more sense now. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
404 views
1 answer
    I have a CheckBox in my application that is using the TriState mode. The normal behavior for this mode seems to be cycling between null, false, true. ... sure I'm missing something that should be obvious. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
614 views
1 answer
    On a wpf TextBox that has an TextChanged event, it seems to only fires when focus is taken away from the textbox; but not as individual characters ... into the textbox, rather than when focus changes? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
518 views
1 answer
    I'm getting this warning in Visual Studio output window when binding on a SolidColorBrush property inside a DataTemplate: System.Windows.Data Error: 2 : ... on a RotateTransform object. Thanks in advance. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
520 views
1 answer
    In my window, there is a Grid that takes up 100% of the available vertical space. Inside that Grid is a StackPanel with another StackPanel and a Frame ... be a StackPanel, it can also be a DockPanel. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
305 views
1 answer
    I have a WPF combo box bound to an obvserable collection (OC): <ComboBox Name="cbCombination" ItemsSource="{Binding Combinations}" SelectedIndex="0" /> ... of the combo unless the events fire. :( See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
533 views
1 answer
    I have a video with transparent background in .avi format (Made from Adobe After Effects), but the transparent background appears black in mediaelement. Media ... my approach is wrong please let me know. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
493 views
1 answer
    I would like to create a style that makes my cell's content green if positive, red if negative or black if 0. I know about converters and bindings, but ... I can select the property I'm basing this on. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
645 views
1 answer
    In my code behind I set the MessageBoxTabControl.ItemsSource to an Observable Collection. <TabControl x:Name="MessageBoxTabControl"> <TabControl.ContentTemplate> < ... get a reference to my ListBox? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
454 views
1 answer
    I created a shortcut from the application .EXE in Visual Studio Installer, but the resulting shortcut did not have the option of "Run as Administrator ... as Administrator" option enabled on right-click? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
698 views
1 answer
    I have a WPF ListView that I'm trying to apply a custom style too... primarily I want to make the background of the listview box transparent ... > </DataTemplate> </ListView.ItemTemplate> </ListView> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
575 views
1 answer
    i have a problem whenever i Refresh the prograss bar i get the error The calling thread cannot access this object because a different thread owns it ... ); worker2.ReportProgress((int)percentageDone); };` See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
359 views
1 answer
    Please check the attached image. I made the textblock origin to it's center by RenderTransformOrigin="0.5,0.5". Now I would like to move ... TranslateTransform, but this case I need absolute transform. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
632 views
1 answer
    i have user control that contain grid and inside it there is expander the problem is when i try to open new window that uses this user control i get an ... > </GroupBox> </Grid> </Grid> </UserControl> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
456 views
1 answer
    I turned an Horizontal ItemsControl to a Listbox so that I am able to select individual items but found that the selection was broken. Took some time ... when list items are strings (value type semantics) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
532 views
1 answer
    I have an ObservableCollection<object> Let's consider we have 2 items in it : int a = 1; string str = "hey!"; My xaml file acces to it via ... in my TextBlocks is : int string Thanks for any help ! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
677 views
1 answer
    I was wondering how you get the DataGridComboBoxColumn to display the selected item text when it is not in editing mode? And ... > </DataGridComboBoxColumn.EditingElementStyle> </DataGridComboBoxColumn> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
455 views
1 answer
    I have a ListBox which I need to gray out when it's disabled. Per user request it's not enough to disable it, but it also has to appear differently ... how to accomplish my task, I'd appreciate the help. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
902 views
1 answer
    I have data comming back from web service in the form of a ObservableCollection<string> I want to bind the collection to a read-only TextBox so that ... ) { throw new NotImplementedException(); } } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to Jonic Developer Community for programmer and developer-Open, Learning and Share
...