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#

    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)"
  16. 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; } }...
  17. Complete

    How do you span columns in C#?

    Grid1.Children.Add(UserControl02); Grid.SetColumnSpan(UserControl02, 3);
  18. 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...
  19. 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"...
  20. 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...