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

HowTo: Clear contents of Silverlight’s RichTextBox control
23 Νοεμβρίου 12 12:12 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Was just debugging an issue with loading of saved state at ClipFlair’s Text component, when I realized that Silverlight’s (and WPF’s) RichTextBox control doesn’t accept an empty string at its Xaml proprerty to clear its contents as one would expect. Instead clearing the contents of the RichTextBox requires a call to Blocks.Clear(). In ClipFlair’s case, [...]
Δημοσίευση στην κατηγορία: , , , , ,
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 [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , , ,
How to space StackPanel items in XAML (has no Padding property)
11 Ιουλίου 12 01:34 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
While adding some properties to the back panels of ClipFlair windows, I came upon the issue of how to space items in a StackPanel. A Padding property is missing from multiple item containers (only single content controls have such), but a nice solution is described at: http://stackoverflow.com/questions/932510/how-do-i-space-out-the-child-elements-of-a-stackpanel Sergey Aldoukhov suggested there (WPF example): Use Margin [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,

Search

Go

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

Συνδρομές