Rozdíly

Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.

Odkaz na výstup diff

Obě strany předchozí revize Předchozí verze
Následující verze
Předchozí verze
Poslední revize Obě strany příští revize
programovani:wpf [27.06.2010 10:42]
wladik
programovani:wpf [16.03.2012 10:18]
wladik
Řádek 5: Řádek 5:
   * Properties a Binding na ne [[http://​www.hanselman.com/​blog/​LearningWPFWithBabySmashConfigurationWithDataBinding.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/​]]   * 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