Rozdíly
Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
Následující verze | Předchozí verze Poslední revize Obě strany příští revize | ||
programovani:wpf [26.06.2010 00:06] wladik created |
programovani:wpf [16.03.2012 10:18] wladik |
||
---|---|---|---|
Řádek 2: | Řádek 2: | ||
* Priority depprop: [[http://www.informit.com/articles/article.aspx?p=688529&seqNum=2]] resp. [[http://msdn.microsoft.com/en-us/library/ms743230.aspx]] | * Priority depprop: [[http://www.informit.com/articles/article.aspx?p=688529&seqNum=2]] resp. [[http://msdn.microsoft.com/en-us/library/ms743230.aspx]] | ||
* Binding [[http://www.codeproject.com/KB/WPF/GuidedTourWPF_3.aspx]] resp. [[http://msdn.microsoft.com/en-us/magazine/cc163299.aspx]] | * Binding [[http://www.codeproject.com/KB/WPF/GuidedTourWPF_3.aspx]] resp. [[http://msdn.microsoft.com/en-us/magazine/cc163299.aspx]] | ||
+ | * WPF depprop z jinych vlaken cteni/zapis: [[http://www.insystusa.com/Blog/2009/04/27/ThreadSafeDependencyProperties.aspx]] | ||
+ | * Properties a Binding na ne [[http://www.hanselman.com/blog/LearningWPFWithBabySmashConfigurationWithDataBinding.aspx]] | ||
+ | * Image.Source z kodu [[http://social.msdn.microsoft.com/forums/en-US/wpf/thread/01e66fc4-427f-40fd-96e1-b2a68df3d85a/]] | ||
+ | ===== XAML ===== | ||
+ | |||
+ | Obrázky v ručně čteném XAMLu jako Resource, a v kódu nastavit Application.ResourceAssembly na assembly která resource obsahuje. | ||
+ | |||
+ | ===== ActualWidth je nulový ===== | ||
+ | That this is due to the fact that the measure and arrange pass has not executed yet. However, rather than force another layout pass (expensive), you can just wait until your control has loaded before accessing the ActualXxx properties: | ||
+ | |||
+ | public MyWindow() | ||
+ | { | ||
+ | Loaded += delegate | ||
+ | { | ||
+ | // access ActualWidth and ActualHeight here | ||
+ | }; | ||
+ | } | ||
+ | |
programovani/wpf.txt · Poslední úprava: 26.03.2015 16:55 autor: vm