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

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: Bind ASP.net control to list of files or folders
15 Ιουλίου 13 03:33 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
At from ClipFlair Gallery metadata input pages for Activities and Clips I had to bind an ASP.net control to a list of files and folders respectively and although I found a Folder Contents DataSource control, it didn’t cover my needs (like filtering of a folder contents). I just contributed my solution using .NET Anonymous Types and […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , ,
Fix: Silverlight Media Framework Player VolumeElement out of sync
11 Φεβρουαρίου 13 06:54 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I was just adding a storable (persistent) Volume property to the MediaPlayerView class used at ClipFlair’s MediaPlayerWindow (connected to the underlying SMF player’s VolumeLevel property), when I realized that after reloading saved state, the SMF player’s Volume control would show a different value than the value set to it (which I could confirm by flipping [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,
HowTo: Bind cell to row data in DataGrid DataTemplate for MVVM control
25 Νοεμβρίου 12 11:40 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
When using MVVM design style for a Silverlight or WPF control, it is common to use the control’s DataContext to keep the associated ViewModel instance, so that in the XAML file for the control one can use simple binding statements from the UI to the view model (and back if TwoWay binding mode is specified) [...]
Δημοσίευση στην κατηγορία: , , , , , , ,
HowTo: Bind to a DataContext property named Source in XAML
14 Αυγούστου 12 03:27 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
While refactoring ClipFlair code to use MVVM (Model-View-ViewModel) pattern, I came across the XAML error “Object reference not set to an instance of an object.”, shown in Visual Studio when trying to bind to my ViewModel (accessed implicitly, being set as the DataContext of the XAML control) for a property named Source. I have settled [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , , ,

Search

Go

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

Συνδρομές