Recent content by Complete

  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#

    I fixed this. <vc:Chart.AxesX> <vc:Axis ValueFormatString="MMM - yyyy" Padding="4" LineThickness="0" IntervalType="Months" Interval="1"/> </vc:Chart.AxesX>
  12. 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...
  13. 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#?
  14. Complete

    I have a regular expression question...

    According to: Regex Class (System.Text.RegularExpressions) I have gotten some results like this: string pattern = @"\(#\d+\)"; Regex rgx = new Regex(pattern, RegexOptions.IgnoreCase); MatchCollection matches = rgx.Matches(interesting_string); But I do not know what to do with the matches...
  15. 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)"
Back