Skip to main content
Filter by
Sorted by
Tagged with
-2 votes
1 answer
94 views

I would rotate my icon using a datatrigger: <Canvas ClipToBounds="True" Margin="0,0,0,0" Width="27" Height="27" HorizontalAlignment="Center"> ...
user avatar
0 votes
1 answer
51 views

I have two CheckBoxes in XAML. When the first one is unchecked, I want the second one to be unchecked. But when the first one is checked, I don't want anything to happen with the second one. I also ...
Craig W's user avatar
  • 4,560
0 votes
2 answers
146 views

Pretty new to MAUI dev. I have a situation in my MAUI app, where I need to change the text color of MANY labels based on a bool. So if the bool is true I want many of the labels to switch from white ...
Adam B's user avatar
  • 3,946
0 votes
1 answer
71 views

My project looks like this: TaskClass.cs: namespace Library.TaskClassDirectory; public sealed class TaskClass : INotifyPropertyChanged { public TaskClass( TimeSpan plannedLaborCost, ...
Zhan's user avatar
  • 13
-1 votes
2 answers
89 views

I'm trying to find an answer to this question (listbox items showing either a checkbox or a radio button depending on a view model property), I came across a very weird behavior. If I use DataTrigger ...
Daniel Möller's user avatar
0 votes
1 answer
37 views

I need to begin a loop rotation on my ImageBrush, which is a style of an Ellipse control: <Ellipse x:Name="ellStatus" Width="14" Height="14" Stroke="#000000" ...
user avatar
0 votes
1 answer
365 views

I am working on a project where I have a PowerShell driven UI that has a Treeview list with one selection. I have that code working just fine following this blog PowerShell WPF - Customize TreeView ...
powershellcrack's user avatar
1 vote
2 answers
61 views

I'm trying to write an application that is collecting settings from a remote endpoint and compares them in a DataGrid. These units can have different number of settings depending on which software ...
nilsakesson's user avatar
0 votes
1 answer
2k views

I need help clarifying some concepts about trigger to pipeline relationship. So, I created a test pipeline where by activity name it is clear what it does Sets the time now to @utcnow() Start time - ...
Dmitriy Ryabin's user avatar
0 votes
1 answer
1k views

Please help me with changing the PackIcon in badged button nested in DataGrid.Columns. I have a DataGrid, which has one column filled with material design badged objects with button contents set as ...
user22157519's user avatar
0 votes
0 answers
234 views

I am trying to convert XAML to equivalent VB.Net code. I am unable to figure out how to add Combobox to DataTrigger. <Style x:Key="SystemFieldsCellValuePresenter" TargetType="...
Ankith's user avatar
  • 157
-2 votes
1 answer
155 views

I'm using C# WPF and have a Animation Style for the Border that is inside of a Grid that raise on MouseEnter event <Style x:Key="Atash" TargetType="Border"> <...
Mojtabah's user avatar
1 vote
1 answer
153 views

How would I properly bound to ItemsSource column via Dependency property of control (Datagrid), in order to set It's DataTrigger working? My goal that works without dependency property: <Style ...
Lucy82's user avatar
  • 693
0 votes
1 answer
122 views

I have 40+ checkboxes that are each within a separate grid on a view. The purpose for this is so I can easily set the background of the grid to yellow based on a certain condition. The snippet of code ...
A.Langstaff's user avatar
0 votes
1 answer
229 views

I'm trying to do a simple example of a datatrigger programmatically in C# and don't get how it works. The datatrigger in XAML would work but I need it in C#. The rows in the datagrid should change ...
Louise Delgado's user avatar
1 vote
1 answer
300 views

I have a simple application: There's a DataGrid, and every time the user adds a new row and finished editing, the row turns yellow. In the background a thread tries to save the data and if this worked,...
Chris's user avatar
  • 60
-1 votes
1 answer
581 views

I want to make a chess game in WPF, I decided to use listview to display my fields. I have a class named Field with properties. I have a list containing 64 fields and i changed to style of my listview ...
freasy's user avatar
  • 11
-1 votes
1 answer
62 views

I would like to make a custom button control which can be change with an enum property that assigned on main call. So i have implemented additionally an animation activation to this switchable button ...
alican yildiz's user avatar
-1 votes
1 answer
534 views

I've got a Datagrid with 3 columns. Now i want to change the highlight of the row conditionally. like: if the value in column 2 is greater than XX change row color to Red. I've already tried something,...
Dario.Casciato's user avatar
0 votes
0 answers
331 views

I have a WPF application where I need to use Tab Control. In my Tab Control I have total three tab items. Here my MainWindow.xaml code : <Grid> <Grid.RowDefinitions> &...
MERUN KUMAR MAITY's user avatar
1 vote
1 answer
486 views

In a WPF ListView I have 3 columns (GridViewColumns). The first column is auto-incremental (1, 2, 3, and so on). The second one is simply a string and the last column contains 3 buttons, delete, move ...
Willy's user avatar
  • 10.8k
0 votes
1 answer
1k views

I have a WPF application and the content of should be displayed in German and English. Therefore, I created two seperate resource dictionaries which contain string snippets in each language. It is ...
ForzaJuve's user avatar
0 votes
2 answers
557 views

I have a problem with ListBoxItem and DataTrigger. I want to change the Background color of my Chip item when the chip item is clicked with the mouse. I think the problem is in this line of code <...
Rafal 's user avatar
  • 91
1 vote
0 answers
272 views

I have a DataGrid which features a CombBox column and an Item column. The drop down is a CollectionView with "START" and "NONE" in. If "START" is selected then a command ...
jimbo's user avatar
  • 621
0 votes
1 answer
410 views

I have a DataGrid. There are 12 columns in the DataGrid. Each of these columns represents byte values between 0-255. I want to colorize them depending on the ranges that the user enters. I don't know ...
Ozgur Saklanmaz's user avatar

1
2 3 4 5
18