User Profile
Collapse
-
yeah thanks for the tip with the red outline... looks great! thx :) -
hi Frinny!
It works!!!!! Thx for your quick response. I like XAML :)
But the OnTextChanged dont work. In Visual Studio it is TextChanged="in put_QTY_TextCha nged"
thanks a lot!
Nice greets
MathiasLeave a comment:
-
check datagrid.columns value - template
Hello!
I have a question.
I have a DataGrid with 3 columns binding (Article Quantity,Blocke d Quantity & a template named Input quantity). i want to check the input QTY value.
for example:
Article QTY = 100
Blocked QTY = 50
I want to input the input QTY, but the maximal value of the input QTY mustn't be over 50 because Article QTY - Blocked QTY is the maximal Value. How can I check...Last edited by Frinavale; Jan 24 '13, 02:23 PM. Reason: Fixed grammar (capitalization if "I" and capitalization of the first letter proceeding a ".") -
now i tried your second post and it work!
thank you for your help!!!!!Leave a comment:
-
Hi!
I try the first post (because I'm new in WPF) but it doesn't work... the propertydoesn't work?!Code:<Setter Property="Visibility" Value="Visible" />
i try another Propertyand it works... All other Properties work, but i don't know why the Property "Visibility " doesn't work...Code:<Setter Property="IsEnabled" Value="false"/>
Leave a comment:
-
ok now i have a solution for the checkbox to save something in database... i only add Click="CheckBox _Click"
Code to go in a sub :)
...Code:<DataGridTemplateColumn Header="geprüft"> <DataGridTemplateColumn.CellTemplate> <DataTemplate> <CheckBox Name="chk" Content="{Binding Path=geprüft}" IsChecked="False" IsThreeState="False"Leave a comment:
-
Hello Frinny,
Thank you for your response! i try to do that... and hope it works.
But i think you don't understand what i need. (because my english is not so good)
1) I only want to see the checkbox when status = 4
If status = 3 or status = 2 or status = 1 then Hide the checkbox in the Row. (only visible on status = 4)
2) If i checked the checkbox in the row with status 4 i want...Leave a comment:
-
WPF Datagrid - 1st Row show checkbox, 2nd Row Hide Checkbox,...
hello! Its me again. I hope somebody can help me!
I don't know if it is possible but i hope so...
i have a datagrid with 2 Columns:
1 Column is a checkbox (template)
...Code:<DataGridTemplateColumn Header="geprüft"> <DataGridTemplateColumn.CellTemplate> <DataTemplate> <CheckBox Name="chk" Content="{Binding -
yeah that is what i need!!!! many thx Frinny for your example!!!! It works fantastic!!!Leave a comment:
-
Change the Background Color of the DataGridRow using DataTriggers
Hello!
i have a problem. I have a WPF Datagrid (.net 4) binding with 10 columns. the last column is binding with Status. Now i want to set the row colour to green if status = 4 or red if status = 3
can somebody help me... i only found this XAML Code but this is only for one cell.
...Code:<DataGridTextColumn.ElementStyle> <Style TargetType="{x:Type TextBlock}"> <Style.Triggers>Last edited by zmbd; Nov 14 '12, 01:34 PM. Reason: [Z(Please use the <CODE/> button to format posted code)]
No activity results to display
Show More
Leave a comment: