converter

How about M4V Converter Plus? Anyone use it?

How about M4V Converter Plus? Anyone use it ![alt text][1] ...

XAML: Can I refer to a Grid row or column by name?

If I name each row and column in a grid, can I set a control's grid.row="Row_Top"? I have defined StaticResources to refer to it but is there a converter or some other method to accomplish this without the resource? ...

Do I always have to write a converter for date-formatting?

I often use textboxes in my wpf-projects which are bound to datetime-propertys. I want to format the dates into the german format dd.MM.yyyy. Currently I do this with a self-written converter, which I can give the needed dateformat. For example like this: <TextBox Name="Date" Text="{Binding RelativeSource={RelativeSource Mode=FindAnces...

Problem with binding in converter in silverlight custom control

Hi, i got some xaml here and what i m trying to do it's simply bind a property call Property (not the real name) on the width of a rectangle and to convert the value of this property with the converter name Conv and it's working perfectly with {TemplateBinding Property} or DataContext={TemplateBinding Property} or with a relative source ...

InvalidCastException in converter

This is my class that implements IValueConverter: [ValueConversion(typeof(int), typeof(Priority))] public class PriorityConverter : IValueConverter { #region IValueConverter Members public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { return (Priority) (int) value; } ...

IValueCOnverter Not Working

Hi There, Been googling this problem for hours, and cannot see where I am going wrong. I have the following converter which just returns Brushes.Red(have tried Colors.Red) as well but still no luck. public class ColorConverter : IValueConverter { private static ColorConverter instance = new ColorConverter(); public static Colo...

markdown/(X)HTML to BBCode converter python module

Is there any (X)HTML to BBCode coverter python module out there? I'd like to migrate my website forum from markdown to BBCode but I didn't found out any simple way. One option is to convert the markdown text to (X)HTML using the built in django markup module and then convert it again to BBCode. Well, I realized that find a (X)HTML to BB...

WPF ColorAnimation for a Brush property

Hi, I wonder if someone can help me - I've got a label which I need to be able to cross-fade between any 2 colors when a method is called in the code behind. My best attempt so far: Private OldColor as Color = Colors.White Sub SetPulseColor(ByVal NewColor As Color) Dim F As New Animation.ColorAnimation(OldColor, NewColor, New Dura...

JSF Float Conversion

I'm using JSF 1.2 with IceFaces 1.8 in a project here. I have a page which is basically a big edit grid for a whole bunch of floating-point number fields. This is implemented with inputText fields on the page pointing at a value object with primitive float types Now, as a new requirement sees some of the fields be nullable, I wanted to...

Binding a Converter to background border in order to alternate background listviewitem

Hi! I want to alternate the background of the listviewitems by binding a converter to the background border of each listview item. listview.xaml: <l:cBackgroundConvertor x:Key="myConverter"/> <Style x:Key="{x:Type ListViewItem}" TargetType="ListViewItem"> <Setter Property="SnapsToDevicePixels" Value="true"/> <Setter Propert...

Is there a tool to convert php built-in functions to c implementation?

I'm curious about how some built in functions are implemented,but it's very time consuming to look it up directly in the source,is there a tool that can automate this? EDIT Or is there a tool that can debug into the c code that's actually executed? ...

Are there any automatic converters to move jmx files from jmeter 2.1.1 to 2.3.4?

We're upgrading our fairly old version of jmeter and would like to avoid re-authoring the many many scripts we've built. I've noticed that the jmx file is stored in xml format. Are there any xsl's or automatic converter apps that can help us automatically update the majority of the definition and highlight parts where jmeter has change...

Conversion from JavaScript to Python code?

Is there a relatively quick program out there to accomplish at least the basics of this? Just a few regexes? I'm willing to do some manual conversion, but this is a pretty big set of scripts. ...

JSF Convert dates for title attribute

I need to put a date into the title attribute of an image so that it displays when the user puts the mouse over. Problem is I would like to change the date format. Any ideas? <ice:graphicImage value="bean.image" title="#{bean.date}"/> ...

Is it possible to supply a type converter for a static resource in WPF?

I have a newbie WPF question. Imagine my user control has a namespace declaration like this: xmlns:system="clr-namespace:System;assembly=mscorlib" And I have resources for the user control like this: <UserControl.Resources> <system:Int32 x:Key="Today">32</system:Int32> </UserControl.Resources> And then somewhere in my user cont...

C# .dcm(dicom) file converter

Hi, I would like to know if there's some library or API to convert a .dcm file to something more common? we are using c#, so the library or API needs to support this language. please... ...

Convert YAML to XML in Ruby?

Are there any scripts out there, or have any of you built a tool, to convert YAML to XML using Nokogiri? If not, any suggestions or samples? ...

How to convert between different currencies?

Hey there, this is part of a question i got in class, im at the final stretch but this has become a major problem. In it im given a certain value which is called the "gold value" and it is 40.5, this value changes in input. and i have these constants const int RUBIES_PER_DIAMOND = 5; // relative values. * const int EMERALDS_PER_RUBY ...

Is there any free g729 or g711 converter?

Hi all. I need converter to convert G729 or G711 files to wav,wma,mp3 or any other format witch can play for example Windows Media Player. ...

custom converter in XStream

Hi All, I am using XStream to serialize my Objects to XML format. The formatted xml that I get is as below: node1, node2, node 3 are attributes of pojo,DetailDollars DetailDollars node1 100 /node1 node2 25 /node2 node3 10 /node3 /DetailDollars I have requirement where...