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

Gotcha: .NET Point and PointConverter inconsistency in string format used
22 Νοεμβρίου 13 01:47 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I have submitted the following issue to Microsoft Connect (product feedback center): http://connect.microsoft.com/VisualStudio/feedback/details/809084/point-class-issue-with-two-way-databinding Point class issue with two-way databinding   In Silverlight, when using databinding code like the following: <StackPanel Orientation="Vertical" Name="propPosition">     <sdk:Label Style="{StaticResource PropertyLabelStyle}" Content="Position:" Target="{Binding ElementName=edPosition}" />      <TextBox Name="edPosition" Text="{Binding Position, Mode=TwoWay, ValidatesOnExceptions=True, NotifyOnValidationError=true}" /> </StackPanel> and binding (via DataContext) to […]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,
HowTo: Scale control arround its center using a render transform
15 Αυγούστου 12 07:02 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
In the context of ClipFlair development, I was recently adding independent scaling (zooming) functionality to its ZUI container’s floating windows (apart from the container zooming functionality) and came across some strange behavior, where the windows seemed to also move apart from getting scaled. After banging my head a bit I decided to take a closer [...]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
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 [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , , ,
What to do if Generic.xaml doesn’t get loaded for WPF control
10 Ιουνίου 12 05:26 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Just came across http://wangmo.wordpress.com/2007/09/27/themesgenericxaml/ which gave me a hint on why a WPF control wasn’t getting instantiated correctly when loaded from an external assembly (dll): to load generic.xaml for WPF, at the start of Properties\AssemblyInfo.cs you need (note this isn’t used/needed in Silverlight): using System.Windows; and at the end of Properties\AssemblyInfo.cs you need: [assembly: ThemeInfo( [...]
Δημοσίευση στην κατηγορία: , , , , , ,

Search

Go

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

Συνδρομές