Yeah same.
I couldn't use triggers as it's a data table built at run time, and not a collection of objects, so I was struggling to connect to a variable to kick off the trigger.
User Profile
Collapse
-
markmcgookin replied to Change colour of column header in WPF datagrid with autogenerated columns at runtimein XAMLFriv, thanks. That's what I ended up doing in the end. I used a multi-value converter and amended the names of the columns I needed to hilight as a trigger
Code:public class SkillsMatrixHeaderColourConverter : IMultiValueConverter { public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) { if (values[0] is DataGridColumnHeader) { if ((values[0]
Leave a comment:
-
markmcgookin started a topic Change colour of column header in WPF datagrid with autogenerated columns at runtimein XAMLChange colour of column header in WPF datagrid with autogenerated columns at runtime
Hi folks,
I have a WPF Datagrid in a WPF Project Window. I have populated the grid with a datatable, and autogenerated the columns (unfortunately a necessity) and have a requirement to change the header colour of the columns dependant on certain other factors.
I have a list of the coulmn names that need highlighted, and would easily be able to figure out their indexes based on this (as I generated them myself in the... -
lol np, just back from lunch and about to look at it for you.
Array in VB is probably static, and an ArrayList will grow in size, like a Vector.
Glad you got it sorted.Leave a comment:
-
John (Remember me? Saw this on fb and thought I would pop on and help)
So from what I gather, you are retrieving your string successfully from your database, but in sending in a SOAP packet you are running into an issue? Is that right?Leave a comment:
-
Visual Studio 2010
XCode (and leaks/profiler etc)
Various device simulators
Eclipse for Android.Leave a comment:
-
Using a tutorial to learn the basics of the language is your best bet. Something like this site
http://www.otierney.net/objective-c.html
Can be of use, but there are many out there. Then document each of the problems you have. i.e. How to connect to a web service, etc. Investigate each one of them and if you have any specific problems post in forums such as this for help....Leave a comment:
-
If you have WIFI access, you can simply add the PC to the domain that the SQL Server is on, and then just use a standard SQL Connection string to execute the queries.Last edited by markmcgookin; Oct 4 '11, 04:09 PM. Reason: Posted wrong answer... had too many tabs openLeave a comment:
-
This is difficult because a "numeric keypad" is a device specific thing.... There may be a way to mask the box so that it can only accept numbers, mobile OSs might be able to pick this up and only show a numeric keypad, but you'll need to refer to each OSs specific documentation to find out if this is possible and what the triggers for such a response would be.Leave a comment:
-
-
Yeah, that is a definite up side.
Rarely a drag and drop interface for Nokia products though... does QT have that?Leave a comment:
-
QT is C++ based though isn't it? As it's designed for symbian? ... That's gonna be a lot harder to pick up then C# .NetLeave a comment:
-
C# would be my thoughts. Possibly consider a C#/WPF project if graphics are going to be involved.
MarkLeave a comment:
-
Hmmm.... well I guess you need to figure out some way to automatically split the file into chunks, then download a chunk, play it, in a seperate thread download a second chunk, when the first one is finished play the second, delete the first, then download a third.
I can't say I have much expertise in the area, but as I mentioned it's a very interesting idea.
You could look at somthing server side like segmenter
...Leave a comment:
-
Well when you stream there is always a cache of at least a portion of the file on the device, and the more you cache the better the performance/quality of the video. This way there is less likely that the sucky data connection will ruin your user experience.
Have you researched this at all? It's an interesting idea, and it's clearly possible, as web sites etc stream video to mobile devices frequently.
Post here with any...Leave a comment:
-
No activity results to display
Show More
Leave a comment: