|
Hi All,
I have a wpf usercontrol listview with checkboxes.
When I sort items on this listview by clicking any of the column of the listview, the checkboxes will be unselected.
I am using ListCollectionView's cutomsort property.If I have selected more than two items then after sorting
only one item will be selected and remaining checkboxes will be unselected.
I am fully confusion who is making them to unselect the checkboxes after sorting.
Can any one can help me for solving this issue?
|
|
|
|
|
Cold we see the code that does the sorting, and I assume that the checkboxes are binded no?
|
|
|
|
|
Hi yes checkboxes are binded.
|
|
|
|
|
Hi, i'm trying to make a menu toggle (WPF), jquery animate toggle mouseOver mouseOut, but i can not. Where should i start ?!!
tnks.
I used
ThicknessAnimation
modified 31-Jul-13 18:37pm.
|
|
|
|
|
You will need to restyle the menu control to suit your needs (xaml equivalent of CSS).
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
<pre lang="asm">hi i am developing wpf application using mvvm pattern.
My question is --- in my view i have a button .if i mouse enter on that a pop will show list of applications sharing with other users(i am hard coding that with 10 strings) . my requirement is i have 10 items in popup. by default on starting of application . the first item should be isenabled =false,opacity=0.4,foreground=white and remaining items isenabled= true and opacity=1,foreground=white and if click on other items (means from 2-10) the first item foreground should be red and opacity=1,isenabled=true, and later if user clcik on first listboxitem the first listbox item should change to foreground =white,opacity=0.4,isenabled-false. if possible can any budy share some working solution!!!</pre>
|
|
|
|
|
We have an application made in WPF were the main page has the "topmost" property set to true. It is a business requirement that this app runs on top of each others.
When running it alone it works as expected.
When running it in combination with a Task Manager as "Allways on top" set with focus on WPF app still fine.
Once you switch from the WPF app to focus the Task Manager, the WPF goes behind Task Manager (would expect that as well)
But, when you switch to another after that operation (an open Excel sheet for example), the WPF app disappears behind the Excel.
This is only after updgrade to Windows 7. On XP worked just fine.
Any idea would be welcome.
The signature is in building process.. Please wait...
|
|
|
|
|
So 2 apps set to "Always On Top" negate each other or is it just after you open Task Manager. Does Task Manager also get demoted or just your WPF. I suspect you are running up against some undocumented feature on the Task Manager - like that never happens!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I open Task Manager (the WPF is always running). Task manager remains on top, WPF doesn't. Strange thing that on XP it worked..
The signature is in building process.. Please wait...
|
|
|
|
|
I just tried this on Windows7 with a WPF app and it stays on top all the time, regardless of whether Task manager is running.
Use the best guess
|
|
|
|
|
Looks like a strange internal policy we have on the new Windows 7 images. Probably it allows just one app to stay on top. Looking with System Admins now.
Thanks for trying.
The signature is in building process.. Please wait...
|
|
|
|
|
I am new in silverlight and I know how to add 1 object of silverlight which is from mainpage.xaml to aspx pages but for example if I have another xaml like mypage.xaml and I want to add both xaml to the page what should I do?
|
|
|
|
|
When you add a SL page to an aspx (or any web page for that matter) you are adding the Silverlight runtime object. You never inline the xaml page itself (unless, of course, you want to show the xaml). The SL runtime object embeds just like any other active object... flash for example... but you pass in the URL of the xap the object should load.
If you want two SL apps on a page, just add a second SL runtime object to the page and point it to a 2nd xap.
If you want two pages in your one SL app, you need to look up page navigation in Silverlight. That is an SL function... not an aspx issue.
|
|
|
|
|
Using WPF, I have a datagrid, databound to a observable collection/collectionviewsource.
Say my grid has only 1 column ("NAME").
How can I make sure I only populate the grid with NO duplications.
I've looked at multivalue converters... validationRules.
Either way, I don't know how to display values with no duplications.
Any assistance would be GREATLY appreciated.
Thanks
<DataGrid.Columns>
<DataGridTextColumn Header="Market">
<DataGridTextColumn.Binding>
<MultiBinding Converter="{StaticResource ResourceKey=myConverter}">
<Binding Path="tMarketName" UpdateSourceTrigger="PropertyChanged">
<Binding.ValidationRules>
<local:UniqueNameValidation CurrentCollection="{StaticResource ResourceKey=ViewSource}"/>
</Binding.ValidationRules>
</Binding>
<Binding RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType={x:Type DataGrid}, AncestorLevel=1}"/>
<Binding Path="."/>
<Binding Source="{StaticResource ResourceKey=MyData}"/>
</MultiBinding>
</DataGridTextColumn.Binding>
</DataGridTextColumn>
|
|
|
|
|
Consider changing your presentation style to include a group! You would then be using a control as designed rather than trying to hack it into a custom layout.
Group name data data data
data data data
data data data
Group name data data data
to
Group name
data data data
data data data
data data data
Group name
data data data
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
what do you think about taking my original xml source... running LINQ to yield certain results.. then binding to those results?
|
|
|
|
|
i want rowheight 25
i can increase row height but is not perfectly
how can i increase perfectly?
img link - > [Like this]
<Setter Property="RowHeight" Value="25" />
plz....
modified 23-Jul-13 4:58am.
|
|
|
|
|
I dont think you can set the number of pixels in WPF or Silverlight, but you can set the height in cm and in etc.
|
|
|
|
|
my explanation is wrong.
trans 1
The contents of the row in, some to keep still, even if you specify the height
trans 2
Specifying the height of the row in the content still there
english very hard
|
|
|
|
|
I think you can go to 1 decimal place in the xaml settings, fails on 2 decimal places!
<setter property="RowHeight" value="25.3">
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I have a datagrid in which i used textbox in one cell and combobox in editing of that cell.
m wanna tht as i write something in that textbox combobox will show the related contents from database .
can anyone tell me how to do it
|
|
|
|
|
|
Use textbox's TextChanged event for this.
|
|
|
|
|
Seem the problem is related as mine, perhaps I have a problem on my Combobox. I cannot get the value from database according to the data i choose.
example of my database:
Column "Planing" are my combobox.
|
|
|
|
|
Is it possible to use handler files in Silverlight.
If yes, please suggest how.
My Reading-o-Meter
Previous -> Read "CLR via C#" by Jeffrey Richter.
Current -> Exploring WCF thru Apress' "Pro WCF" by Chris Peiris and Dennis Mulder.
Next -> Need to read "The Art of Computer Programming" by Donald E. Knuth.
My blog - My recent article
|
|
|
|