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

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: load CaptionElements into Silverlight Media Framework player
03 Σεπτεμβρίου 12 03:38 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Trying to make CaptionsGridWindow of ClipFlair serve captions editing on-the-fly to SMF (Silverlight Media Framework [now called MMPPF]) player component, I had a real hard time, plagued by a bug at TimedTextElementStyle. It seems to be setting default FontSize for captions using a “Cell” unit instead of using a “Pixel” unit. Currently SMF only supports [...]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
VB gotcha: when If function isn’t equivalent to an If-Then-Else block
25 Νοεμβρίου 11 01:07 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Just got bitten by the following: Dim takeN As Integer = If(Integer.TryParse(EdTake.Text, takeN), takeN, itemsCount) I had used that instead of writing in 2 lines: Dim takeN As Integer If not Integer.TryParse(EdTake.Text, takeN) then takeN = itemsCount However, there’s an important difference: “If” is a function, so its arguments are evaluated at call-time. The “If” [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , , ,

Search

Go

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

Συνδρομές