Παρουσίαση με Ετικέτες

Fix: The tag ‘TimeUpDown’ does not exist in XML namespace (Silverlight Toolkit)
14 Ιουλίου 12 07:59 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
If you use TimeUpDown control from Silverlight Toolkit in your XAML like below (copy pasting from CaptionGrid at ClipFlair source): <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" > <DataTemplate x:Key="StartTimeCellTemplate"> <TextBlock Margin="4" Text="{Binding Begin}" /> </DataTemplate> <DataTemplate x:Key="StartTimeCellEditTemplate"> <!-- <TextBox Margin="4" Text="{Binding Begin, Mode=TwoWay, ValidatesOnExceptions=True, NotifyOnValidationError=true}" /> --> <input:TimeUpDown Format="hh:mm:ss" Value="{Binding Begin, Mode=TwoWay, ValidatesOnExceptions=True, NotifyOnValidationError=true}" /> </DataTemplate> … </ResourceDictionary> [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , , ,
HowTo: Load a XAML ResourceDictionary from a .NET assembly
11 Ιουνίου 12 07:08 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Copying here my answer at: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/11a42336-8d87-4656-91a3-275413d3cc19 What seems to work for me is the following (copying from the source code of http://ClipFlair.codeplex.com [currently under development]) note I’m using Build Action = "Page" and Custom Tool="MSBuild:Compile" at the properties of Themes\DropDownTheme.xml and Themes\RotateHorizontalTheme.xaml, as was for Themes\Generic.xaml. Seems to work OK (probably this is faster at [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , , ,

Search

Go

Ιστορικό Δημοσιεύσεων

Συνδρομές