Search results

  1. Complete

    Arrows in a XAML table

    I want to put little arrows inside a DataGrid to mimic the kind of display shown in this Excel file: But the XAML code defines individual columns instead of individual cells: <data:DataGridTemplateColumn Header="Prev. Mo. Trend" IsReadOnly="True">...
  2. Complete

    While debugging in C# / Silverlight, how does one output validation code to the outpu

    While debugging in C# / Silverlight, how does one output validation code to the output window?
  3. Complete

    How RowDefinition in XAML works?

    I want to understand how RowDefinition in XAML works. Is the Height label a percentage or a pixel size?
  4. Complete

    RadiantQ

    Like many programmers, I back up the software I am coding into a version control system. But this is not the problem I am having. Another coworker has gotten my source code and has tried to rebuild the project. And so here, I uncover an issue. I got some open source control from RadiantQ that...
  5. Complete

    Date Time Format in C#

    How do I get a dattime format in C# that will look like this: 2011-09-01 00:00:00:000
  6. Complete

    I have a question about Silverlight on the Client Side.

    I have a question about Silverlight on the Client Side. Silverlight is designed differently where it is not possible for a silverlight program running inside a browser can have access to a user's hard drive. This is a good thing and is important for security. But there are times when it...
  7. Complete

    TextBlock wrapping of text in Silverlight XAML file.

    TextBlock wrapping of text in Silverlight XAML file. I have a wierd and annoying problem. I have a textblock that is inside a stackpanel that is Oriented horizontal. It would be nice if I could have the textblock appear in multiple lines nicely wrapped. How could I do that?
  8. Complete

    How do you make repeatable backgrounds for things in XAML?

    How do you make repeatable backgrounds for things in XAML? Back when I was working with HTML, I remember having bitmaps as backgrounds for either a page or for an area. Now I find I want this same sort of thing in my XAML page for Silverlight. How do I do that? How do I make it repeatable...
  9. Complete

    Please tell me what this silverlight warning message means.

    Please tell me what this silverlight warning message means. Warning 1 For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method. What do I do to fix this...
  10. Complete

    C# float.parse

    if I have a float number, like, 0.532492829839, for example and I want it represented in C# code as "53.24%", how would I do that? I imagine it would be done using IFormatProvidre and float.parse. But I have not done it before.
  11. Complete

    DateTime Data Problems in Silverlight and C#

    DateTime Data Problems in Silverlight and C# Hello Forum. I am using VISI Fire in Silverlight and C# to produce some data charts. One style of chart allows stacked data to be displayed in colums the xaml code I am using looks like this The chart i am trying to build is based on a visi fire...
  12. Complete

    what is a tinyint in C#?

    what is a tinyint in C#? SQL has its own datatypes. But a small int in SQL translates to an Int16 in C#. But there is no such thing as Int8 in C#. So what is a tiny int in C#?
  13. Complete

    I have a regular expression question...

    I have a regular expression question... How would I use regular expressions to remove the contents in parenthesis in a string in C# like this: "SOMETHING (#2)"
  14. Complete

    changing a character in a C# string

    changing a character in a C# string suppose I have created a string in C# and I want to change the last character to a blank. private static string sOldMassiveOutput; public static string oldmassiveoutput { get { return sOldMassiveOutput.Trim(); } set { sOldMassiveOutput = value; } }...
  15. Complete

    How do you span columns in C#?

    How do you span columns in C#? In silverlight, suppose you have a grid, and this grid is in 3 columns. and you want to add a UserControl to this grid but you want it to span all three columns. How would that C# code look like? Grid1.Children.Add(UserControl01); But then what...
  16. Complete

    Silverlight Border FAIL !!

    Silverlight Border FAIL !! I have a border in XAML code that is defined right after that main canvas: <Canvas xmlns="Error" ... VerticalAlignment="Top" HorizontalAlignment="Center"> <Border x:Name="JohnnyBorder" BorderThickness="1" Margin="0,0,0,0" BorderBrush="#FF677B8B"...
  17. Complete

    How is IXRTextBlockPtr used?

    How is IXRTextBlockPtr used? I have a XAML file that is made by Expression Blend. But the Silverlight project that corresponds to it has to be in C++ instead of C# (it has something to do with being part of an embedded system). The automatically gernerated C++ code referrs to the TextBlock...
  18. Complete

    Why Can't I see XAML in Design Mode?

    I have inherited source code from a project. I am trying to decypher how it all fits together. It uses XAML. The problem is that when I open the XAML files, Visual Studio 2008 does not display it in Design Mode, and when it shows the file in text form, many of the elements seem to be...
  19. Complete

    How can I programatically get internet traffic from a web site in C# or C++?

    How can I programatically get internet traffic from a web site in C# or C++? I mean, how can this be done without opening up a browser or a broswer control? Additionally, there is some sort of plugin to a browser in IE and others where you can watch the communication from a browser to a...
  20. Complete

    How do you convert an integer to two bytes in C#?

    How do you convert an integer to two bytes in C#? I have googled around but no answer really works. At least none I found.
Back